Re: About performance for Database of millions of records
Hi,
I believe, Performance tuning is cont. process, not a one time activity.
As you wrote, you have database with millions of rows and want to improve performance then you may get something from below:
Server level:
1. check RAM and swap utilization (adjust your my.cnf to avoid swaping)
2. monitor server disk IO (you can use top, sar etc for this. track iowaits )
3. CPU utilization (track cpu use on system and userio)
Database engine:
1. select proper engine as per you requirement (myisam / innodb)
Proactive db activities:
1. Optimize tables
2. analyze tables
( as per inserts and updates)
my.cnf:
1.key_buffer, read_buffer_size, read_rnd_buffer_size /innodb_buffer_pool_size
2. sort_buffer_size, myisam_sort_buffer_size
3.query_cache_size
sql tuning:
1. keep digging slow query logs for bad queries.
2. look at where clauses of each sql query and explain each query to cross checl proper execution plan.
Subject
Views
Written By
Posted
7344
April 09, 2008 02:07PM
2832
May 07, 2008 09:04AM
2603
May 07, 2008 02:56PM
2609
May 07, 2008 07:29PM
2723
May 07, 2008 09:36PM
Re: About performance for Database of millions of records
2962
May 24, 2008 10:16AM
2075
May 27, 2008 11:29PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.