| От | Lamar Owen |
|---|---|
| Тема | Re: is there a way |
| Дата | |
| Msg-id | 200205021020.43496.lamar.owen@wgcr.org обсуждение исходный текст |
| Ответ на | is there a way ("Dorward Villaruz" <dorwardv@ntsp.nec.co.jp>) |
| Список | pgsql-general |
On Thursday 02 May 2002 01:45 pm, Dorward Villaruz wrote: > 1) is there a way to time execution of sql statements in postgres without > using any frontend languages like php ? 2) is there also a way of inserting > 2000000 records to a table without using any frontend languages like php? Well, if shell doesn't count as a language, use: time psql -c $query $database where $query is the query you want to time (quoted properly, of course) and $database is the database the query is accessing. The COPY command does the second part -- see the documentation on details of data format, file location, syntax and soforth. -- Lamar Owen WGCR Internet Radio 1 Peter 4:11
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера