Professional Documents
Culture Documents
Less06 Schema TB
Less06 Schema TB
owns
HR schema
HR user
The following are in the same Each of the following have their
namespace: own namespace:
Tables Indexes
Views Constraints
Sequences
Clusters
Private synonyms
Stand-alone procedures Database triggers
Stand-alone stored functions Private database links
Packages Dimensions
Materialized views
User-defined types
• BINARY_FLOAT • RAW
• BINARY_DOUBLE • ROWID
• FLOAT • UROWID
• INTEGER • BLOB
• NCHAR • CLOB
• NVARCHAR2 • NCLOB
• LONG • BFILE
• LONG RAW • TIMESTAMP
REGIONS
REGION_ID (PK)
REGION_NAME
No
DML
1 Nondeferred constraints
checked
2 COMMIT issued
4 COMMIT complete
… WHERE key = 22
Row
Key pointer
22
22
Index Table
Index entry
Root
Branch
Table File 3
Block 10
Block 11
Index Block 12
start end
key ROWID ROWID bitmap
<Blue, 10.0.3, 12.8.3, 1000100100010010100>
<Green, 10.0.3, 12.8.3, 0001010000100100000>
<Red, 10.0.3, 12.8.3, 0100000011000001001>
<Yellow, 10.0.3, 12.8.3, 0010001000001000010>
COUNTRY table
V
iew
1001 1000000 1
1002 999995 2
1003 999990 3
1004 999985 4
1005 999980 5
1006 999975 6
1007 7
1008 8
1009
1010
1011
A temporary table:
• Provides storage of data that is automatically
cleaned up when the session or transaction ends
• Provides private storage of data for each session
• Is available to all sessions for use without
affecting each other’s private data