Re: best performance for simple dml

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: best performance for simple dml
Дата
Msg-id BANLkTimcokKM=MTAu1-kZFPsNGW8Lgj3rw@mail.gmail.com
обсуждение исходный текст
Ответ на best performance for simple dml  (chester c young <chestercyoung@yahoo.com>)
Ответы Re: best performance for simple dml  (chester c young <chestercyoung@yahoo.com>)
Список pgsql-sql
Hello

try it and you will see. Depends on network speed, hw speed. But the most fast is using a COPY API

http://www.postgresql.org/docs/9.0/interactive/libpq-copy.html

Regards

Pavel Stehule


2011/6/27 chester c young <chestercyoung@yahoo.com>
what is the best performance / best practices for frequently-used simple dml, for example, an insert

1. fast-interface

2. prepared statement calling "insert ..." with binary parameters

3. prepared statement calling "myfunc(..." with binary parameters; myfunc takes its arguments and performs an insert using them


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

Предыдущее
От: chester c young
Дата:
Сообщение: best performance for simple dml
Следующее
От: chester c young
Дата:
Сообщение: Re: best performance for simple dml