| От | Tom Lane |
|---|---|
| Тема | Re: Create index hanging |
| Дата | |
| Msg-id | 10143.1153433617@sss.pgh.pa.us обсуждение |
| Ответ на | Create index hanging (Claire McLister <mclister@zeesource.net>) |
| Ответы |
Re: Create index hanging
|
| Список | pgsql-general |
Claire McLister <mclister@zeesource.net> writes:
> We have a couple of tables (40,000 and 600,000 rows each) that I am
> trying to build an index on an integer column.
> When I issue the "create index foo_index on foo(id);" command in
> psql it just does not return. I've waited over half an hour for the
> smaller table.
It sounds like someone had a write lock on the table. Did you try
looking in pg_locks?
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера