Friday, November 14, 2008

PLSQL_V2_COMPATIBILITY

Property

Description

Parameter type

Boolean

Default value

false

Modifiable

ALTER SESSION, ALTER SYSTEM

Range of values

true | false

Note:

1. The PLSQL_V2_COMPATIBILITY parameter is deprecated. It is retained for backward compatibility only.

PL/SQL Version 2 allows some abnormal behavior that Version 8 disallows. If you want to retain that behavior for backward compatibility, set PLSQL_V2_COMPATIBILITY to true. If you set it to false, then PL/SQL Version 8 behavior is enforced and Version 2 behavior is not allowed.

2. Query for the current value of the parameter

select name, value, isdefault, isses_modifiable, issys_modifiable,

isinstance_modifiable, isdeprecated, description

from v$parameter where upper(name) = ‘PLSQL_V2_COMPATIBILITY’;

NAME

VALUE

IS

DEFAULT

ISSES_

MODIFIABLE

ISSYS_

MODIFIABLE

ISINSTANCE_

MODIFIABLE

IS

DEPRECATED

DESCRIPTION

plsql_v2_compatibility

FALSE

TRUE

TRUE

IMMEDIATE

TRUE

FALSE

PL/SQL version 2.x

compatibility flag

Oracle initializatoin parameters

PLSQL_WARNINGS

Property

Description

Parameter type

String

Syntax

PLSQL_WARNINGS = 'value_clause' [, 'value_clause' ] ...

value_clause::=

value_clause::=

{ ENABLE | DISABLE | ERROR }:

{ ALL

| SEVERE

| INFORMATIONAL

| PERFORMANCE

| { integer

| (integer [, integer ] ...)

}

}

Default value

'DISABLE:ALL'

Modifiable

ALTER SESSION, ALTER SYSTEM

Examples

PLSQL_WARNINGS = 'ENABLE:SEVERE', 'DISABLE:INFORMATIONAL';
PLSQL_WARNINGS = 'DISABLE:ALL';
PLSQL_WARNINGS = 'DISABLE:5000', 'ENABLE:5001', 'ERROR:5002';
PLSQL_WARNINGS = 'ENABLE:(5000,5001,5002)', 'DISABLE:(6000,6001)';

PLSQL_WARNINGS enables or disables the reporting of warning messages by the PL/SQL compiler, and specifies which warning messages to show as errors.

value_clause

Multiple value clauses may be specified, enclosed in quotes and separated by commas. Each value clause is composed of a qualifier, a colon (:), and a modifier.

Qualifier values:

· ENABLE

Enable a specific warning or a set of warnings

· DISABLE

Disable a specific warning or a set of warnings

· ERROR

Treat a specific warning or a set of warnings as errors

Modifier values:

· ALL

Apply the qualifier to all warning messages

· SEVERE

Apply the qualifier to only those warning messages in the SEVERE category

· INFORMATIONAL

Apply the qualifier to only those warning messages in the INFORMATIONAL category

· PERFORMANCE

Apply the qualifier to only those warning messages in the PERFORMANCE category

Note:

1. This parameter was introduced in 10g.

2. Query for the current value of the parameter

select name, value, isdefault, isses_modifiable, issys_modifiable,

isinstance_modifiable, isdeprecated, description

from v$parameter where upper(name) = ‘PLSQL_WARNINGS’;

NAME

VALUE

IS

DEFAULT

ISSES_

MODIFIABLE

ISSYS_

MODIFIABLE

ISINSTANCE_

MODIFIABLE

IS

DEPRECATED

DESCRIPTION

plsql_warnings

DISABLE:ALL

TRUE

TRUE

IMMEDIATE

TRUE

FALSE

PL/SQL compiler warnings settings

Oracle initializatoin parameters

DBA_APPLICATION_ROLES

DBA_APPLICATION_ROLES describes all the roles that have authentication policy functions defined.

Column

Datatype

NULL

Description

ROLE

VARCHAR2(30)

NOT NULL

Name of the application role

SCHEMA

VARCHAR2(30)

NOT NULL

Schema of the authorized package

PACKAGE

VARCHAR2(30)

NOT NULL

Name of the authorized package

Oracle data dictionary views

Oracle dynamic performance views

DBA_APPLY

DBA_APPLY displays information about all apply processes in the database. Its columns are the same as those in ALL_APPLY.

Related View

ALL_APPLY displays information about the apply processes that dequeue events from queues accessible to the current user.

Column

Datatype

NULL

Description

APPLY_NAME

VARCHAR2(30)

NOT NULL

Name of the apply process

QUEUE_NAME

VARCHAR2(30)

NOT NULL

Name of the queue from which the apply process dequeues

QUEUE_OWNER

VARCHAR2(30)

NOT NULL

Owner of the queue from which the apply process dequeues

APPLY_CAPTURED

VARCHAR2(3)

Indicates whether the apply process applies captured events (YES) or user-enqueued events (NO)

RULE_SET_NAME

VARCHAR2(30)

Name of the positive rule set used by the apply process for filtering

RULE_SET_OWNER

VARCHAR2(30)

Owner of the positive rule set used by the apply process for filtering

APPLY_USER

VARCHAR2(30)

User who is applying events

APPLY_DATABASE_LINK

VARCHAR2(128)

Database link to which changes are applied. If null, then changes are applied to the local database.

APPLY_TAG

RAW(2000)

Tag associated with redo log records that are generated when changes are made by the apply process

DDL_HANDLER

VARCHAR2(98)

Name of the user-specified DDL handler, which handles DDL logical change records

PRECOMMIT_HANDLER

VARCHAR2(98)

Name of the user-specified pre-commit handler

MESSAGE_HANDLER

VARCHAR2(98)

Name of the user-specified procedure that handles dequeued events other than logical change records

STATUS

VARCHAR2(8)

Status of the apply process:

· DISABLED

· ENABLED

· ABORTED

MAX_APPLIED_MESSAGE_NUMBER

NUMBER

System change number (SCN) corresponding to the apply process high-watermark for the last time the apply process was stopped using the DBMS_APPLY_ADM.STOP_APPLY procedure with the force parameter set to false. The apply process high-watermark is the SCN beyond which no events have been applied.

NEGATIVE_RULE_SET_NAME

VARCHAR2(30)

Name of the negative rule set used by the apply process for filtering

NEGATIVE_RULE_SET_OWNER

VARCHAR2(30)

Owner of the negative rule set used by the apply process for filtering

STATUS_CHANGE_TIME

DATE

Time that the STATUS of the apply process was changed

ERROR_NUMBER

NUMBER

Error number if the apply process was aborted

ERROR_MESSAGE

VARCHAR2(4000)

Error message if the apply process was aborted

MESSAGE_DELIVERY_MODE

VARCHAR2(10)

Reserved for future use

Oracle data dictionary views

Oracle dynamic performance views

DBA_ATTRIBUTE_TRANSFORMATIONS

DBA_ATTRIBUTE_TRANSFORMATIONS displays information about the transformation functions for all transformations in the database.

Related View

USER_ATTRIBUTE_TRANSFORMATIONS displays information about the transformation functions for the transformations owned by the current user. This view does not display the OWNER column.

Column

Datatype

NULL

Description

TRANSFORMATION_ID

NUMBER

NOT NULL

Unique identifier for the transformation

OWNER

VARCHAR2(30)

NOT NULL

Owning user of the transformation

NAME

VARCHAR2(30)

NOT NULL

Transformation name

FROM_TYPE

VARCHAR2(61)

Source type name

TO_TYPE

VARCHAR2(91)

Target type name

ATTRIBUTE

NUMBER

NOT NULL

Target type attribute number

ATTRIBUTE_TRANSFORMATION

VARCHAR2(4000)

Transformation function for the attribute

Oracle data dictionary views

Oracle dynamic performance views

DBA_ALL_TABLES

DBA_ALL_TABLES describes all object tables and relational tables in the database. Its columns are the same as those in ALL_ALL_TABLES.

Related Views

· ALL_ALL_TABLES describes the object tables and relational tables accessible to the current user.

· USER_ALL_TABLES describes the object tables and relational tables owned by the current user. This view does not display the OWNER column.

Column

Datatype

NULL

Description

OWNER

VARCHAR2(30)

Owner of the table

TABLE_NAME

VARCHAR2(30)

Name of the table

TABLESPACE_NAME

VARCHAR2(30)

Name of the tablespace containing the table; NULL for partitioned, temporary, and index-organized tables

CLUSTER_NAME

VARCHAR2(30)

Name of the cluster, if any, to which the table belongs

IOT_NAME

VARCHAR2(30)

Name of the index-organized table, if any, to which the overflow or mapping table entry belongs. If the IOT_TYPE column is not NULL, then this column contains the base table name.

STATUS

VARCHAR2(8)

If a previous DROP TABLE operation failed, indicates whether the table is unusable (UNUSABLE) or valid (VALID)

PCT_FREE

NUMBER

Minimum percentage of free space in a block; NULL for partitioned tables

PCT_USED

NUMBER

Minimum percentage of used space in a block; NULL for partitioned tables

INI_TRANS

NUMBER

Initial number of transactions; NULL for partitioned tables

MAX_TRANS

NUMBER

Maximum number of transactions; NULL for partitioned tables

INITIAL_EXTENT

NUMBER

Size of the initial extent (in bytes); NULL for partitioned tables

NEXT_EXTENT

NUMBER

Size of secondary extents (in bytes); NULL for partitioned tables

MIN_EXTENTS

NUMBER

Minimum number of extents allowed in the segment; NULL for partitioned tables

MAX_EXTENTS

NUMBER

Maximum number of extents allowed in the segment; NULL for partitioned tables

PCT_INCREASE

NUMBER

Percentage increase in extent size; NULL for partitioned tables

FREELISTS

NUMBER

Number of process freelists allocated to the segment; NULL for partitioned tables

FREELIST_GROUPS

NUMBER

Number of freelist groups allocated to the segment

LOGGING

VARCHAR2(3)

Indicates whether or not changes to the table are logged:

· YES

· NO

BACKED_UP

VARCHAR2(1)

Indicates whether the table has been backed up since the last modification (Y) or not (N)

NUM_ROWS

NUMBER

Number of rows in the table

BLOCKS

NUMBER

Number of used blocks in the table

EMPTY_BLOCKS

NUMBER

Number of empty (never used) blocks in the table

AVG_SPACE

NUMBER

Average available free space in the table

CHAIN_CNT

NUMBER

Number of rows in the table that are chained from one data block to another or that have migrated to a new block, requiring a link to preserve the old rowid. This column is updated only after you analyze the table.

AVG_ROW_LEN

NUMBER

Average row length, including row overhead

AVG_SPACE_FREELIST_BLOCKS

NUMBER

Average freespace of all blocks on a freelist

NUM_FREELIST_BLOCKS

NUMBER

Number of blocks on the freelist

DEGREE

VARCHAR2(10)

Number of threads per instance for scanning the table, or DEFAULT

INSTANCES

VARCHAR2(10)

Number of instances across which the table is to be scanned, or DEFAULT

CACHE

VARCHAR2(5)

Indicates whether the table is to be cached in the buffer cache (Y) or not (N)

TABLE_LOCK

VARCHAR2(8)

Indicates whether table locking is enabled (ENABLED) or disabled (DISABLED)

SAMPLE_SIZE

NUMBER

Sample size used in analyzing the table

LAST_ANALYZED

DATE

Date on which the table was most recently analyzed

PARTITIONED

VARCHAR2(3)

Indicates whether the table is partitioned (YES) or not (NO)

IOT_TYPE

VARCHAR2(12)

If the table is an index-organized table, then IOT_TYPE is IOT, IOT_OVERFLOW, or IOT_MAPPING. If the table is not an index-organized table, then IOT_TYPE is NULL.

OBJECT_ID_TYPE

VARCHAR2(16)

Indicates whether the object ID (OID) is USER-DEFINED or SYSTEM GENERATED

TABLE_TYPE_OWNER

VARCHAR2(30)

If an object table, owner of the type from which the table is created

TABLE_TYPE

VARCHAR2(30)

If an object table, type of the table

TEMPORARY

VARCHAR2(1)

Indicates whether the table is temporary (Y) or not (N)

SECONDARY

VARCHAR2(1)

Indicates whether the table is a secondary object created by the ODCIIndexCreate method of the Oracle Data Cartridge to contain the contents of a domain index (Y) or not (N)

NESTED

VARCHAR2(3)

Indicates whether the table is a nested table (YES) or not (NO)

BUFFER_POOL

VARCHAR2(7)

Buffer pool to be used for table blocks:

· DEFAULT

· KEEP

· RECYCLE

· NULL

ROW_MOVEMENT

VARCHAR2(8)

If a partitioned table, indicates whether row movement is enabled (ENABLED) or disabled (DISABLED)

GLOBAL_STATS

VARCHAR2(3)

For partitioned tables, indicates whether statistics were collected by analyzing the table as a whole (YES) or were estimated from statistics on underlying partitions and subpartitions (NO)

USER_STATS

VARCHAR2(3)

Indicates whether statistics were entered directly by the user (YES) or not (NO)

DURATION

VARCHAR2(15)

Indicates the duration of a temporary table:

SYS$SESSION - Rows are preserved for the duration of the session

SYS$TRANSACTION - Rows are deleted after COMMIT

Null - Permanent table

SKIP_CORRUPT

VARCHAR2(8)

Indicates whether Oracle Database ignores blocks marked corrupt during table and index scans (ENABLED) or raises an error (DISABLED). To enable this feature, run the DBMS_REPAIR.skip_corrupt_blocks procedure.

MONITORING

VARCHAR2(3)

Indicates whether the table has the MONITORING attribute set (YES) or not (NO)

CLUSTER_OWNER

VARCHAR2(30)

Owner of the cluster, if any, to which the table belongs

DEPENDENCIES

VARCHAR2(8)

Indicates whether row-level dependency tracking is enabled (ENABLED) or disabled (DISABLED)

COMPRESSION

VARCHAR2(8)

Indicates whether table compression is enabled (ENABLED) or not (DISABLED); NULL for partitioned tables

COMPRESS_FOR

VARCHAR2(18)

Default compression for what kind of operations:

· DIRECT LOAD ONLY

· FOR ALL OPERATIONS

· NULL

DROPPED

VARCHAR2(3)

Indicates whether the table has been dropped and is in the recycle bin (YES) or not (NO); NULL for partitioned tables

Note:

1.  dba_all_tables = dba_tables union all DBA_OBJECT_TABLES

Oracle data dictionary views

Oracle dynamic performance views