Fastest way to load data in a table

Поиск
Список
Период
Сортировка
От Antonio Navarro Navarro
Тема Fastest way to load data in a table
Дата
Msg-id 880141477.20010926111710@bemarnet.es
обсуждение исходный текст
Ответы Re: Fastest way to load data in a table
Список pgsql-general
Hi all.

I need to clean and fill periodically a database with several hundred thousands
records readed from a plain ascii file.

I have a Python script that opens the file and then, after a 'DELETE *
FROM table'  submits an INSERT for each registry, but this process is very slow.

How can I accelerate this uploading process ?

Best regards,

Antonio Navarro Navarro
BemarNet Management
http://www.bemarnet.es
hostmaster@bemarnet.es



В списке pgsql-general по дате отправления:

Предыдущее
От: tony
Дата:
Сообщение: Re: Multibyte FAQ item
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Fastest way to load data in a table