Received: from mail.virginia.edu (mail.Virginia.EDU [128.143.2.9]) by postgresql.org (Postfix) with SMTP id AECF74758A1 for ; Wed, 20 Mar 2002 14:15:05 -0500 (EST) Received: from smtp.mail.virginia.edu by mail.virginia.edu id aa01598; 20 Mar 2002 14:15 EST Received: from jlk3xpc (d-128-19-222.bootp.Virginia.EDU [128.143.19.222]) by smtp.mail.Virginia.EDU (8.9.3/8.9.3) with SMTP id OAA28012 for ; Wed, 20 Mar 2002 14:15:03 -0500 Message-ID: <008301c1d044$0b8fede0$de138f80@virginia.edu> From: Jodi Kanter To: Postgres Admin List Subject: slow inserts Date: Wed, 20 Mar 2002 14:18:41 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0080_01C1D01A.22921290" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200203/270 X-Sequence-Number: 3804 This is a multi-part message in MIME format. ------=_NextPart_000_0080_01C1D01A.22921290 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am currently using a Perl data loader that was set up to load data to thr= ee particular tables. The majority of this data is entered into one table. = The scripts obtain the data by parsing it out of an Excel spreadsheet. My l= oads seem to take a very long time. Each file only has about 12,000 rows, y= et it takes close to 25 minutes to load one file. I have placed some debugg= ing syntax in the code and it seems that the extra time if related to postg= res as I had originally thought it may have to do with the parsing of the E= xcel file. I have tried turning off FSYNC but there is no difference in load time. I a= lso tried removing the indexes from the table in which most of the data is = loaded but no luck. By the way, is there anyway to confirm that the FSYNC o= ption was turned off correctly? a way to view status or something? Any thoughts on what might be going on? another performance tuning trick th= at I have not thought of? Thanks for your help, Jodi Kanter _______________________________ Jodi L Kanter BioInformatics Database Administrator University of Virginia (434) 924-2846 jkanter@virginia.edu =20 =20 =20 ------=_NextPart_000_0080_01C1D01A.22921290 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am currently using a Perl data loader that was set up to load data t= o=20 three particular tables. The majority of this data is entered into one tabl= e.=20 The scripts obtain the data by parsing it out of an Excel spreads= heet.=20 My loads seem to take a very long time. Each file only has about 12,000 row= s,=20 yet it takes close to 25 minutes to load one file. I have placed some= =20 debugging syntax in the code and it seems that the extra time if related to= =20 postgres as I had originally thought it may have to do with the parsing of = the=20 Excel file.
 
I have tried turning off FSYNC but there is no difference in load time= . I=20 also tried removing the indexes from the table in which most of the data is= =20 loaded but no luck. By the way, is there anyway to confirm that the FSYNC o= ption=20 was turned off correctly? a way to view status or something?
 
Any thoughts on what might be going on? another performance tuning tri= ck=20 that I have not thought of?
 
Thanks for your help,
Jodi Kanter
 

_______________________________
Jodi=20 L Kanter
BioInformatics Database Administrator
University of=20 Virginia
(434) 924-2846
jkanter@virginia.edu

 

 

 

<= /DIV> ------=_NextPart_000_0080_01C1D01A.22921290--