Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Range-&-Hash-partitioning tables partitioning key columns - Oracle Indexes and Partitioned Tables
Home
>>
Category
>>
Oracle (MCQ) questions and answers
>>
Oracle Indexes and Partitioned Tables
Q. How many partitioning keys columns are specified for range-and-hash-partitioning tables?
- Published on 27 Jul 15
a.
18
b.
14
c.
16
d.
17
ANSWER: 16
Related Content
Oracle DBA (
67
)
Oracle Replication (
19
)
Oracle Architecture (
20
)
Oracle Transaction (
40
)
Administering and Managing an Oracle Database (
25
)
Managing Oracle Database Processes (
8
)
Oracle Control Files (
27
)
Oracle Redo Log (
23
)
Oracle Tablespaces (
24
)
Oracle Datafiles and Tempfiles (
13
)
Oracle Managed Files (
11
)
Oracle Schema (
26
)
Oracle Tables (
13
)
Oracle Indexes and Partitioned Tables (
24
)
Oracle Clusters (
24
)
Oracle Views, Sequences, and Synonyms (
15
)
Oracle Distributed Database concepts (
28
)
Discussion
Nirja Shah
-Posted on 29 Sep 15
- For range- and hash-partitioned tables, you can specify up to 16 partitioning key columns.
- Multicolumn partitioning should be used when the partitioning key is composed of several columns and subsequent columns define a higher granularity than the preceding ones.
- The most common scenario is a decomposed DATE or TIMESTAMP key, consisting of separated columns, for year, month, and day.
- In evaluating multicolumn partitioning keys, the database uses the second value only if the first value cannot uniquely identify a single target partition, and uses the third value only if the first and second do not determine the correct partition, and so forth.
- A value cannot determine the correct partition only when a partition bound exactly matches that value and the same bound is defined for the next partition.
- The nth column will therefore be investigated only when all previous (n-1) values of the multicolumn key exactly match the (n-1) bounds of a partition.
- A second column, for example, will be evaluated only if the first column exactly matches the partition boundary value.
- If all column values exactly match all of the bound values for a partition, the database will determine that the row does not fit in this partition and will consider the next partition for a match.
➨
Post your comment / Share knowledge
Required!
Required!
Invalid Email Id!
Required!
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
MCQs
English
Tutorials
Download
▲