DB2 Inbuilt Tools – Visual Explain
When you have whatever complex queries and you want to tune them, you can use visual explain. It gives a graphical tree view of the access path. Db2 has optimizer with decides the access line for any query. Access line for a ask is decided depending on all lot of factors. Tables involved, indexes available, memory available are whatever of the things thoughtful here for the access path.
You have to look at the tree from bottom to top and analyze the outlay at each node. Operations and cause modify the part. Operations include sorting, table scan, index scan, joins and more. Cost is one essential thing to be looked for in the access path. At each node there is outlay which is given in timorous. Timorous is the unit of for the outlay here. More timorous you have as outlays the more pricey ask becomes. So you have to optimize your ask until you see a reduced outlay for the query.
Also there are various shapes in the visual tree there and each of them has its possess significance. Another essential thing to consider here is vindicate tables. Explain tables are mandatory to generate vindicate plan from the visual vindicate graphical tool. There are whatever alternatives that you can use instead of visual explain. You could try db2expln or db2exfmt on the command line if you requirement more details.
Last 5 posts by admin
- Protection of Your Personal Data on Your Computer - August 12th, 2010
- Get Business Hosted PBX Installed in Your Company - August 6th, 2010
- Website Hosting - August 4th, 2010
- Creation of PC Network - July 22nd, 2010
- Top name in web hosting market-ipage - June 18th, 2010