Re: [GENERAL] speed up insert query

2007-11-26 Thread Tom Hart
Tom Hart wrote: Martin Gainty wrote: 2 things tr_tran_time needs to be already in 'time format' is_ok needs to be indexed (preferably bitmapped index) HTH/ Martin The data is COPY'ed from csv's that our internal software creates, and we don't have control over output format. Is coaxing tr_t

Re: [GENERAL] speed up insert query

2007-11-26 Thread Tom Hart
Martin Gainty wrote: 2 things tr_tran_time needs to be already in 'time format' is_ok needs to be indexed (preferably bitmapped index) HTH/ Martin The data is COPY'ed from csv's that our internal software creates, and we don't have control over output format. Is coaxing tr_tran_time into pr

Re: [GENERAL] speed up insert query

2007-11-26 Thread Martin Gainty
2 things tr_tran_time needs to be already in 'time format' is_ok needs to be indexed (preferably bitmapped index) HTH/ Martin - Original Message - From: "Tom Hart" <[EMAIL PROTECTED]> To: "Postgres General List" Sent: Monday, November 26, 2007 5:30 P

[GENERAL] speed up insert query

2007-11-26 Thread Tom Hart
Hey everybody. I'm trying to speed up a query (not general optimization, one query in particular), and I'm not sure if there's any way to get it to go faster. The query looks like this INSERT INTO transaction ( "tr_acct_num", "tr_acct_typ", "tr_atm_rec", "tr_audit_seq", "tr_branch_cd", "