DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: Question On Alter Table

  1. #1
    Join Date
    Jan 2001
    Posts
    642
    Hi,

    I have to break a given big table into 2 partitions. So I would like to know from you, if it is possible to partition the existing table into to 2 tablespaces. If possible, please give me the script for the
    Alter table

    Thanks in advance
    Badrinath

  2. #2
    Join Date
    Jan 2001
    Posts
    642
    Please read the above question as


    Is it possible to partition the existing table spaning to 2 tablespaces using the alter table command?

    I am using oracle 8.1.6
    Badrinath


  3. #3
    Join Date
    Feb 2001
    Location
    Bangalore, India
    Posts
    109
    You can't place the data of a single table (unless it is partitioned table) in different tablespaces. But, it is possible to allocate extents for the same table in diffent datafiles of the same tablespace.

  4. #4
    Join Date
    May 2000
    Location
    ATLANTA, GA, USA
    Posts
    3,135
    You can partition a table based on certain key column value.
    And each partition can be placed into different tablespace.

  5. #5
    Join Date
    Jun 2000
    Posts
    295
    You cannot do it directly, but you:

    1: create a parition table with same logical as
    your original table with one partition whose
    partitioned key is larger than max(PK_ORIGINAL_TABLE)
    2. alter table exchange partition with table
    command to exchange with your original table
    3. split the partition

    Hope it helps!

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