DBAsupport.com Forums - Powered by vBulletin
Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: split partitions

  1. #11
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    Assuming the list of values for your new partition are not included in any one of your current partitions...
    Assuming the values you want to include in your new partition are 'XX', 'YY' and 'ZZ"...

    ALTER TABLE table_name
    SPLIT PARTITION rest VALUES ('XX', 'YY', 'ZZ')
    INTO
    ( PARTITION new_partition_name
    TABLESPACE tablespace_name,
    PARTITION rest
    STORAGE (PCTINCREASE 0)
    )
    ;
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

  2. #12
    Join Date
    Dec 2005
    Posts
    195
    Thanks much. It helped.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width