From: Zlatko Matic <zlatko.matic1@sb.t-com.hr>
To: pgsql-odbc@postgresql.org
To: Postgres General <pgsql-general@postgresql.org>
Subject: odbc parameters
Date: Wed, 11 Jul 2007 14:15:02 +0200
Message-ID: <001301c7c3b5$1ccb4950$9bb80fd4@zlatkovyfkpgz6> (raw)
References: <d86a77ef0707092214j2f19d5c0yf1e1a0ea19c06122@mail.gmail.com>
<469320CA.9080406@shaw.ca>
<d86a77ef0707101057s3ac6a488l22e17c6486eaf950@mail.gmail.com>
<d86a77ef0707101122y2e2b4ed6icc1514ea730715f6@mail.gmail.com>
<5288.1184094554@sss.pgh.pa.us>
<D985E6C3-0D3F-480E-B8F6-459486A05C55@tacocat.net>
Hello,
I use MS Access for data import. Access imports csv file, make some
calculation and transffers data to PostgreSQL.
Unfortunately, it takes a lot of time to transfer data to PostgreSQL.
My odbc settings are following:
[ODBC]
DRIVER=PostgreSQL Unicode
UID=postgres
XaOpt=1
LowerCaseIdentifier=0
UseServerSidePrepare=1
ByteaAsLongVarBinary=0
BI=0
TrueIsMinus1=0
DisallowPremature=1
UpdatableCursors=1
LFConversion=1
ExtraSysTablePrefixes=dd_
CancelAsFreeStmt=0
Parse=1
BoolsAsChar=0
UnknownsAsLongVarchar=0
TextAsLongVarchar=1
UseDeclareFetch=0
Ksqo=1
Optimizer=1
CommLog=0
Debug=0
MaxLongVarcharSize=8190
MaxVarcharSize=255
UnknownSizes=0
Socket=4096
Fetch=100
ConnSettings=
ShowSystemTables=0
RowVersioning=1
ShowOidColumn=0
FakeOidIndex=0
Protocol=7.4-1
ReadOnly=0
SSLmode=allow
PORT=5432
SERVER=localhost
DATABASE=PLANINGZ
Could you suggest what parameters values would yield best performance for
batch import to PostgreSQL?
Thanks.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: zlatko.matic1@sb.t-com.hr, pgsql-general@postgresql.org
Subject: Re: odbc parameters
In-Reply-To: <001301c7c3b5$1ccb4950$9bb80fd4@zlatkovyfkpgz6>
References: <d86a77ef0707092214j2f19d5c0yf1e1a0ea19c06122@mail.gmail.com> <469320CA.9080406@shaw.ca> <d86a77ef0707101057s3ac6a488l22e17c6486eaf950@mail.gmail.com> <d86a77ef0707101122y2e2b4ed6icc1514ea730715f6@mail.gmail.com> <5288.1184094554@sss.pgh.pa.us> <D985E6C3-0D3F-480E-B8F6-459486A05C55@tacocat.net> <001301c7c3b5$1ccb4950$9bb80fd4@zlatkovyfkpgz6>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox