Error Split Partition

Hi,
i have oracle 10.2.0.1 client installed on my windows platform and i have 10.2.0.1 solaris database server.
when i lunch the following command from windows client's sqlplus:
ALTER SESSION SET TIME_ZONE='+01:00';
ALTER TABLE TABLE_TIME_STAMP SPLIT PARTITION "PARTITION_MAX" AT (TIMESTAMP'2007-09-08 11:59:59.999999999 +01:00') INTO (PARTITION "PARTITION_NEW" TABLESPACE TBS_USER_DEFAULT, PARTITION "PARTITION_MAX" TABLESPACE TBS_USER_DEFAULT) ;
I RECIVE THE FOLLOWING ERROR:
ORA-00604: error occurred at recursive SQL level 1
ORA-01882: timezone region not found
THE TABLE "TABLE_TIME" HAVE THE DATA TYPE OF COLUMN "COL" IS TIMESTAMP WITH LOCAL TIME_ZONE, AND I CREATE PARTITION ON THIS COLUMN.
iIF I EXECUTE THIS COMMAND ON THE SERVER'S SQLPLUS I DON'T RECIVE ERROR.

this statement fails on the client
ALTER TABLE TABLE_TIME_STAMP SPLIT PARTITION "PARTITION_MAX" AT (TIMESTAMP'2007-09-08 11:59:59.999999999 +01:00') INTO (PARTITION "PARTITION_NEW" TABLESPACE TBS_USER_DEFAULT, PARTITION "PARTITION_MAX" TABLESPACE TBS_USER_DEFAULT)

Similar Messages

  • Data load failure - SPLIT PARTITION  FAILED

    Hi ,
    We are trying to load data into PSA from R/3. But its giving the error "SPLIT PARTITION  FAILED".
    The basis has Confirmed that there are no space issues.
    Has Anybody faced this error.
    Regards,
    Mayank

    hi,
    as a first thought, i suggest you look at the incoming data, is it that values coming in records cannot be stored in existing partitions something like out of range.
    hope this helps
    purvang

  • Split partition  error!

    Hi,
    I'm trying to split a default partition TO_DELETE_NULL into partition TO_DELETE_Y should contains value 'Y'
    Created the partitions on to_delete column,
    ALTER TABLE PART_TEMP
    SPLIT PARTITION TO_DELETE_NULL VALUES ('Y')
    INTO (PARTITION TO_DELETE_Y, PARTITION TO_DELETE_NULL)
    Getting the error:
    ORA-14313: Value 'Y' does not exist in partition TO_DELETE_NULL
    But, here is the data,
    TO_DELETE     ID     SOURCE_ID     TEMP_ID
    Y     123     1     312
    Y     1     2     32
         123     1     312
         123     2     312
         123     2     32
         13     2     32
    please advice.

    Here is the formatted data No, it's not.
    Use the {noformat}{noformat}tag when you want to post formatted data.
    For example, when you type (or copy/paste):
    {noformat}select *
    from dual;
    {noformat}
    it will appear as:select *
    from dual;
    on this forum.
    See for FAQ for more tags: http://forums.oracle.com/forums/help.jspa                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • What are concequences of Split partition

    I am using 11.2.0.2 database.
    I got ORA-14074 error says that if you have a MAXVALUE already you will need to either drop the partition that encompasses the MAXVALUE or split partition.
    So I want to use split partition option through the below statement,
    alter table
    tablename
    split partition
    partmax at (XXX)
    into
    (partition partXXX, partition partmax);
    Please can somebody tell me the concequences of this statement.
    I am concerned about the existing data in the table will it by any change gets deleted, and what about indexes, do I have to rebuild, etc.
    I have to do this on produciton.
    I cannot test this as I don't have a test environment and moreover the table is having 70 million records and we don't have time/hardware resources to recreate this by export import in another database.
    Please advise on the bold above text.

    >
    Please can somebody tell me the concequences of this statement.
    I am concerned about the existing data in the table will it by any change gets deleted, and what about indexes, do I have to rebuild, etc.
    >
    No - no data will get deleted. As others have said there are options for keeping the indexes up-to-date or you can rebuild them.
    >
    I cannot test this as I don't have a test environment and moreover the table is having 70 million records and we don't have time/hardware resources to recreate this by export import in another database.
    >
    Total RUBBISH!
    That's the lamest excuse I have heard on the forums in a long time. You have several hours to post and thread and then wait to see if there is anyone you don't know and have never worked with that will respond but you don't have a couple of hours to do a simple test?
    Seventy million records is nothing and if you do the test on a PC using a version of Oracle that you can download for free.
    Anyone that doesn't test changes going into their production environment should NOT be working in this field: they should find a new line of work. That is incompetence at its worst.
    The SPLIT PARTTION test doesn't need a lot of data: just some data for each of the two resulting partitions. You can easily create a clone table using CTAS and then manually add the indexes.

  • Help with the split partition.

    Hi,
    I did a split partition on a table and when I tried to gather the stats on only the new partitions after rebuilding the index on the new partition
    which I created form split I am getting the error "ORA-01502: index 'PS.PS_MP_PACk_PK' or partition of such index is in unusable state".
    SQL> ALTER INDEX PS.PS_MP_PACk_PK rebuild partition PART_20100202;
    Index altered.
    SQL> exec dbms_stats.gather_table_stats('PS','PS_MP_PACk', 'PART_20100202');
    BEGIN dbms_stats.gather_table_stats('PS','PS_MP_PACk', 'PART_2010020
    2'); END;
    ERROR at line 1:
    ORA-12801: error signaled in parallel query server P017
    ORA-01502: index 'PS.PS_MP_PACk_PK' or partition of such index is in unusable state
    ORA-06512: at "SYS.DBMS_STATS", line 18408
    ORA-06512: at "SYS.DBMS_STATS", line 18429
    ORA-06512: at line 1
    Do I need to rebuild the indexes on all the previous partitions also ('PART_20100201'.'PART_20100131') , any help is appreciated.
    Thanks.

    Thanks a lot Robert. I rebuild indexes on all the new partitions which were created from split and I was able to gather stats on one partition and now I will continue for remaining partitions.

  • Blocking locks encountered while splitting partitions in 11g

    Background: I've taken over administration of a database that has several date-range partitioned tables that, suffering from a lack of proper administration, have not had their MAXVALUE partition split into the requisite monthly partitions, in almost a year. As a result, in some cases the MAXVALUE partition has 10 million rows (the monthly partitions should average 750K rows).
    My understanding is that the syntax I am using to perform the split, should allow for on-line access to the tables while the split is being performed. Here is my syntax without the actual table names:
    ALTER TABLE owner.table_name
    SPLIT PARTITION MAXVALUE AT
    (TO_DATE(' 2012-02-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
    INTO (PARTITION PART201201
    TABLESPACE tablespace
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255,
    PARTITION MAXVALUE) update indexes;
    Problem: In attempting to split the MAXVALUE partition into monthly partitions while the database is on-line and accessible, I see application sessions being blocked by my split session.
    So, is my understanding above incorrect? Is there some additional syntax that I am missing? Or, are the blocking locks I'm seeing merely transient in nature, and can be ignored? The server I'm running on is not very "beefy", and the split is taking quite a while to run.
    Any assistance would be appreciated.

    >
    Background: I've taken over administration of a database that has several date-range partitioned tables that, suffering from a lack of proper administration, have not had their MAXVALUE partition split into the requisite monthly partitions, in almost a year. As a result, in some cases the MAXVALUE partition has 10 million rows (the monthly partitions should average 750K rows).
    My understanding is that the syntax I am using to perform the split, should allow for on-line access to the tables while the split is being performed.
    Problem: In attempting to split the MAXVALUE partition into monthly partitions while the database is on-line and accessible, I see application sessions being blocked by my split session.
    So, is my understanding above incorrect? Is there some additional syntax that I am missing? Or, are the blocking locks I'm seeing merely transient in nature, and can be ignored? The server I'm running on is not very "beefy", and the split is taking quite a while to run.
    >
    DML that modifies the table cannot be performed on the table while the split is ongoing.
    Your bigger problem is that you are using the WRONG method for your use case. If you repeatedly split the MAXVALUE partition you will be repeatedly copying and moving the same ultimate MAXVALUE data over and over again.
    DBMS_REDEFINITION is one of your options. But since I just answered this same question 3 days ago see my reply in this thread for a more thorough discussion of your options.
    Re: Which is the Best method to Split Partition

  • Please help me to solve error: Split mapping created no messages

    Hi Experts,
    I am facing Split mapping created no messages  when i run my scenario.
    My Scenario is : Proxy to FILE.
    I am triggering Proxy and based on one condition i am generating different Flat Files.
    Now when i do this i am getting error :Split mapping created no messages in SXI_MONITOR.
    When i check this in Message Mapping by taking data from SXI_MONI its working fine...
    but when i trigger the data from RUNTIME WORKBENCH its throughing the error.
    When i remove the NameSpaces <ns0:message>
    and <ns0:messages1> its working fine.
    How can i solve this issue.
    Even though i removed Namespace in Message Type, i am getting the error.
    I changed occurance of Target message to O..unbounded both in Message Mapping and Interface Mapping.
    Its working fine in Message Mapping, problem occurs only when i run end-to-end scenario.
    So please help me to solve this issue.

    I think there might be mismatch between your name spaces.
    may be this link might help you
    Split mapping created no messages -Mluti Mapping
    are you getting the same structure from your proxies whatever structure you have in your XI structure(sender) and NS should match.
    but I dont have exp with proxies.
    Sri

  • Rolling back the creation of a split partition on a table

    Hi,
    I had some partitions created on a materialized view . I then split the last partition called FINAL into mulitiple other partitions. Now how can i drop the created split partitions without dropping FINAL.
    I am using Oracle 10g.

    You could ALTER TABLE tablename DROP PARTITION partitionname
    OR
    You could ALTER TABLE tablename MERGE PARTITION .... to merge them back.
    Hemant K Chitale

  • Bootcamp - I'm trying to install windows 8 on my MBPr but getting an error when partitioning the disk. 'An error occurred while partitioning the disk'

    I'm trying to install windows 8 on my MBPr but getting an error when partitioning the disk. 'An error occurred while partitioning the disk'

    You posted your Bootcamp question in the Macbook Pro forum. Your question has been asked and answered many times in the Bootcamp forum. https://discussions.apple.com/community/windows_software/boot_camp
    When you post in the Bootcamp forum include the complete and exact error message.

  • SPLIT PARTITION  creating the index in different Table Space

    I am splitting the table every month. After splitting the Index is also Splitting. (It is natural). But it is creating in default table Space.
    I want to split INDEX and creating into the index table space “ACTIVITY_IND_TS_1”
    CREATE TABLE PART
    PK_KEY NUMBER(15) NOT NULL,
    PK_ID NUMBER(1) NOT NULL
    TABLESPACE USERS PARTITION BY RANGE (PK_ID)
    PARTITION PK_ID_PRD1 VALUES LESS THAN (1)
    LOGGING
    TABLESPACE ACTIVITY_TAB_TS_1,
    PARTITION PK_ID_PRD2 VALUES LESS THAN (2)
    LOGGING
    TABLESPACE ACTIVITY_TAB_TS_1,
    PARTITION PK_ID_PRD3 VALUES LESS THAN (3)
    LOGGING
    TABLESPACE ACTIVITY_TAB_TS_1,
    PARTITION PK_ID_PRD4 VALUES LESS THAN (4)
    LOGGING
    TABLESPACE ACTIVITY_TAB_TS_1,
    PARTITION PK_ID_PRD_MAXVALUE VALUES LESS THAN (MAXVALUE)
    LOGGING
    TABLESPACE ACTIVITY_TAB_TS_1
    NOCACHE
    NOPARALLEL
    ENABLE ROW MOVEMENT;
    CREATE INDEX PART_IX ON PART(PK_ID)
    LOCAL (PARTITION PK_ID_PRD1 TABLESPACE ACTIVITY_IND_TS_1,
    PARTITION PK_ID_PRD2 TABLESPACE ACTIVITY_IND_TS_1,
    PARTITION PK_ID_PRD3 TABLESPACE ACTIVITY_IND_TS_1,
    PARTITION PK_ID_PRD4 TABLESPACE ACTIVITY_IND_TS_1,
    PARTITION PK_ID_PRD_MAXVALUE TABLESPACE ACTIVITY_IND_TS_1)
    PARALLEL
    NOLOGGING;
    select unique tablespace_name from user_tab_partitions; -- ACTIVITY_TAB_TS_1
    select unique tablespace_name from user_ind_partitions; -- ACTIVITY_IND_TS_1
    ALTER TABLE PART SPLIT PARTITION PK_ID_PRD_MAXVALUE
    AT (5) INTO (PARTITION PK_ID_PRD5, PARTITION PK_ID_PRD_MAXVALUE);
    select unique tablespace_name from user_tab_partitions; -- ACTIVITY_TAB_TS_1
    select unique tablespace_name from user_ind_partitions; -- ACTIVITY_TAB_TS_1 ACTIVITY_IND_TS_1
    Edited by: sk123 on May 5, 2009 1:05 PM

    Hello,
    Once you split partition you need to rebuild indexes if you want indexes to be in their own tablespaces
    ALTER TABLE PART
    SPLIT PARTITION PK_ID_PRD_MAXVALUE AT
    (6)
    INTO (PARTITION PK_ID_PRD5
           TABLESPACE ACTIVITY_TAB_TS_1
           PARTITION PK_ID_PRD_MAXVALUE);
    ALTER INDEX PART_IX
    REBUILD PARTITION PK_ID_PRD5
    TABLESPACE ACTIVITY_IND_TS_1;
    ALTER INDEX PART_IX
    REBUILD PARTITION PK_ID_PRD_MAXVALUE
    TABLESPACE ACTIVITY_IND_TS_1;Regards

  • Question for Ali Brown about split partition

    Ali:
    I thought that I was posting a new topic by changing the subject line but I saw that it didn't work--but it was already up in lights . . . . It's an amazing race, eh? Thanks for your previous reply, glad it's easy to do--please, informa me . . . . While replying to Warren P about his printer issues I saw that you are running a split partition in one of your computers. I have an Imac G4 with 10.1.5/9.22 that perhaps one day I'd like to bring up to 10.3.9, but keeping the OS 9 side intact. Is that a GUI type exercise or did it take a special program? I haven't look at Disc Util in my iMac to see how that might be done, nor have I searched Apple Database . . .. Seeing your hardware info just piqued my curiosity. Any links to info about how to do what you did?? Thanks.
    eep

    Hi Again eep!
    As I posted in the previous topic, my HD is not partitioned.
    OS 9 & OS X exist together, and my iMac is Dual-Boot.
    When I upgraded from 10.1.5, I did a Simple Update to Panther 10.3.x, and eventually updated to 10.3.9.
    Some info in these links:
    Mac OS X 10.3 installation (FAQ).
    About installation options. Basically the same for Panther 10.3.x.
    Tiger is available for purchase at The Apple Store (U.S.).
    Panther, is no longer available directly from the Apple Online Store, as Tiger 10.4.x is the most up to date OS.
    If you know what to look for, a Full Retail Version, of the Panther Install CDs, or a Full Retail Version, of the Tiger Install DVD, can also be purchased rather inexpensively, at some online Apple retailers, Amazon, eBay, AppleRescue, FastMac, etc.
    Be sure not to purchase grey, upgrade or machine specific CDs or DVDs.
    Panther is only on CDs, not DVDs.
    Unless purchased from AppleRescue, the discs should look exactly like the images in the above links, and not say Upgrade on them.
    Additional info in these links.
    Using OS X Install CDs/DVDs On Multiple Macs
    What's A Computer Specific Mac OS X Release
    Software Update, Upgrade: What's The Difference?
    Before upgrading to any OS X version, check to see if your Mac needs a Firmware Update.
    If one is required, you must start the computer from a Mac OS 8 or Mac OS 9 System Folder on the computer's hard disk, not from a CD, in order to install it.
    Once Panther 10.3.x is installed, you can use the 10.3.9 Combo Update, to upgrade to the final version.
    If your Mac meets the System Requirements for Tiger, you could also consider installing that.
    And then use the PPC 10.4.8 Combo Update, to upgrade to the current version.
    Panther System Requirements
    Additional Panther System Requirements
    Tiger System Requirements
    Additionally, "Tiger ships on a DVD, but if your Mac doesn’t have a built-in DVD-ROM player, you’ll need CD media. When you buy Mac OS X Tiger, you qualify to purchase Tiger CDs for only $9.95."
    Download the Media Exchange Program Order From Here.
    Orders must be mailed by March 19, 2007.
    AppleRescue, also sells a Tiger installation set on CD
    Shop Carefully, Examine All Documentation, And Good Luck!
    ali b

  • Segment space while splitting partition

    Hello,
    I am using Oracle Database version, 11.2.0.2
    I am facing issue while splitting non-empty partitions.
    Issue:
    While splitting the non-empty partitions, oracle by default assigning segment space of 8MB. On the other hand, while I split empty partition or create the new partition, it does not get the segment space.
    I am using range partitions, and requirement is such we need to create daily partitions. So, this eats up a lot of space of database and I want to avoid this.
    I checked on internet, its been written that one parameter is causing this change. i.e. "_partition_large_extents"
    I alter the session and put the above parameter as 'false', but still it doesn't help.
    Let me know, what I can do, while splitting partition and deferring the segment space.
    Thanks in advance

    Hi,
    It is discussed in bug
    Bug 12415287 - DEFERRED SEGMENT CREATION DOES NOT WORK ON SPLIT PARTITION
    As per the bug, this issue will be fixed in 11.2.0.4 version.
    Thanks,
    Krishna

  • Insufficient privileges - Split Partitioned IOT

    Hi,
    Can someone help me figuring this out. I'm trying to do a SPLIT PARTITION in a stored procedure.
    SQL> select * from v$version where rownum = 1;
    BANNER                                                         
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    1 row selected.This is my sample table:
    SQL> CREATE TABLE tab (
             period                NUMBER(13)         NOT NULL,
             check_id              VARCHAR2(4)        NOT NULL,
             opkr_number           NUMBER(7)          NOT NULL
          ,CONSTRAINT tab_pk PRIMARY KEY (period, check_id, opkr_number)
        ORGANIZATION INDEX COMPRESS 2
        PARTITION BY LIST (period)
           PARTITION tab_p72  VALUES(72),
           PARTITION tab_p73  VALUES(73),
           PARTITION tab_rest VALUES(DEFAULT));
    Table created.And I want to do this in my procedure:
    SQL> ALTER TABLE tab SPLIT PARTITION tab_rest VALUES(74) INTO (PARTITION tab_p74, PARTITION tab_rest);
    Table altered.
    SQL> ALTER TABLE tab DROP PARTITION tab_p74;
    Table altered.This attempt won't work:
    SQL> CREATE OR REPLACE PROCEDURE myproc
    AS
    BEGIN
       EXECUTE IMMEDIATE 'ALTER TABLE tab SPLIT PARTITION tab_rest VALUES(74) INTO (PARTITION tab_p74, PARTITION tab_rest)';
    END;
    Procedure created.
    SQL> exec myproc
    ORA-01031: insufficient privileges
    ORA-06512: at "XQL_STIK.MYPROC", line 4
    ORA-06512: at line 1Only if I put in AUTHID CURRENT_USER, it will. And this what I just cannot figure out.
    SQL> CREATE OR REPLACE PROCEDURE myproc2
    AUTHID CURRENT_USER
    AS
    BEGIN
       EXECUTE IMMEDIATE 'ALTER TABLE tab SPLIT PARTITION tab_rest VALUES(74) INTO (PARTITION tab_p74, PARTITION tab_rest)';
    END;
    Procedure created.
    SQL> exec myproc2
    PL/SQL procedure successfully completed.
    SQL> ALTER TABLE tab DROP PARTITION tab_p74;
    Table altered.It cannot be the ALTER TABLE privilege.
    SQL> create or replace procedure myproc3
    as
    begin
       execute immediate 'ALTER TABLE tab ADD x NUMBER';
    end;
    Procedure created.
    SQL> exec myproc3
    PL/SQL procedure successfully completed.
    SQL> DROP TABLE tab PURGE;
    Table dropped.Can anyone see what I'm missing?
    Edit: I can even do this, so it must have to do with the SPLIT (And this being an IOT)
    SQL> CREATE OR REPLACE PROCEDURE myproc4
    AS
    BEGIN
       EXECUTE IMMEDIATE 'ALTER TABLE tab DROP PARTITION tab_rest';
       EXECUTE IMMEDIATE 'ALTER TABLE tab ADD  PARTITION tab_p74 VALUES(74)';
    END;
    Procedure created.
    SQL> exec myproc4
    PL/SQL procedure successfully completed.Best regards
    Peter
    Edited by: Peter Gjelstrup on Feb 3, 2010 4:34 AM
    - Added DROP/ADD example

    Hi Herald,
    and Centinul.
    Thanks for that metalink. Looked promising, but I'm not sure. It seems that I can use ALTER SESSION, even in a SP.
    SQL> CREATE OR REPLACE PROCEDURE myproc5
    AS
    BEGIN
       EXECUTE IMMEDIATE 'ALTER SESSION SET NLS_LANGUAGE = american';
    END;
    Procedure created.
    SQL> select value
      from nls_session_parameters
    where parameter = 'NLS_LANGUAGE';
    VALUE                                  
    DANISH                                 
    1 row selected.
    SQL> set role none;
    Set role complete.
    SQL> exec myproc5
    PL/SQL procedure successfully completed.
    SQL> select value
      from nls_session_parameters
    where parameter = 'NLS_LANGUAGE';
    VALUE                                  
    AMERICAN                               
    1 row selected.
    SQL> select * from session_privs
    order by 1;
    PRIVILEGE                              
    CREATE MATERIALIZED VIEW               
    UNLIMITED TABLESPACE                   
    2 rows selected.
    SQL> set role all;
    Set role complete.
    SQL> select * from session_privs
    order by 1;
    PRIVILEGE                              
    ALTER SESSION                          
    CREATE CLUSTER                         
    CREATE INDEXTYPE                       
    CREATE MATERIALIZED VIEW               
    CREATE OPERATOR                        
    CREATE PROCEDURE                       
    CREATE SEQUENCE                        
    CREATE SESSION                         
    CREATE SYNONYM                         
    CREATE TABLE                           
    CREATE TRIGGER                         
    CREATE TYPE                            
    CREATE VIEW                            
    UNLIMITED TABLESPACE                   
    14 rows selected.Hmm..
    Edit:
    [Bug:1548539|https://support.oracle.com/CSP/main/article?cmd=show&type=BUG&id=1548539]
    Seems to indicate that CREATE TABLE is the thing I'm looking for.
    This seems to be consistent with what Bartek has.
    Can anyone confirm, by running some of my original test case with and without CREATE TABLE privilege?
    I'm sorry for asking for this final confirmation, unfortunately it would be quite painful for me to have some privileged user do that for me.
    Regards
    Peter
    Edited by: Peter on Feb 3, 2010 8:50 AM
    - Maybe CREATE TABLE?

  • Split partition

    hi
    Oracle 10.2.0.1.0
    from the link http://www.rampant-books.com/t_ault_39_partitions_alter_table.htm there is info like
    Modifying Table Partitions
    You can modify a table or table partition in any of the ways described in the subsections following. You cannot combine partition operations with other partition operations or with operations on the base table in one ALTER TABLE statement. You cannot move a partition with subpartitions; each subpartition must be individually moved.    
    Add Partition. Use ALTER TABLE ADD PARTITION to add a partition to the high end of the table (after the last existing partition). If the first element of the partition bound of the high partition is MAXVALUE, you cannot add a partition to the table. You must split the high partition.     
    You can add a partition to a table even if one or more of the table indexes or index partitions are marked UNUSABLE.     
    _*You must use the SPLIT PARTITION clause to add a partition at the beginning or the middle of the table.*_     can you please elaborate in the text above and why should we use split partition instead of add partition ? how can one know where the partition is being added like in beginning , middle etc ... how the concept of partition is handled .
    please help

    To further clarify, 'highest partition' is determined by the partition that can take the highest value of your partitioning key.
    Your table DDL, when specifying the partitions, would specify the partition limits something like this:
    PARTITION BY RANGE (EFFECTIVE_DATE)
      PARTITION PART_201005 VALUES LESS THAN (TO_DATE('2010-06-01', 'YYYY-MM-DD')),
      PARTITION PART_201006 VALUES LESS THAN (TO_DATE('2010-07-01', 'YYYY-MM-DD')),
      PARTITION PART_201007 VALUES LESS THAN (TO_DATE('2010-08-01', 'YYYY-MM-DD')),
      PARTITION PART_201008 VALUES LESS THAN (TO_DATE('2010-09-01', 'YYYY-MM-DD')),
      PARTITION PART_201009 VALUES LESS THAN (TO_DATE('2010-10-01', 'YYYY-MM-DD')),
      PARTITION PART_201010 VALUES LESS THAN (TO_DATE('2010-11-01', 'YYYY-MM-DD')),
      PARTITION PART_201011 VALUES LESS THAN (TO_DATE('2010-12-01', 'YYYY-MM-DD')),
      PARTITION PART_201012 VALUES LESS THAN (TO_DATE('2011-01-01', 'YYYY-MM-DD')),
      PARTITION PART_201101 VALUES LESS THAN (TO_DATE('2011-02-01', 'YYYY-MM-DD'))
    )Now, you can
    ALTER TABLE whatever ADD PARTITION PART_201102 VALUES LESS THAN  (TO_DATE('2011-03-01', 'YYYY-MM-DD'));because you are adding a partition higher than all the existing partitions.
    But you can not
    ALTER TABLE whatever ADD PARTITION PART_201004 VALUES LESS THAN  (TO_DATE('2010-05-01', 'YYYY-MM-DD'));because data eligible for that partition would already be eligible for (and possibly stored in) PART_201005. You would instead have to split partition PART_201005:
    ALTER TABLE whatever SPLIT PARTITION PART_201005
      AT   (TO_DATE('2010-05-01', 'YYYY-MM-DD'))
      INTO (PART_201004 , PART_201005 );With an ADD PARTITION there is no data to move - because data that can go into the new partition could never have gotten into the table, in any partition, before it was added. But with a SPLIT PARTITION the data must be checked and moved if necessary.
    Edited by: mtefft on Jan 20, 2011 10:20 AM (removed extraneous spaces)

  • [SOLVED] Upgrade hard drive: Grub error 22: Partition not found

    I'm trying to move to a different hard drive.  I booted a live cd, created the partitions, formatted, and used "cp -a" to copy all the files over.  I also updated the fstab on the new drive, and now I would expect everything to work.  However, I can't get past grub.
    When I boot up, I get "grub error 22: partition not found".
    Here is my setup ("Arch Linux - SSD" is the entry not working):
    menu.lst:
    # (0) Arch Linux
    title Arch Linux
    root (hd0,6)
    kernel /boot/vmlinuz26 root=/dev/sda7 ro vga=775
    initrd /boot/kernel26.img
    # (0) Arch Linux
    title Arch Linux - SSD
    root (hd1,2)
    kernel /boot/vmlinuz26 root=/dev/sdb3 ro vga=775
    initrd /boot/kernel26.img
    # (1) Arch Linux
    title Arch Linux Fallback
    root (hd0,6)
    kernel /boot/vmlinuz26 root=/dev/sda7 ro
    initrd /boot/kernel26-fallback.img
    cat /boot/grub/device.map
    (fd0) /dev/fd0
    (hd0) /dev/sda
    (hd1) /dev/sdb
    (hd2) /dev/sdc
    fdisk -l
    Disk /dev/sdb: 115.0 GB, 115033153536 bytes
    255 heads, 63 sectors/track, 13985 cylinders, total 224674128 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000d1ddc
    Device Boot Start End Blocks Id System
    /dev/sdb1 2048 8194047 4096000 82 Linux swap / Solaris
    /dev/sdb2 8194048 161794047 76800000 83 Linux
    /dev/sdb3 161794048 224673791 31439872 83 Linux
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x152104b0
    Device Boot Start End Blocks Id System
    /dev/sda1 * 2048 771975167 385986560 7 HPFS/NTFS/exFAT
    /dev/sda2 771987510 976768064 102390277+ 5 Extended
    /dev/sda5 968350068 976768064 4208998+ 82 Linux swap / Solaris
    /dev/sda6 813933288 968350004 77208358+ 83 Linux
    /dev/sda7 771987573 813933224 20972826 83 Linux
    Another note, is that grub-install takes a very long time to run after I update the menu.lst (5+ minutes), but the update does work without errors, and the new items do appear.
    Any help would be appreciated, I'm wondering if I've just been looking at it too long...
    Last edited by zhobbs (2011-05-11 19:40:04)

    I solved this by using the uuid instead of the root:
    # (0) Arch Linux
    title Arch Linux - SSD
    uuid 128a4425-c9ae-433f-b604-5488d55a14b3
    kernel /boot/vmlinuz26 root=/dev/sdb3 ro vga=775
    initrd /boot/kernel26.img
    Also, I got "grub-install" to run much faster by removing the fd0 from the device map.

Maybe you are looking for

  • How can I display all the columns on the screen without scrolling from side to side?

    My clinic software has many columns. How can I display all the columns without having to scroll from left to right all the time?

  • How to see .gift in iPad through keynotes

    hello some body help me how to see animated .gift in iPad through keynotes? miltonfrompr

  • DTP Short dump issue

    Hi Expert, I face a DTP shortdump issue on loading data from PSA to DSO The DSO is write optimize. DTP is using symantic loading and support 3 processor, pack size is default Situation is as below: 1. This issue occurs every two days. In some situati

  • Change of decimal places in productive system

    Hello We are on ECC 6.0 in a post Go Live environment. In our productive system we have set the decimal places to 2. For our business requirements, we would like to maintain 3 decimal places to 3 for Logistics modules (SD / MM & PP) where as we would

  • Flash chart__HELP guys atleast give me some hint.

    hi all, i have created a flash chart which contains four bars-'COMPANIES' 'BUSINESS UNITS' 'VENDORS' & 'CUSTOMERS'. The above four bars are from one table but all these bars represents four different tables also. please tell me how to create link in