SQLT(SQLTXPLAIN)

来源:互联网 发布:直销会员管理系统 php 编辑:程序博客网 时间:2024/04/28 22:54

SQLT也叫SQLTXPLAIN,如果某一条SQL执行效率很低,也不知道从哪里下手,可以使用SQLT来收集和性能相关的各种信息(如:Execution plans, Cost-based Optimizer CBO statistics, Schema objects metadata, Performance statistics, Configuration parameters...)


一般情况下SQLT的output可以回答很多问题,比如:
How many and which tables are involved?
How big are the objects involved?
How many, what type and what columns are indexed?
How accurate are the optimizer statistics?
Are there histograms on the columns?
Are there any non-default init.ora parameters that could be causing problems?
What is the execution plan?
Has it changed recently?
......

详见Note 215187.1 : SQLT (SQLTXPLAIN) - Tool that helps to diagnose SQL statements performing poorly
Step 1) Download SQLT
Step 2) Install SQLT
Step 3) Execute SQLT

Step 4) Review the output




原创粉丝点击