Академический Документы
Профессиональный Документы
Культура Документы
Table space:
Oracle database is divided into one or more logical storage units
called table spaces. Table spaces are divided into logical units of
storage called segments which further divided into extents
.extents are a collection of continous blocks.
Table :
Table is the one of the database object.
Table is a basic storage unit of database.
Table is collection of rows and columns
Types of tables in oracle
Heap table-----normal table
Object table-----create on object type
Index organized table----have primary and non parimary columns
same as btree index
Truncate vs delete
4. The high water mark level is just a line separate the used blocks and free blocks.
The blocks above the HWM level is free blocks, they are ready to use.
The blocks below the HWM level is used blocks, they are already used.
for example, if you delete some huge records from the database, that data will delete but the
blocks are not ready to used, because that blocks are still below HWM level, so delete
command never reset the HWM level,
At the same time you truncate the date, then the data will delete and that used blocks will goto
above the HWM level, now its ready to used. now they consider has free blocks.
Decode vs case
instance, but only one single instance will execute the job. In addition, you can force instance
binding by binding the job to a particular instance. You implement instance binding by specifying an
instance number to the instance affinity parameter. Note, however, that in Oracle Database 10g
Release 1 (10.1) instance binding is not recommended. Service affinity is preferred. This concept is
implemented in the DBMS_SCHEDULER package.
DBMS_JOB.SUBMIT
To submit a job to the job queue, use the following syntax:
DBMS_JOB.SUBMIT(
job
OUT
BINARY_INTEGER,
what
IN
interval
IN
no_parse
IN
instance
IN
force
IN