12.07.2015 Views

Oracle SQL Developer

Oracle SQL Developer

Oracle SQL Developer

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ReportsQuality Assurance reportsQuality assurance reports are table reports that identify conditions that are nottechnically errors, but that usually indicate flaws in the database design. These flawscan result in various problems, such as logic errors and the need for additionalapplication coding to work around the errors, as well as poor performance withqueries at run time.Tables without Primary Keys: Lists tables that do not have a primary key defined. Aprimary key is a column (or set of columns) that uniquely identifies each row in thetable. Although tables are not required to have a primary key, it is stronglyrecommended that you create or designate a primary key for each table. Primary keycolumns are indexed, which enhances performance with queries, and they arerequired to be unique and not null, providing some "automatic" validation of inputdata. Primary keys can also be used with foreign keys to provide referential integrity.Tables without Indexes: Lists tables that do not have any indexes. If a column in atable has an index defined on it, queries that use the column are usually much fasterand more efficient than if there is no index on the column, especially if there are manyrows in the table and many different data values in the column.Tables with Unindexed Foreign Keys: Lists any foreign keys that do not have anassociated index. A foreign key is a column (or set of columns) that references aprimary key: that is, each value in the foreign key must match a value in its associatedprimary key. Foreign key columns are often joined in queries, and an index usuallyimproves performance significantly for queries that use a column. If an unindexedforeign key is used in queries, you may be able to improve run-time performance bycreating an index on that foreign key.Related TopicsReports1.9.4 PL/<strong>SQL</strong> reportsPL/<strong>SQL</strong> reports list information about PL/<strong>SQL</strong> packages, function, and procedures,and about types defined in them.Program Unit Arguments: For each argument (parameter) in a program unit, lists theprogram unit name, the argument position (1, 2, 3, and so on), the argument name,and whether the argument is input-only (In), output-only (Out), or both input andoutput (In/Out).Unit Line Counts: For each PL/<strong>SQL</strong> object, lists the number of source code lines. Thisinformation can help you to identify complex objects (for example, to identify codethat may need to be simplified or divided into several objects).Search Source Code: For each PL/<strong>SQL</strong> object, lists the source code for each line, andallows the source to be searched for occurrences of the specified variable.Related TopicsReports1.9.5 Security reportsSecurity reports list information about users that have been granted privileges, and insome cases about the users that granted the privileges. This information can help you(or the database administrator if you are not a DBA) to understand possible security<strong>SQL</strong> <strong>Developer</strong> Concepts and Usage 1-25

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

Saved successfully!

Ooh no, something went wrong!