Oracle. Table partitioning: Hash partition ____oracle

Source: Internet
Author: User

Oracle Table partitioning: Range Partitioning

Oracle. Table partitioning: Hash partitions

Oracle. Table partitions: List partitions

Oracle. Table partitions: Composite partitions

Oracle Table partitioning: manipulating partitioned tables


Allows users to partition data that does not have a logical scope
To determine a stored partition by executing a hash function on a partitioning key
Distribute data evenly to different partitions

Grammar:

PARTITION by HASH (column_name)
partitions number_of_partitions;

Or:
PARTITION by HASH (column_name)
(PARTITION part1 [tablespace tbs1],
  PARTITION part2 [tablespace TBS2],
  ... C4/>partition Partn [tablespace TBSN]);


Cases:
CREATE TABLE Employee
(
    employee_id varchar2 (5),
    employee_name varchar2,
    Department varchar2 (10 )
PARTITION by HASH (Department)
(
    PARTITION D1,
    PARTITION D2,
    PARTITION D3





Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.