If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
May I know what should I do to get better preformance for DB2 table?
I have been done the following steps but still not improve the performance.
1.Reorganize the table
2****nstats the table
3.rebind
Is there any other steps I still need?
I would like to get the faster performance when accessing my table.
Help me pls.
Hi,
have you tried creating some indexes?
Look into select statements that are running slow and the for "where columns" create indexes, just like:
db2 "create index yourschema.yourindexname on yourshema.yourtable (column1, column2, etc)"
Please run your workload through the Design Advisor.
As for what would be important or not: it really depends on your overall system. If you have only a single hard drive, for instance, then you don't have to worry about parallel I/O. If you have a lot of disks, it would be a completely different scenario. Thus, it's very hard to give you specific advise here.
The general rule is to have the proper indexes and to make sure that statistics are up-to-date. Placement of data and logs on disks is also important. Everything else are more "advanced" things. You should first be very familiar with the respective concepts - or let DB2 figure things out for you.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Keeping those settings low may work for you - but it may not work for others. I know of one scenario where a query run more than 30 hours. Increasing the optimization level and statement heap resulted in a significant increase of compilation time (from some 10 minutes to 1.5 hours), but the overall query execution time came down to single-digit hours.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development