| От | Tom Lane |
|---|---|
| Тема | Re: dropping a master table and all of its partitions? |
| Дата | |
| Msg-id | 13666.1172563048@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | dropping a master table and all of its partitions? (George Nychis <gnychis@cmu.edu>) |
| Ответы |
Re: dropping a master table and all of its partitions?
|
| Список | pgsql-general |
George Nychis <gnychis@cmu.edu> writes:
> Here is an exact script which generates this every single time...
> After you're done running the ruby script:
> DROP TABLE testflows CASCADE;
I tweaked the ruby script to emit the SQL commands into a script file,
which proved to issue 1765 CREATE TABLE commands (one parent and 1764
children) and 1764 CREATE RULE commands (one per child table). On my
test installation the creation script runs about 6m15s, while
"DROP TABLE testflows CASCADE" runs about 3m4s. While neither number
is exactly awe-inspiring, I'm not seeing why you think the DROP is
particularly broken?
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера