In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "what are the knowledge points of database system tables and data dictionaries". Interested friends might as well take a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "what are the knowledge points of database system tables and data dictionaries?"
1. System table
The system parameters of the ORACLE database are stored in the database, which can be queried by the user SYSYTEM through SQLPLUS. Several important tables or views are as follows:
V$controlfile: control file information
V$datafile: information for data files
V$log: information about log files
V$process: processor information
V$session: session information
V$transaction: transaction information
V$resource: resource information
V$sga: information about the global area of the system.
The 'vested characters' in the view name above are just the characters in the view name. There are many more similar to the above view or table, located in:
$ORACLE_HOME/RDBMS/ADMIN/CATALOG.SQL file.
These views or tables can be queried in SQLPLUS using a select statement.
two。 Data dictionary view
Tables and columns
DBA_TABLES, ALL_TABLES, and USER_TABLES show general information about database tables.
DBA_TAB_COLUMNS, ALL_TAB_COLUMNS, and USER_TAB_COLUMNS display information about the columns of each database table.
Note: DBA_OBJECTS, ALL_OBJECTS, and USER_OBJECTS display information about schema objects, including tables.
Integrity constraint
DBA_CONSTRAINTS, ALL_CONSTRAINTS, and USER_CONSTRAINST display general information about constraints.
DBA_CONS_COLUMNS, ALL_CONS_COLUMNS, and USER_CONS_COLUMNS display general information about column-related constraints.
View
DBA_VIEWS, ALL_VIEWS and USER_VIEWS.
Note: DBA_OBJECTS, ALL_OBJECTS, and USER_OBJECTS display information about the schema object, including the view.
Sequence
DBA_SEQUENCES, ALL_SEQUENCES and USER_SEQUENCES.
Note: DBA_OBJECTS, ALL_OBJECTS, and USER_OBJECTS display information about schema objects, including sequences.
Synonym
DBA_SYNONYMS, ALL_SYNONYMS and USER_SYNONYMS.
Note: DBA_OBJECTS, ALL_OBJECTS, and USER_OBJECTS display information about schema objects, including synonyms.
Indexes
DBA_INDEXS, ALL_INDEXS, USER_INDEXS, DBA_IND_COLUMNS, ALL_IND_COLUMNS and USER_IND_COLUMNS.
User
DBA_USERS .
Role
DBA_ROLES .
Table space quota
DBA_TS_QUOTAS .
Configuration table
DBA_PROFILES .
Tablespace
DBA_TABLESPACES .
Data file
DBA_DATA_FILES .
Segment
DBA_SEGMENTS 、 USER_SEGMENT .
Rollback segment
DBA_ROLLBACK_SEGS 、 V$ROLLNAME 、 V$ROLLSTAT .
At this point, I believe you have a deeper understanding of "what are the knowledge points of database system tables and data dictionaries?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.