create table as select VS create table; insert as select
В списке pgsql-general по дате отправления:
| От | Jacqui Caren-home |
|---|---|
| Тема | create table as select VS create table; insert as select |
| Дата | |
| Msg-id | 4CCA7BD9.4070902@ntlworld.com обсуждение исходный текст |
| Ответы |
Re: create table as select VS create table; insert as select
Re: create table as select VS create table; insert as select |
| Список | pgsql-general |
I have inherited an application that populates a number of temp.y tables using create table ... as select ... This is taking roughly five to ten minutes to run As this process hammers the database, I can only run benchmarks at night so am asking here if anyone know if create table ...; then insert into ... as select... ; would be faster. or if anyone can suggest an alternative I may have missed. I am happy to move code server side if need be. TIA Jacqui I know these is not a lot of detail in the above - the system is under NDA and I need to check with my employer before I give out any system details. Before you ask it is not a big customer - just a very paranoid one :-)
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера