Oracle data dictionary

zhaozj2021-02-11  203

Oracle data dictionary

Oracle data dictionary

Almost all views or alias in the Oracle data dictionary are collected in the following table, as for each view or alias field, use the 'DESCRIBE' statement to query.

Name description:

In the Oracle Data Dictionary, the object name is mostly "user.", "All.", "DBA." Is the prefix "user." View, record the objects of the object you have in the account that typically records the account, "all." View Include information including "user" record and authorization to public or user, "DBA." View contains all database objects, regardless of their owner.

Example:

SELECT * FROM DBA_DATA_FILES

Query the information of the table space (the current user must have a DBA role)

Select Owner, Object_name, Object_Type from All_Objects

Check all the tables, processes, functions under a certain user.

View name description

All_catalog all Tables, Views, Synynyms, Sequences Accessible To The User

All_col_comments Comments On Column of Accessible Tables and Views

All_col_grants_made grants on columns for Which The User is Owner or Grantor

All_col_grants_recd grants on columns for which the user or public is the grantee

All_col_privs grants on columns for which the user is the 3, grantee, ooner, or an

Enabled role or public is the grantee

ALL_COL_PRIVS_MADE GRANTS ON Columns for Which The User Is Owner Or Grantor

All_col_privs_recd grants on columns for which the user, public or enabled role is the grantee

All_Constraints Constraint Definitions on Accessible Tables

All_cons_columns information about accessible columns in constraint definitions

All_db_links database links accessible to the user

All_def_audit_opts Auditing Options for Newly Created Objects

All_dependencies dependencies to and from objects accessible to the user

All_errors Current Errors on Stored Objects That User Is Allowed To Create

All_indexes Descriptions of Indexes on Tables Accessible To The UseralL_ind_columns Column Comprising Indexes On Accessible Tables

All_Objects Objects Accessible To The User

All_refresh All the Refresh Groups That The User Can Touch

All_Refresh_Children All The Objects in Refresh Groups, Where The User Can Touch The Group

All_sequences Description of Sequences Accessible To the User

All_Snapshots Snapshots The User Can Look AT

All_Source Current Source ON Stored Objects That User Is Allowed to Create

All_synynyms all synonyms accessible to the user

All_Tables Description of Tables Accessible To The User

All_tab_columns column of all tables, views and clusters

All_tab_comments Comments on Tables and Views Accessible To the User

All_tab_grants_made user's grants and grants on user's objects

All_tab_grants_recd grants on Objects for Which the user or public is the grantee

All_tab_privs grants on Objects for Which The User is The Grantor, Grantee, Owner, ORAN

Enabled role or public is the grantee

All_tab_privs_made User's GRANTS AND GRANTS ON USER's Objects

All_tab_privs_recd grants on objects for which the user, public or enabled role is the grantee

All_triggers Triggers Accessible To The Current User

All_trigger_cols column usage in User's Triggers or in Triggers ON User's Tables

All_Users Information About All Users of The Database

All_views text of views accessible to the user

User_audit_connect audit trail entries for user logons / logoffs

User_audit_Object Audit Trail Records for Statements Concerning Objects, Specification: Table, Cluster, View, INDEX, Sequence, [Public] Database Link, [Public] Synonym,

Procedure, Trigger, Rollback Segment, TableSpace, Role, User

User_audit_ssion

User_audit_statement Audit Trail Records Concerning Grant, Revoke, Audit, Noaudit And ALTER

SYSTEM

User_Audit_Trail Audit Trail Entries Relevant to The User

User_catalog tables, views, synonyms and sequencees Owned by the user

User_Clusters Descriptions of User's OWN Clusters

User_clu_columns mapping of Table Column To Cluster Column

User_col_comments Comments On Column of User's Tables and Views

User_col_grants grants on columns for which the user is the Owner, Grantor Or Grantee

User_col_grants_made all grants on columns of objects OWNED by the user

User_col_grants_recd grants on columns for Which the user is the grantee

User_col_privs grants on columns for which the user is The Owner, Grantor Or Grantee

User_col_privs_made all grants on columns of objects OWNED by the user

User_col_privs_recd grants on columns for which the user is the grantee

User_constraints constraint definitions on user's oow table

User_Cons_Columns Information About Accessible Column in Constraint Definitions

User_cross_refs cross references for user's views and synynyms

User_db_links database links oowned by the user

User_dependencies dependencies to and from a users objects

User_errors current errors on stored Objects Owned by the user

User_extents extents compriage segments Owned by the user

User_free_space free extents in TableSpaces Accessible to the useruser_indexes description of the user's oow indexes

User_ind_columns columns comprising user's indexes or on user's tables

User_Jobs All Jobs Owned by this user

User_Objects Objects OWNED by the user

User_Object_size Sizes, in Bytes, Of Various PL / SQL Objects

User_obj_audit_opts Auditing Options for User's OWN TABLES AND VIEWS

User_refresh all the refresh groups

User_refresh_children all the objects in refresh groups, Where the user owns the user w

Refresh group

User_resource_limits Display Resource Limit of The User

User_role_privs roles granted to current user

User_Segments Storage Allocated for All Database Segments

User_sequences description of the user's oow sequences

User_snapshots Snapshots the User CAN Look At

User_snapshot_logs all snapshot logs Owned by the user

User_source source of stored Objects accessible to the user

User_synynyms the user's private synonyms

User_sys_privs system privileges granted to current user

User_tables description of the user's oow tables

User_Tablespaces Description of Accessible TableSpaces

User_tab_audit_opts Auditing Options for User's OWN TABLES AND VIEWS

User_tab_columns column of user's tables, views and clusters

User_tab_comments Comments on the tables and views oowned by the user

User_tab_grants grants on objects for which the user is the Owner, Grantor Or Grantee

User_tab_grants_made all grants on objects Owned by the user

User_tab_grants_recd grants on objects for which the user is the granteeuser_tab_privs grants on objects for which the user is the ooner, grantor or grantee

User_tab_privs_made all grants on objects OWNED by the user

User_tab_privs_recd grants on Objects for Which the user is the grantee

User_triggers Triggers Owned by The User

User_trigger_cols column usage in user's triggers

User_ts_quotas tablespace quotas for the user

User_Users Information About The Current User

User_views text of views Owned by the user

Audit_Actions Description Table for Audit Trail Action Type Codes. Maps Action Type

Numbers to action type name

Column_privileges grants on columns for Which the user is The Grantor, Grantee, Owner, OR

An enabled role or public is the grantee

Dictionary Description of Data Dictionary Tables and Views

DICT_COLUMNS Description of Columns in Data Dictionary Tables and Views

Dual

Global_name Global Database Name

Index_histogram Statistics on Keys with Repeat Count

Index_Stats Statistics on The B-Tree

Resource_Cost Cost for Each Resource

Role_Role_Privs Roles Which Are Grand To Roles

Role_sys_privs system privileges granted to roles

Role_Tab_Privs Table Privileges Grand to Roles

Session_Privs Privileges Which The User Currently Has Set

Session_roles Roles Which The User Currently Has enabled.

Table_privileges grants on Objects for Which the user is The Grantor, Grantee, Owner, OR

An enabled role or public is the grantee

Accessible_columns synonym for all_tab_columnsall_col_grants synonym for column_privileges

All_Jobs Synonym for User_Jobs

All_tab_grants synonym for table_privileges

Cat synonym for user_catalog

CLU Synynym for User_Clusters

COLS SYNONYM for User_Tab_Columns

DBA_AUDIT_CONNECT SYNONYM for User_Audit_connect

DBA_AUDIT_RESOURCE SYNONYM for User_Audit_Resource

DBA_REFRESH_CHILDREN SYNONYM for User_refresh_Children

DICT Synonym for Dictionary

Ind Synonym for User_indexes

Obj Synonym for User_Objects

Seq Synonym for User_Sequences

SM $ VERSION SYNONYM for SM_ $ VERSION

SYN Synonym for User_Synonyms

Tabs synonym for user_tables

V $ Access Synonym for v_ $ access

V $ Archive Synonym for v_ $ archive

V $ BACKUP SYNONYM for v_ $ backup

V $ BGPROCESS SYNONYM for V_ $ BGPROCESS

V $ Circuit Synonym for V_ $ Circuit

V $ Compatibility Synonym for v_ $ Compatibility

V $ CompatSeg Synonym for v_ $ compatseg

V $ ControlFile Synonym for v_ $ controlfile

V $ Database Synonym for v_ $ database

V $ DataFile Synonym for v_ $ datafile

V $ dbfile synonym for v_ $ dbfile

V $ dblink synonym for v_ $ dblink

V $ db_object_cache synonym for v_ $ db_Object_cache

V $ Dispatcher Synonym for v_ $ dispatcher

V $ enabledprivs synonym for v_ $ enabledprivs

V $ filestat synonym for v_ $ fileestat

V $ fixed_table synonym for v_ $ fixed_table

V $ latch synonym for v_ $ latch

V $ latchholder synonym for v_ $ latchholder

V $ latchname synonym for v_ $ latchname

V $ librarycache synonym for v_ $ librarycache

V $ license synonym for v_ $ license

V $ loadCSTAT SYNONYM for v_ $ loadingcstat

V $ loadtstat synonym for v_ $ loadingtstat

V $ LOCK SYNONYM for V_ $ LOCK

V $ log synonym for v_ $ log

V $ logfile synonym for v_ $ logfilev $ loghist synonym for v_ $ loghist

V $ log_history synonym for v_ $ log_history

V $ mls_parameters synonym for v_ $ mls_parameters

V $ MTS SYNONYM for V_ $ MTS

V $ NLS_PARAMETERS SYNONYM for V_ $ NLS_PARAMETERS

V $ nls_valid_values ​​synonym for v_ $ nls_valid_values

V $ OPEN_CURSOR SYNONYM for V_ $ OPEN_CURSOR

V $ OPTION SYNONYM for V_ $ Option

V $ Parameter Synonym for v_ $ parameter

V $ PQ_SESSTAT SYNONYM for V_ $ PQ_SESSTAT

V $ PQ_SLAVE SYNONYM for V_ $ PQ_SLAVE

V $ PQ_SYSSTAT SYNONYM for V_ $ PQ_SYSSTAT

V $ process synonym for v_ $ process

V $ queue synonym for v_ $ queue

V $ Recovery_log synynym for v_ $ recovery_log

V $ RECOVER_FILE SYNONYM for v_ $ recover_file

V $ reqdist synonym for v_ $ reqdist

V $ Resource Synonym for v_ $ resource

V $ ROLLNAME SYNONYM for V_ $ ROLLNAME

V $ ROLLSTAT SYNONYM for V_ $ ROLLSTAT

V $ ROWCACHE SYNONYM for V_ $ ROWCACHE

V $ session synonym for v_ $ session

V $ session_cursor_cache synonym for v_ $ session_cursor_cache

V $ session_event synonym for v_ $ session_event

V $ session_wait synonym for v_ $ session_wait

V $ SESSSTAT SYNONYM for V_ $ sessstat

V $ sess_io synonym for v_ $ sess_io

V $ SGA SYNONYM for V_ $ SGA

V $ SGASTAT SYNONYM for V_ $ SGASTAT

V $ Shared_server Synonym for v_ $ shared_server

V $ SQLAREA SYNONYM for V_ $ SQLAREA

V $ STATNAME SYNONYM for v_ $ statname

V $ SYSSTAT SYNONYM for V_ $ sysstat

V $ SYSTEM_CURSOR_CACHE SYNONYM for V_ $ SYSTEM_CURSOR_CACHE

V $ SYSTEM_EVENT SYNONYM for V_ $ SYSTEM_EVENT

V $ thread synonym for v_ $ thread

V $ TIMER SYNONYM for V_ $ TIMER

V $ Transaction Synonym for v_ $ transaction

V $ TYPE_SIZE SYNONYM for V_ $ TY_SIZE

V $ Version Synonym for v_ $ VERSION

V $ Waitstat Synonym for v_ $ WaitStat

V $ _LOCK SYNONYM for V _ $ _ LOCK

转载请注明原文地址:https://www.9cbs.com/read-5657.html

New Post(0)