Home > Ask the Oracle Experts > Database Design and Architecture Questions & Answers > Questions about partitions, indexes, and parallelism
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Questions about partitions, indexes, and parallelism

Brian Peasland EXPERT RESPONSE FROM: Brian Peasland

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 13 December 2004
In a true data warehouse environment:
  1. What is the role of the partition? What are different types of partitions, and how, when and where do you use a partition (both primary and secondary)?
  2. What are the different types of indexes?
  3. What is paralelism?

>
EXPERT RESPONSE

Your questions are very broad and would take a long time to answer fully. I'll give a brief answer to each question, and then I'll refer you to the relevant Oracle documentation for further investigation.

Partitions work by breaking a table down into smaller pieces. This accomplishes two tasks. One, if you only need data in one partition, then the entire table does not need to be read, only the partition(s) that contains the data you are interested in. This helps performance.

Two, if you spread your paritions on multiple disk volumes and you lose one disk volume, your application only loses some data, not all of it. This helps with availability.

There are three basic partitioning schemes. You can partition by range, by a list, or by a hashing algorithm. An example of partitioning by range would be to store this year's data in one partition, last year's data in another and so on. When I look for data that is in the range of Jan 1, 2003 to Dec 31, 2003 then I know that the data is in last year's partition. List partition lets you define a list of values to denote the data in each partition. For instance, I might partition my data based on the COUNTRY. The NORTH_AMERICA partition would contain UNITED STATES, CANADA, and MEXICO data. The EUROPE partition would contain UNITED KINGDOM, FRANCE, SPAIN, etc. Hash parition evenly distributes all of your data using a hash function.

For more information on partition, refer to the Oracle Concepts guide, particularly Chapter 18, Partitioned Tables and Indexes. You can find this chapter here:

http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10743/partconc.htm#sthref2561

There are a number of index types available in Oracle. You have B-tree indexes, Bitmap indexes, Join Indexes, Index-Organized tables, just to name a few. For more information on index, I refer you to the Oracle Concepts guide again, particularly this topic:

http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10743/schema.htm#sthref883

Parallelism mean using more than one CPU to complete a CPU-intensive operation quicker. The work is broken down into multiple pieces and then run on multiple CPUs. When all of the pieces have completed, a coordinator puts all of the pieces back together again. Again, the Oracle Concepts guide contains more information:

http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10743/bus_intl.htm#sthref2481


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Database Design and Architecture
Why am I getting the ORA-03113 error when trying to refresh a materialized view?
Receiving the ORA-01652 error with no specified tablespace
Why am I getting an Oracle error when issuing the RECOVER DATABASE command?
Can I add multiple datafiles and make use of all the temporary datafiles at the same time?
What's the best tape backup strategy for 10g RAC?
Checkpoint vs. commit process
How does an INSERT/UPDATE statement behave when executed compared to a SELECT statement?
Can I resize the SYSTEM tablespace?
What is the difference between an instance and mounting in Oracle?
How to implement a ref cursor called in a stored procedure

Oracle database design
Weighing remote database administration pros and cons takes care
Oracle Database 11g makes waves at Burlington Coat Factory
How to create a database link in Oracle
Data modeling tools no substitute for hard work
How do I do that in Oracle?
The Oracle Database user's guide to Oracle OpenWorld 2007
Oracle OpenWorld 2007 Special Report
How many redo log files?
How to move tables from system tablespace to user tablespace
ORA-12560 error with Oracle 10g Instant Client

Other availability strategies
Creating a standby database in 10g
Steps for database replication
Service levels and resources: A decade of mismatch
Keeping data recovery site active
Data warehousing possible on a disaster recovery hot site?
Replication for high availability
Configure Data Guard on Windows NT
Know-IT-all Chapter Quiz #2: Backup and recovery for high availability
Hardware clustering vs. replication: A case study
All about partitioning

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
extent  (SearchOracle.com)
field  (SearchOracle.com)
flexfield  (SearchOracle.com)
foreign key  (SearchOracle.com)
quad tree  (SearchOracle.com)
record  (SearchOracle.com)
row  (SearchOracle.com)
splay tree  (SearchOracle.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts