Re: Use of sequence rather than index scan for one text column on one instance of a database
В списке pgsql-performance по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Use of sequence rather than index scan for one text column on one instance of a database |
| Дата | |
| Msg-id | 24043.1253806493@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Use of sequence rather than index scan for one text column on one instance of a database (Bill Kirtley <bill@actbluetech.com>) |
| Список | pgsql-performance |
Bill Kirtley <bill@actbluetech.com> writes:
> For what it's worth:
> select xmin,* from pg_index where indexrelid =
> 'users_key_index'::regclass;
> xmin | indexrelid | indrelid | indnatts | indisunique | indisprimary
> | indisclustered | indisvalid | indcheckxmin | indisready | indkey |
> indclass | indoption | indexprs | indpred
> ------+------------+----------+----------+-------------+--------------
> +----------------+------------+--------------+------------+--------
> +----------+-----------+----------+---------
> 1006 | 15076176 | 17516 | 1 | f | f
> | f | t | f | t | 10
> | 10042 | 0 | |
Uh ... 'users_key_index'? What's that? What would actually be the most
useful is to compare the pg_index entries for the working and
non-working indexes (the ones on email and key).
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера