Re: 10 row/second insert in ssis - Mailing list pgsql-odbc

From Tsunakawa, Takayuki
Subject Re: 10 row/second insert in ssis
Date
Msg-id 0A3221C70F24FB45833433255569204D1F53CF80@G01JPEXMBYT05
Whole thread Raw
In response to Re: 10 row/second insert in ssis  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-odbc
Hello, Bill,

10 row inserts/s is very slow, isn't it?  Let's where the slow spot is.

* To know how long the server takes to execute inserts, add "log_min_duration_statement = 0" in postgresql.conf.  This
willrecord timing infomation like this in the server log:
 

LOG:  duration: 129.236 ms  statement: insert into a values(1);

* To know how long for what the ODBC driver takes, enable logging by adding the following registry values and
restartingthe application (SSIS?):
 

key: {HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER}\SOFTWARE\ODBC\ODBC.INI\<your_DSN>
value:
  CommLog: REG_DWORD: 1
  Debug: REG_DWORD: 1
  Logdir: REG_SZ: folder path where you want to store the log files

This will create psqlodbc_<pid>.log and mylog_<pid>.log in the specified folder.  <pid> is the process ID of the
applicationusing ODBC.  If not found, the log files may be stored in the following places:
 

* C:\
* C:\podbclog
* %HOMEDRIVE%%HOMEPATH%

Regards
Takayuki Tsunakawa

pgsql-odbc by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: 10 row/second insert in ssis
Next
From: "Tsunakawa, Takayuki"
Date:
Subject: Re: Some bug fixes and improvements