Partial indexes Vs standard indexes : Insert performance
В списке pgsql-general по дате отправления:
| От | MaXX |
|---|---|
| Тема | Partial indexes Vs standard indexes : Insert performance |
| Дата | |
| Msg-id | ebsa8k$2m1j$1@talisker.lacave.net обсуждение |
| Ответы |
Re: Partial indexes Vs standard indexes : Insert
Re: Partial indexes Vs standard indexes : Insert performance |
| Список | pgsql-general |
Hi, I just want to verify if I'm understanding this correctly: I have a table in which I store log from my firewall. For the protocol column (3 distinct values: TCP ~82%, UDP ~17%, ICMP ~1%, the table contains 1.7M rows), I use a partial index to find ICMP packets faster. In my understanding, a partial index is only touched when a matching row is inserted/updated/deleted (index constraint is true), so if I create a partial index for each protocol, I will slow down my machine as if I had created a single "normal" index, but it will find rows faster (the distribution is not uniform)... Is this correct? Thanks a lot, -- MaXX
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера