Page 1 of 1

Ways to improve performance for table updates

Posted: Thu Jul 26, 2007 10:53 am
by kool78
Hi,

wht are the possible ways to improve performance when doing Oracle table updates.

i thought of Indexes, splitting up inserts and updates..

let me know any ways to improve the performace, my update job is taking longer time to update the records

any help is appreciated.

thanks

Re: Ways to improve performance for table updates

Posted: Thu Jul 26, 2007 10:57 am
by avi21st
kool78 wrote:Hi,

wht are the possible ways to improve performance when doing Oracle table updates.

i thought of Indexes, splitting up inserts and updates..

let me know any ways to improve the performace, my update job is taking longer time to update the records

any help is appreciated.

thanks
Delete and then bulk load can be a option. Again if Oracle you can truncate a partition and load a new one if the load is on a monthly basis. Actually there are a lot of ways. Please provide more info on the background.

Thanks
Avi

Re: Ways to improve performance for table updates

Posted: Thu Jul 26, 2007 10:59 am
by kool78
avi21st wrote:
kool78 wrote:Hi,

wht are the possible ways to improve performance when doing Oracle table updates.

i thought of Indexes, splitting up inserts and updates..

let me know any ways to improve the performace, my update job is taking longer time to update the records

any help is appreciated.

thanks
Delete and then bulk load can be a option. Again if Oracle you can truncate a partition and load a new one if the load is on a monthly basis. Actually there are a lot of ways. Please provide more info on the background.

Thanks
Avi

we have a dimension which has a load_date column, so almost all the rows of the dimension gets updated daily, its a diaily run.

Re: Ways to improve performance for table updates

Posted: Thu Jul 26, 2007 11:20 am
by avi21st
kool78 wrote:
avi21st wrote:
kool78 wrote:Hi,

wht are the possible ways to improve performance when doing Oracle table updates.

i thought of Indexes, splitting up inserts and updates..

let me know any ways to improve the performace, my update job is taking longer time to update the records

any help is appreciated.

thanks
Delete and then bulk load can be a option. Again if Oracle you can truncate a partition and load a new one if the load is on a monthly basis. Actually there are a lot of ways. Please provide more info on the background.

Thanks
Avi

we have a dimension which has a load_date column, so almost all the rows of the dimension gets updated daily, its a diaily run.
What is the database?

Re: Ways to improve performance for table updates

Posted: Thu Jul 26, 2007 11:27 am
by kool78
avi21st wrote:
kool78 wrote:
avi21st wrote: Delete and then bulk load can be a option. Again if Oracle you can truncate a partition and load a new one if the load is on a monthly basis. Actually there are a lot of ways. Please provide more info on the background.

Thanks
Avi

we have a dimension which has a load_date column, so almost all the rows of the dimension gets updated daily, its a diaily run.
What is the database?
Oracle 10g

Re: Ways to improve performance for table updates

Posted: Thu Jul 26, 2007 11:38 am
by avi21st
kool78 wrote:
avi21st wrote:
kool78 wrote:
we have a dimension which has a load_date column, so almost all the rows of the dimension gets updated daily, its a diaily run.
What is the database?
Oracle 10g
Delete the updated records...then bulk load both insert+updates to the database works faster than updates. Else put them in Sequential file and do a Oracle import (SQL wrapped in shell script). What is the data volume and the time taken

Posted: Thu Jul 26, 2007 2:16 pm
by ray.wurlod
Run Oracle on bigger hardware - mainframe perhaps.