Oracle 视图 DBA_ADVISOR_SQLA_TABLES 官方解释,作用,如何使用详细说明

本站中文解释

Oracle视图DBA_ADVISOR_SQLA_TABLES用于存放SQL Advisors的表统计信息。它提供了表结构(比如列数,索引等),表空间信息,以及表空间名称等内容。SQL Advisor利用这些信息,帮助DBA解决在系统性能上出现的问题。

使用方法:

1. 首先,请使用Oracle Data Dictionary查询视图DBA_ADVISOR_SQLA_TABLES的详细信息;

2. 使用下面的语句查询所有的表结构:
SELECT * FROM DBA_ADVISOR_SQLA_TABLES;

3. 根据表结构,使用OracleEvaluator来评估表的性能;

4. 根据评估的结果,分析出某个表的性能建议;

5. 根据建议,使用SQL语句做出调整,进一步提升表的性能。

官方英文解释

DBA_ADVISOR_SQLA_TABLES displays cross references between the workload statements and the tables referenced in the statement.

Related View

USER_ADVISOR_SQLA_TABLES displays cross references between the workload statements and the tables referenced in the statement for the current user. This view does not display the OWNER column.

Column Datatype NULL Description

OWNER

VARCHAR2(128)

Owner of the workload object

TASK_ID

NUMBER

Unique identifier of the task

TASK_NAME

VARCHAR2(128)

Name of the task

SQL_ID

VARCHAR2(13)

SQL identifier of the parent cursor in the library cache

STMT_ID

NUMBER

Statement ID

TABLE_OWNER

VARCHAR2(128)

Owner of the table

TABLE_NAME

VARCHAR2(128)

Table name

See Also:

“USER_ADVISOR_SQLA_TABLES”


数据运维技术 » Oracle 视图 DBA_ADVISOR_SQLA_TABLES 官方解释,作用,如何使用详细说明