d330 oracle db metadata

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/22

flashcard set

Earn XP

Description and Tags

d330 oracle db metadata

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

23 Terms

1
New cards

Who owns the data dictionary and dynamic performance views in Oracle?

The SYS user, and they are stored in the SYSTEM tablespace.

2
New cards

What are the prefixes for data dictionary views?

DBA_, ALL_, and USER_.

3
New cards

What does the DBA_OBJECTS view show?

Information on all the objects in the database.

4
New cards

What does the ALL_OBJECTS view show?

Objects that a particular database user owns or can access.

5
New cards

What does the USER_OBJECTS view show?

Only the objects owned by the user.

6
New cards

What does the DBA_TABLES view show?

Names and physical storage information about all the tables in the database.

7
New cards

What does the DBA_USERS view show?

Information about all the users in the database.

8
New cards

What does the DBA_VIEWS view show?

Information about all the views in the database.

9
New cards

What does the DBA_TAB_COLUMNS view show?

Names and datatypes of all the table columns in the database.

10
New cards

What does the DBA_TABLESPACES view show?

Information on tablespaces in the database.

11
New cards

What does the DBA_DATA_FILES view show?

Information on the data files belonging to the database.

12
New cards

What are dynamic performance tables in Oracle?

Virtual tables that record current database activity and status.

13
New cards

What prefix do dynamic performance tables have?

X$.

14
New cards

What prefix do dynamic performance views have?

V_$.

15
New cards

What prefix do public synonyms for dynamic performance views have?

V$.

16
New cards

What does the V$DATABASE view show?

Information about the database, such as its name and creation date.

17
New cards

What does the V$VERSION view show?

The software version the database is using.

18
New cards

What does the V$OPTION view show?

Which optional components are installed in the database.

19
New cards

What does the V$SQL view show?

Information about SQL statements issued by database users.

20
New cards

Where are the scripts to create the data dictionary and dynamic performance views stored?

In the $ORACLE_HOME/rdbms/admin directory.

21
New cards

What script creates the base dictionary objects?

catalog.sql.

22
New cards

What does the catproc.sql script do?

Creates the PL/SQL package.

23
New cards

Which SYS-owned table can you delete records from?

AUD$, which is used to store database audit information.