| От | Martijn van Oosterhout |
|---|---|
| Тема | Re: Firebird and PostgreSQL at the DB Corral. |
| Дата | |
| Msg-id | 20031221132417.GA26760@svana.org обсуждение исходный текст |
| Ответ на | Re: Firebird and PostgreSQL at the DB Corral. (Jeff Davis <jdavis-pgsql@empires.org>) |
| Ответы |
Re: Firebird and PostgreSQL at the DB Corral.
|
| Список | pgsql-general |
On Sat, Dec 20, 2003 at 04:14:51PM -0800, Jeff Davis wrote: > > > > > > What, exactly, is a partial index? A functional index is an index on > > > something like ((ColumnX*2)/14)? I think the functional one (is that > > > also an expression index?) is on the way. > > > > A partial index is a index on a subset of a table. The case I can think of > > is a list of transactions, some of which are yet to be billed. They have a > > BillID field which is NULL. since this is the recent set it is queried quite > > often, so you can build an index like: > > > > Are NULLs even indexed? No, but with a partial index you can acheive the same effect. -- Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/ > (... have gone from d-i being barely usable even by its developers > anywhere, to being about 20% done. Sweet. And the last 80% usually takes > 20% of the time, too, right?) -- Anthony Towns, debian-devel-announce
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера