partion m200310 values less than (200311),
partion m200311 values less than (200312),  -->it is ?
partion m200312 values less than (maxvalue)

解决方案 »

  1.   

    oracle9i开始支持列表分区,参考以下:
    List Partitioning
    List partitioning enables you to explicitly control how rows map to partitions. You do this by specifying a list of discrete values for the partitioning key in the description for each partition. This is different from range partitioning, where a range of values is associated with a partition and from hash partitioning, where a hash function controls the row-to-partition mapping. The advantage of list partitioning is that you can group and organize unordered and unrelated sets of data in a natural way.The details of list partitioning can best be described with an example. In this case, let's say you want to partition a sales table by region. That means grouping states together according to their geographical location as in the following example.List Partitioning Example
    CREATE TABLE sales_list
    (salesman_id  NUMBER(5), 
    salesman_name VARCHAR2(30),
    sales_state   VARCHAR2(20),
    sales_amount  NUMBER(10), 
    sales_date    DATE)
    PARTITION BY LIST(sales_state)
    (
    PARTITION sales_west VALUES('California', 'Hawaii'),
    PARTITION sales_east VALUES ('New York', 'Virginia', 'Florida'),
    PARTITION sales_central VALUES('Texas', 'Illinois')
    PARTITION sales_other VALUES(DEFAULT)
    );详细资料:
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96524/c12parti.htm#460945