12.07.2015 Views

Oracle SQL Developer

Oracle SQL Developer

Oracle SQL Developer

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Reports1.9.3 Table reportsTable reports list information about tables owned by the user associated with thespecified connection. This information is not specifically designed to identify problemareas; however, depending on your resources and requirements, some of theinformation might indicate things that you should monitor or address.For table reports, the owner is the user associated with the database connection.Columns: For each table, lists each column, its data type, and whether it can contain anull value.Datatype Occurrences: For each table owner, lists each data type and how many timesit is used.Comments for tables and columns: For each table and for each column in each table,lists the descriptive comments (if any) associated with it. Also includes a report oftables without comments. If database developers use the COMMENT statement whencreating or modifying tables, this report can provide useful information about thepurposes of tables and columnsConstraints: For each table, lists each associated constraint, including its type (uniqueconstraint, check constraint, primary key, foreign key) and status (enabled ordisabled).Enabled Constraints and Disabled Constraints: For each constraint with a status ofenabled or disabled, lists the table name, constraint name, constraint type (uniqueconstraint, check constraint, primary key, foreign key), and status. A disabledconstraint is not enforced when rows are added or modified; to have a disabledconstraint enforced, you must edit the table and set the status of the constraint toEnabled (see the appropriate tabs for Create/Edit Table (with advanced options)).Primary Key Constraints: For primary key constraint, lists information that includesthe owner, the table name, the constraint name, the constraint status (enabled ordisabled), and the column name.Unique Constraints: For each unique constraint, lists information that includes theowner, the table name, the constraint name, the constraint status (enabled or disabled),and the column name.Foreign Key Constraints: For each foreign key constraint, lists information thatincludes the owner, the table name, the constraint name, the column that the constraintis against, the table that the constraint references, and the constraint in the table that isreferenced.Check Constraints: For each check constraint, lists information that includes theowner, the table name, the constraint name, the constraint status (enabled or disabled),and the constraint specification.Statistics: For each table, lists statistical information, including when it was lastanalyzed, the total number of rows, the average row length, and the table type. Inaddition, specialized reports order the results by most rows and largest average rowlength.Storage - Tables by Tablespace: For each tablespace, lists the number of tables and thetotal number of megabytes currently allocated for the tables.Storage - Tablespaces: For each table, lists the tablespace for the table and the numberof megabytes currently allocated for the table.Organization: Specialized reports list information about partitioned tables, clusteredtables, and index-organized tables.1-24 <strong>SQL</strong> <strong>Developer</strong> Online Help

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!