Re: How should we design our tables and indexes

Поиск
Список
Период
Сортировка
Искать
От
Karsten Hilbert
Тема
Re: How should we design our tables and indexes
Дата
Msg-id
ZciVAQKU9-mCH3Ua@hermes.hilbert.loc
Ответ на
Список
Дерево обсуждения
How should we design our tables and indexes veem v <veema0000@gmail.com>
Re: How should we design our tables and indexes Michał Kłeczek <michal@kleczek.org>
Re: How should we design our tables and indexes Greg Sabino Mullane <htamfids@gmail.com>
Re: How should we design our tables and indexes veem v <veema0000@gmail.com>
Re: How should we design our tables and indexes Greg Sabino Mullane <htamfids@gmail.com>
Re: How should we design our tables and indexes "Peter J. Holzer" <hjp-pgsql@hjp.at>
Re: How should we design our tables and indexes veem v <veema0000@gmail.com>
Re: How should we design our tables and indexes Greg Sabino Mullane <htamfids@gmail.com>
Re: How should we design our tables and indexes veem v <veema0000@gmail.com>
Re: How should we design our tables and indexes Greg Sabino Mullane <htamfids@gmail.com>
Re: How should we design our tables and indexes Karsten Hilbert <Karsten.Hilbert@gmx.net>
Am Sun, Feb 11, 2024 at 12:53:10PM +0530 schrieb veem v:

> >> Pagination is already a hard problem, and does not even make sense when
> > combined with "a continuous stream of inserts". What should the user see
> > when they click on page 2?
> >
>
> When the user clicks to the second page , it will see the next set of rows
> i.e 100 to 200 and next will see 200 to 300 and so on till the result set
> finishes.

Given a continuous stream of inserts "second page" or "next
set of rows" is undefined -- if you aim for live data,
because interleaving data may have been inserting while the
user inspected the first batch of results.

A "second page" is only defined in terms of "what the original
query returned on the first run".

Karsten
--
GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B


В списке pgsql-general по дате отправления
От: veem v
Дата:
Сообщение: Re: How to do faster DML
От: Laurenz Albe
Дата:
Сообщение: Re: How to do faster DML
FAQ