ORA-14006 partitions

I am trying to create a cleaning procedure... but I have some problems in partition walls...

When I try this

ALTER table split partition (P_SAFE_DATA) prova
to TO_DATE ('2009-07-03 00:00:00 ',' ' SYYYY-MM-DD HH24:MI:SS)
in (P_SAFE, partition partition P_2009070300)
update global indexes;

I have this...

SQL error: ORA-14006: invalid partition name
14006 00000 - "invalid partition name.
* Cause: a name of the form < ID > partition is
expected, but does not exist.
* Action: enter an appropriate partition name.


What's wrong???
THX


Ah,., .if can help
Oracle 10 g 2

Published by: Ciuoto on January 15, 2009 03:31

Remove bracket from the name of the partition:

ALTER table split partition P_SAFE_DATA prova

Tags: Database

Similar Questions

  • Move the partition of the table and get ORA-14006: invalid partition name

    I'm using oracle 11.2.0.4 and I am trying to move a partitioned table to one tablespace to another.  I checked may times and I have the correct table name and the name of the partition.  However, I get the error ora-14006.

    Can see everything what could be the problem?

    SQL > ALTER TABLE GWPROD. QRY_TES_ROLLINGCUREDITS MOVE PARTITION 201112 TABLESPACE GW_PROD_T2 PARALLEL (DEGREE 4) NOLOGGING;

    ALTER TABLE GWPROD. QRY_TES_ROLLINGCUREDITS MOVE PARTITION TABLESPACE GW_PROD_T2 PARALLEL (DEGREE 4) NOLOGGING 201112

    *

    ERROR on line 1:

    ORA-14006: invalid partition name

    Thanks in advance.

    Names that begin with numbers are not legal partition names. A fool created by placing them between double quotes. You will need to do the same.

  • IKM Partition Oracle Exchange Error loading - ORA-14006: invalid partition name

    Hello

    I use ODI Standalone Edition Version 11.1.1

    I've created an interface, the target table's partition.

    DDL script

    CREATE TABLE big_table2)

    ID NUMBER (10),

    CREATED_DATE DATE,

    lookup_id NUMBER (10),

    given VARCHAR2 (50)

    )

    PARTITION OF RANGE (created_date)

    (PARTITION big_table_2007 VALUES LESS THAN (MAXVALUE));

    the performance of the interface error: -.

    InternalCZ_SC_CONSULTINGjar:file:/D:/Oracle/middleware/Oracle_ODI1/oracledi/client/jdev/extensions/Oracle.ODI.Navigator.jar!/com/Sunopsis/graphical/gif/State/f_error.gif2015-01-28 10:58:38.02015-01-28 10:59:08.03014006ODI-1226: step INT_EXCH_PART fails after 1 attempt.

    ODI-1240: Flow INT_EXCH_PART fails during an operation of integration. This flow of charge table BIG_TABLE2 target.

    ODI-1228: failed INT_EXCH_PART (integration) task on the target of ORACLE ODI_STAGE connection.

    Caused by: java.sql.SQLException: ORA-14006: invalid partition name

    ORA-06512: at line 2

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3954)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1539)
    at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
    at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:662)
    10000000000invalid partition error.JPG

    Please can I know what is the problem.

    Put your name of the partition in upper case and double coate as:

    'BIG_TABLE_2007 '.

    The capital should not be a problem, but it is better to be like that because it will store like this in the table USER or ALL_TAB_PARTITIONS.

    This makes it easier to compare if you need to check if a partition already exists or not.

    Hope this can help you.

  • ORA-14030: partitioning column does not exist in the CREATE TABLE statement

    Hi all

    We are trying to create a partition materialized view and get an error below.
    ORA-14030: partitioning column does not exist in the CREATE TABLE statement
    Our GL_BALANCES21 and GL_CODE_COMBINATIONS21 base tables is already divided by interval of the range on Code_combination_id.
    In the same way that we try to partition the view materialized
    We get the error.
    ORA-14030: partitioning column does not exist in the CREATE TABLE statement
    Where the clause there are 4 tables gl_balances21, gl_code_combinations21, gl_periods and gl_set_of_books.


    CREATE MATERIALIZED VIEW apps. BAL_PART
    PARTITION BY RANGE ("CODE_COMBINATION_ID")
    (SCORE LOWER (80000) VALUES,
    PARTITION OF LOWER VALUES (160000),
    PARTITION OF LOWER VALUES (240000),
    PARTITION OF LOWER VALUES (320000),
    PARTITION OF LOWER VALUES (400000),
    PARTITION OF LOWER VALUES (480000),
    PARTITION OF LOWER VALUES (560000),
    PARTITION OF LOWER VALUES (640000),
    PARTITION OF LOWER VALUES (720000),
    PARTITION OF VALUES LESS THAN (800000),
    PARTITION OF LOWER VALUES (880000),
    PARTITION OF LOWER VALUES (960000),
    PARTITION OF VALUES LESS THAN (10400000),
    PARTITION OF LOWER VALUES (11200000),
    PARTITION OF LOWER VALUES (12000000),
    PARTITION OF LOWER VALUES (12800000),
    PARTITION OF VALUES LESS THAN (13600000),
    PARTITION OF LOWER VALUES (14400000),
    PARTITION OF VALUES LESS THAN (15200000),
    PARTITION OF LOWER VALUES (16000000),
    PARTITION OF VALUES LESS THAN (16800000),
    PARTITION OF VALUES LESS THAN (17600000),
    PARTITION OF VALUES LESS THAN (18400000),
    PARTITION OF VALUES LESS THAN (19200000),
    PARTITION OF LOWER VALUES (20000000),
    PARTITION OF VALUES LESS THAN (20800000),
    PARTITION OF VALUES LESS THAN (21600000),
    PARTITION OF VALUES LESS THAN (22400000),
    PARTITION OF VALUES LESS THAN (23200000),
    PARTITION OF LOWER VALUES (24000000),
    PARTITION OF VALUES LESS THAN (24800000),
    PARTITION OF VALUES LESS THAN (25600000),
    PARTITION OF VALUES LESS THAN (26400000),
    PARTITION OF LOWER VALUES (27200000),
    PARTITION OF LOWER VALUES (28000000),
    PARTITION OF VALUES LESS THAN (28800000),
    PARTITION OF VALUES LESS THAN (29600000),
    PARTITION OF VALUES LESS THAN (30400000),
    PARTITION VALUES LESS THAN (MAXVALUE))
    QUICKLY REFRESH ON DEMAND
    SELECT the QUERY REWRITE as
    SELECT GL.GL_CODE_COMBINATIONS21. ROWID C1,
    GL.GL_BALANCES21. ROWID C2,
    "GL". "" GL_BALANCES21 ". "" ACTUAL_FLAG, "
    "GL". "" GL_BALANCES21 ". "" CURRENCY_CODE "
    "GL". "" GL_BALANCES21 ". "" PERIOD_NUM, "
    "GL". "" GL_BALANCES21 ". "" PERIOD_YEAR ".
    "GL". "" GL_BALANCES21 ". "" SET_OF_BOOKS_ID ""SOB_ID"
    "GL". "" GL_CODE_COMBINATIONS21 ". "" CODE_COMBINATION_ID ""CCID.
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT1 ",.
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT10, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" DIRECTION11, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT12, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT13, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT14, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT2 ",.
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT3. "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT4, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT5, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT6, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT7. "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT8, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT9, "
    "GL". "" "" GL_PERIODS '. "" PERIOD_NAME,"
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_CR', 0) Open_Bal_Cr,
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_CR', 0) +.
    NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_CR', 0) Close_Bal_Cr,
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_DR', 0) Open_Bal_Dr,
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_DR', 0) +.
    NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_DR', 0) Close_Bal_Dr,
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_DR', 0).
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_CR', 0) Open_Bal,
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_DR', 0).
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_CR', 0) +.
    NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_DR', 0).
    NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_CR', 0) Close_Bal,
    NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_CR', 0) Period_Cr,
    NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_DR', 0) Period_Dr
    OF GL.GL_CODE_COMBINATIONS21.
    GL.GL_BALANCES21,
    GL.GL_SETS_OF_BOOKS,
    GL.GL_PERIODS
    WHERE GL.GL_BALANCES21. CODE_COMBINATION_ID = GL.GL_CODE_COMBINATIONS21. CODE_COMBINATION_ID
    AND GL.GL_SETS_OF_BOOKS. SET_OF_BOOKS_ID = GL.GL_BALANCES21. SET_OF_BOOKS_ID
    AND GL.GL_PERIODS. PERIOD_NUM = GL.GL_BALANCES21. PERIOD_NUM
    AND GL.GL_PERIODS. PERIOD_YEAR = GL.GL_BALANCES21. PERIOD_YEAR
    AND GL.GL_PERIODS. PERIOD_TYPE = GL.GL_BALANCES21. PERIOD_TYPE
    AND GL.GL_PERIODS. PERIOD_NAME = GL.GL_BALANCES21. PERIOD_NAME
    AND GL.GL_PERIODS. PERIOD_SET_NAME = GL.GL_SETS_OF_BOOKS. PERIOD_SET_NAME
    and gl.GL_CODE_COMBINATIONS21.summary_flag! = « Y »

    ERROR on line 54:
    ORA-01013: user has requested the cancellation of the current operation

    I checked the metalink note saying that ensure that all columns in a partitioning column list are columns of
    the table being created.

    Partition is already there, on the column of code_combination_id of gl_balances21 and gl_code_combinations21.

    Please suggest.

    Thank you

    It's your mistake:

    PARTITION BY RANGE ("CODE_COMBINATION_ID") 
    

    but in your projection of column list, you have an alias he:

    "GL"."GL_CODE_COMBINATIONS21"."CODE_COMBINATION_ID" "CCID",
    

    You must use the alias as a partition key, not the name fom the secondary table column.
    --
    John Watson
    Oracle Certified Master s/n
    http://skillbuilders.com

  • ORA-14080: partition cannot be split along the specified high limit

    Hi guys,.

    I try to divide a new partition MD_PROV_201207, but hit error ORA-14080: partition cannot be split along the specified upper limit.
    My code as below, please help make sure my code is there any problem. Thank you.

    ALTER TABLE SPLIT PARTITION abc_201206 table_owner.abc
    AT (TO_DATE ('20120801', 'SYYYYMMDD'))
    INTO (PARTITION tbsp_abc, PARTITION abc_201207 TABLESPACE tbsp_abc TABLESPACE abc_201206);


    HIGH_VALUE PARTITION_POSITION NOM_PARTITION
    --------------- ------------------------------ --------------- ------------------------- ------------------ ------------------------------
    abc_201203 '20120401' 1
    abc_201204 '20120501' 2
    abc_201205 '20120601' 3
    abc_201206 '20120701' 4
    MAXVALUE DEF 5

    SagiGal wrote:
    Error again.

    ALTER TABLE SPLIT PARTITION DEF table_owner.abc
    AT (TO_DATE ('20120801', 'SYYYYMMDD'))
    IN (PARTITION, PARTITION DEF abc_201207)
    ;

    ERROR on line 1:
    ORA-14080: partition cannot be split along the specified high limit

    Is the partition that I shared is incorrect?

    Seems that you have high bound
    Action: make sure the limit along which a partition is to be shared together
    lower than that of the partition to be sliced and higher than that of a
    partition immediately preceding the one to be split

    See also Metalink
    ORA-14080 during an attempt to split a Partition. [100299.1 ID]

    Osama...

  • ORA-14080 partition cannot be divided along the upper limit

    Hello

    Oracle 11.2.0.3

    After a table

    We want to split the partition PART_201610 on for each month

    Issuing command

    ALTER table RETAILER_TRANSACTION

    Split partition PART_201610

    to (to_date('01-MAY-2016','DD-MON-YYYY'))

    into (partition RTRN_PART_201604, partition PART_201610 tablespace PART_201604)

    Ora-14080 getting partition cannot be split along the specified upper limit.

    Anyone know why this is?

    Thank you

    partitions on the table below.

    partition values PART_201603 less (TO_DATE (' 2016-04-01 00:00:00 ',' SYYYY-MM-DD HH24:MI:SS ',' NLS_CALENDAR = GREGORIAN '))

    tablespace RTRN_PART_201603

    PCTFREE 0

    INITRANS 1

    maxtrans 255

    (

    SUBPARTITION SYS_SUBP65343 tablespace RTRN_PART_201603,

    SUBPARTITION SYS_SUBP65344 tablespace RTRN_PART_201603,

    SUBPARTITION SYS_SUBP65345 tablespace RTRN_PART_201603,

    SUBPARTITION SYS_SUBP65346 tablespace RTRN_PART_201603

    ),

    partition values PART_201610 less (TO_DATE (' 2016-11-01 00:00:00 ',' SYYYY-MM-DD HH24:MI:SS ',' NLS_CALENDAR = GREGORIAN '))

    tablespace RTRN_PART_201610

    PCTFREE 0

    INITRANS 1

    maxtrans 255

    (

    SUBPARTITION SYS_SUBP65333 tablespace RTRN_PART_201610,

    SUBPARTITION SYS_SUBP65334 tablespace RTRN_PART_201610,

    SUBPARTITION SYS_SUBP65335 tablespace RTRN_PART_201610,

    SUBPARTITION SYS_SUBP65336 tablespace RTRN_PART_201610

    ),

    partition values PART_400012 less (TO_DATE (' 4001-01-01 00:00:00 ',' SYYYY-MM-DD HH24:MI:SS ',' NLS_CALENDAR = GREGORIAN '))

    tablespace RTRN_PART_400012

    PCTFREE 0

    INITRANS 1

    maxtrans 255

    (

    SUBPARTITION SYS_SUBP12390 tablespace RTRN_PART_400012,

    SUBPARTITION SYS_SUBP12391 tablespace RTRN_PART_400012,

    SUBPARTITION SYS_SUBP12392 tablespace RTRN_PART_400012,

    SUBPARTITION SYS_SUBP12393 tablespace RTRN_PART_400012

    )

    Please mark this thread ANSWERED so that others know that we.

  • FDPSTP failed due to the ORA-02149: specified partition does not exist

    EBS R12.1.3
    Database 11.2.0.2
    Error message
    **Starts**23-JUL-2012 16:49:21
    ORACLE error 2149 in FDPSTP
    
    Cause: FDPSTP failed due to ORA-02149: Specified partition does not exist
    ORA-06512: at "SYSTEM.AD_DDL", line 165
    ORA-06512: at "APPS.MSC_MANAGE_PLAN_PARTITIONS", line 371
    ORA-14074: partition bound must collate higher than th
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    j := 1
    table := MSC_ATP_SUMMARY_SO
    partition_name : ATP_SUMMARY_SO__1
    l_count := 1
    Partition for instance 1 already exists
    table := MSC_ATP_SUMMARY_SD
    partition_name : ATP_SUMMARY_SD__1
    l_count := 1
    Partition for instance 1 already exists
    l_share_partition := N
    plan count := 0
    After Create Partitions
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+

    901629 wrote:
    EBS R12.1.3
    Database 11.2.0.2
    Error message

    **Starts**23-JUL-2012 16:49:21
    ORACLE error 2149 in FDPSTP
    
    Cause: FDPSTP failed due to ORA-02149: Specified partition does not exist
    ORA-06512: at "SYSTEM.AD_DDL", line 165
    ORA-06512: at "APPS.MSC_MANAGE_PLAN_PARTITIONS", line 371
    ORA-14074: partition bound must collate higher than th
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    j := 1
    table := MSC_ATP_SUMMARY_SO
    partition_name : ATP_SUMMARY_SO__1
    l_count := 1
    Partition for instance 1 already exists
    table := MSC_ATP_SUMMARY_SD
    partition_name : ATP_SUMMARY_SD__1
    l_count := 1
    Partition for instance 1 already exists
    l_share_partition := N
    plan count := 0
    After Create Partitions
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    

    How do you get this error?

    Please see (INSTALLER ALERT - setting the APS scores upward and Instance of Collections of data in R12 [552415.1 ID]).

    Thank you
    Hussein

  • How to use the PARTITION of EXCHANGE IKM

    Hi all

    I use IKM EXCHANGE PARTITION to load lots of data from a table that is not partitioned for a partitioned table.

    Is there any step that I have to follow?

    I put the source table in the source area and the target in the area.

    I select the IKM and run the task.

    Cattura.JPG

    ODI-1228: Prova_exch (Integrazione) of the task fails when the target SASSYS ORACLE connection.
    Caused by: java.sql.SQLException: ORA-14006: invalid partition name
    ORA-06512: at line 1

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1512)
    at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java:712)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeUpdate(SnpSessTaskSql.java:3470)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java:1877)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:3056)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java:68)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2623)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:745)

    This is the code:

    Start

    run immediately ' ALTER TABLE SASKPI. TEST_MILA SWAP WITH SASKPI TABLE PARTITION. I HAVE _TEST_MILA $ WITH VALIDATION';

    end;

    It's like ODI is unable to get the name of the Partition

    The following article describes how to properly use the KM

    http://www.Ateam-Oracle.com/using-Oracle-partition-Exchange-with-Oracle-data-integrator-ODI/

  • Swap partition

    Hello

    Oracle 10g.

    I am trying to exchange the partition of a partitioned table list with table paritioned/list of beaches. Any help will be appreciated... your
    CREATE TABLE list_part (
    rid  NUMBER,
    ename VARCHAR2(10),
    jdate DATE,
    dept VARCHAR2(3)
    )
    PARTITION BY LIST (dept)(
    partition p1 VALUES ('VV'));
    
    INSERT 
    INTO new_part
    SELECT 100 + rownum, 'abc'||rownum, sysdate, 'VV'
    FROM user_tables s1
    WHERE rownum <= 1000;
    
    CREATE TABLE range_list_part (
    rid  NUMBER,
    ename VARCHAR2(10),
    jdate DATE,
    dept VARCHAR2(3)
    )
    PARTITION BY RANGE (jdate)
    SUBPARTITION BY LIST (dept)
    (
    PARTITION p_jdate_2910 VALUES LESS THAN  (TO_DATE('29-DEC-2010', 'DD-MON-YYYY')) 
    (SUBPARTITION p_dept VALUES
    (
    'VV1'
    )));
    
    ALTER TABLE range_list_part
    EXCHANGE PARTITION
    FOR (TO_DATE('29-DEC-2010','DD-MON-YYYY'))
    WITH TABLE list_part
    WITH VALIDATION;
    
    giving me error ORA-14006: invalid partition name
    your

    Atul K wrote:

    Could you please show an example of "you can convert a list partitioned table into a partition of a range-list partitioned table.

    drop table pt_rl;
    drop table pt_l;
    
    create table pt_rl (
         state_id     varchar2(2)     not null,
         date_loaded     date,
         padding          varchar2(100)
    )
    partition by range (date_loaded)
    subpartition by list (state_id)
    subpartition template (
         subpartition CA          values('CA'),
         subpartition MN      values('MN'),
         subpartition east_coast values('NE','MA'),
         subpartition the_rest     values(default)
    )
    (
         partition p_2002_jan values less than (
              to_date('01-feb-2002','dd-mon-yyyy')
         ),
         partition p_2002_feb values less than (
              to_date('01-Mar-2002','dd-mon-yyyy')
         )
    )
    ;
    
    create table pt_l (
         state_id     varchar2(2)     not null,
         date_loaded     date,
         padding          varchar2(100)
    )
    partition by list (state_id) (
         partition CA          values('CA'),
         partition MN           values('MN'),
         partition east_coast     values('NE','MA'),
         partition the_rest     values(default)
    )
    ;
    
    alter table pt_rl
         exchange partition p_2002_feb with table pt_l;
    

    Update: identify a partition of content (FOR...) is a 11g thing, not a thing of 10g.

    Concerning
    Jonathan Lewis

    Published by: Jonathan Lewis on December 28, 2010 13:16

  • SUBPARTITION to drop and add data give ora-14300

    11.2.0.4

    RHEL

    create a table partitioned by date, sous-partitionnée by the key 2 N, Y values

    Insert a record for sysdate, key_value = 'Y '.

    Insert a record for sysdate, key_value = ' don't


    2 subparts create ok.

    Drop the subparts to this date where value = N.

    Re-insert the record for sysdate, key_value = ' not and generates the error

    ORA-14300: partitioning key in a score cards outside the maximum number of partitions "" ""


    Manually add the subpartition (alter table add) high value N for the data to be inserted again for this partition.

    Is this expected behavior?  I can understand if the model was not there, but it is.  Probably a quirk to treat the scores of void

    
    SQL> drop table part_test;
    
    
    
    
    Table dropped.
    
    
    SQL> SQL> CREATE TABLE part_test
      2  (
      3    ID                  NUMBER(9)     NOT NULL,
      4    create_ts                       date default sysdate,
      5    keep_flag               varchar2(1) default 'Y'
      6  )
      7  COMPRESS BASIC 
      8      PARTITION BY range (create_ts)     INTERVAL (NUMTODSINTERVAL(1,'DAY'))
      9   SUBPARTITION BY list (keep_flag)
     10     subpartition template
     11         (
     12           subpartition sp_date1_list_y values ('Y'),
     13            subpartition sp_date1_list_n values ('N')
     14          )
     15       ( partition p1_date1 values less than (to_date('01-01-2015','DD-MM-YYYY'))
     16       );
    
    
    Table created.
    
    
    SQL>       
    SQL>     
    SQL> insert into part_test
      2  (id, create_ts, keep_flag)
      3  values
      4  (1, sysdate-1, 'Y');
    
    
    
    
    1 row created.
    
    
    SQL> SQL> insert into part_test
      2  (id, create_ts, keep_flag)
      3  values
      4  (2, sysdate-1, 'N');
    
    
    1 row created.
    
    
    SQL> 
    SQL> 
    SQL> insert into part_test
      2  (id, create_ts, keep_flag)
      3  values
      4  (3, sysdate, 'Y');
    
    
    1 row created.
    
    
    SQL> 
    SQL> insert into part_test
      2  (id, create_ts, keep_flag)
      3  values
      4  (4, sysdate, 'N');
    
    
    1 row created.
    
    
    SQL> 
    SQL> commit;
    
    
    Commit complete.
    
    
    SQL> 
    SQL> 
    SQL> set lines 180
    SQL> col high_value format a5
    SQL> 
    SQL> select partition_name, subpartition_name, high_value
      2   from dba_tab_subpartitions
      3  where table_name = 'PART_TEST';
    
    
    PARTITION_NAME                 SUBPARTITION_NAME              HIGH_
    ------------------------------ ------------------------------ -----
    P1_DATE1                       P1_DATE1_SP_DATE1_LIST_Y       'Y'
    P1_DATE1                       P1_DATE1_SP_DATE1_LIST_N       'N'
    SYS_P248743                    SYS_SUBP248741                 'Y'
    SYS_P248743                    SYS_SUBP248742                 'N'
    SYS_P248746                    SYS_SUBP248744                 'Y'
    SYS_P248746                    SYS_SUBP248745                 'N'
    
    
    6 rows selected.
    
    
    
    
    -- drop the last subpartition
    SQL> alter table part_test drop subpartition SYS_SUBP248745;
    
    
    Table altered.
    
    
    SQL> 
    SQL> insert into part_test
      2  (id, create_ts, keep_flag)
      3  values
      4  (4, sysdate, 'N');
    insert into part_test
                *
    ERROR at line 1:
    ORA-14300: partitioning key maps to a partition outside maximum permitted number of partitions
    
    
    
    
    -- manually add the subpartition
    
    
    SQL> 
    SQL> alter table part_test modify partition SYS_P248746 add subpartition sub_partN values('N');
    
    
    Table altered.
    
    
    SQL> 
    
    
    -- and now the data goes in and we can see the subpartition is created
    SQL> insert into part_test
      2  (id, create_ts, keep_flag)
      3  values
      4  (4, sysdate, 'N');
    
    
    1 row created.
    
    
    SQL> commit;
    
    
    Commit complete.
    
    
    SQL> 
    SQL> select partition_name, subpartition_name, high_value
      2   from dba_tab_subpartitions
      3  where table_name = 'PART_TEST';
    
    
    PARTITION_NAME                 SUBPARTITION_NAME              HIGH_
    ------------------------------ ------------------------------ -----
    P1_DATE1                       P1_DATE1_SP_DATE1_LIST_Y       'Y'
    P1_DATE1                       P1_DATE1_SP_DATE1_LIST_N       'N'
    SYS_P248743                    SYS_SUBP248741                 'Y'
    SYS_P248743                    SYS_SUBP248742                 'N'
    SYS_P248746                    SYS_SUBP248744                 'Y'
    SYS_P248746                    SUB_PARTN                      'N'
    
    
    6 rows selected.
    
    
    SQL> 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    Perhaps more reasonable to expect ORA-14400: inserted partition key is not mapped with any partition?

    The subpartition template applies only to the subpartitions automatically created when the partition is created.

  • Adding a Partition of lower range value

    Hi Experts,

    If you have created a table like:

    CREATE TABLE RANGE_PART_T

    (IDENTIFICATION NUMBER,

    EMP_NAME VARCHAR2 (20).

    USE VARCHAR2 (20).

    HIREDATE DATE

    )

    ALLOW THE MOVEMENT OF THE LINE

    partition by range (ID)

    (

    partition P1 values less than (40),

    partition P2 values less than (80),

    partition P3 values less than (160),

    partition P4 values less than (240)

    );

    I miss two partitions:

    Partition with value less than (120) and partition with value less than (200).

    How is it possible to add the partition with the lower range without a drop/recreate the table.

    SQL > ALTER TABLE RANGE_PART_T

    2 ADD PARTITION P5 VALUES LESS THAN (120);

    ADD PARTITION P5 VALUES LESS THAN (120)

    *

    ERROR on line 2:

    ORA-14074: partition bound must gather greater than that of the last partition

    Use following statement more your partition table. for example

    ALTER table RANGE_PART_T split partition P3 (120) (P6 partition, partition P3);

  • Local primary key on reference partitioned Table

    Oracle running on Red Hat Linux Rel6 11.2.0.3.

    I'm on a closed network, so the following must be typed manually.

    I have a table of documents which is essentially the following:

    (entire annual <-primary key)

    whole Source_ID,

    load_dt date,

    date of doc_dt,

    doc_info clob,

    ...)

    which is partitioned on column source_id.

    I created a partitioned table of reference as follows:

    create table doc_entities_prt)

    whole doc_entity_id

    all annual,

    whole entity_id,

    forced doc_ent_fk (annual) references to documents (annual)

    tablespace...

    allow the movement of the line

    benchmark score (doc_ent_fk);

    The annual column in the child table is not unique.  The doc_entity_id column is unique.  I want to set the primary key on doc_entities_prt as a local index on the doc_entity_id column.  I was not able to find the proper syntax to get there, and now I'm wondering if this is even possible? Any ideas appreciated.

    Oops, I missed part that you want to base the PK of this index. No, it is not possible and has nothing to do with the partitoning reference. A unique index can be partitioned only if it includes a partitioning column. You can create a non-unique without partitioning column partitioned index, but then you can't create PK supported by such an index for the same reason - oracle would not be able to verify uniquenes based on this index partition and controls of the cross-partition are not supported:

    SQL > create table documents)
    2 whole annual,
    3 whole source_id,
    load_dt date 4.
    date of doc_dt 5.
    6 doc_info clob
    7                        )
    8 partition by range (source_id)
    9      (
    10 partition p1 values less than (10),
    11 partition p2 values less than (100)
    12)
    13.

    Table created.

    SQL > create index unique documents_pk
    2 on documents (annual)
    (3) local
    partition 4 p1,
    5 partition p2
    6         )
    7.
    on documents (annual)
    *
    ERROR on line 2:
    ORA-14039: partitioning columns must be a subset of the columns of a unique key
    index

    SQL > create index documents_pk
    2 on documents (annual)
    (3) local
    partition 4 p1,
    5 partition p2
    6         )
    7.

    The index is created.

    SQL > alter table documents
    2 Add the constraint documents_pk
    3 key (annual) elementary school
    4 using index documents_pk
    5.
    change the documents table
    *
    ERROR on line 1:
    ORA-14196: specified Index cannot be used to apply the constraint.

    SQL >

    SY.

  • Cannot add the table to partition to partition

    Hi guys,.

    my version of oracle is 11 GR 2

    I created the table with the following DDL

    CREATE TABLE PERSON

    (

    ID_PERSON VARCHAR2 (10 BYTE) NOT NULL,

    NAME_PREFIX VARCHAR2 (5 BYTE),

    NAME_LAST VARCHAR2 (40 BYTE) NOT NULL,

    NAME_FIRST VARCHAR2 (30 BYTE) NOT NULL,

    NAME_MID VARCHAR2 (30 BYTE),

    NAME_SUFF VARCHAR2 (5 BYTE),

    CD_GENDER VARCHAR2 (1 BYTE),

    DATE OF DATE_BIRTH,

    FL_AGE18 VARCHAR2 (1 BYTE),

    ID_SSN VARCHAR2 (BYTE 9),

    ID_DMV VARCHAR2 (20 BYTE),

    ID_PH_NBR VARCHAR2 (10 BYTE),

    ID_ALIEN VARCHAR2 (10 BYTE),

    ID_TRIBAL VARCHAR2 (10 BYTE),

    NAME_TRIBAL VARCHAR2 (40 BYTE),

    ID_CITY VARCHAR2 (5 BYTE) NOT NULL,

    ID_AD_RESIDENCE NUMBER (38),

    ID_AD_MAIL NUMBER (38),

    CD_NVRA VARCHAR2 (5 BYTE),

    DATE OF DATE_ACCEPT,

    DATE OF DATE_EFFECT,

    CD_STATUS VARCHAR2 (2 BYTE),

    CD_STAT_REASON VARCHAR2 (50 BYTE),

    DATE OF DATE_STAT_CHANGED,

    DATE OF DATE_LAST_ACTIVE,

    FL_RESI_PF VARCHAR2 (1 BYTE),

    CD_RESI_PF VARCHAR2 (4 BYTE),

    CD_RESI_OTH_PF VARCHAR2 (40 BYTE),

    FL_ID_PROVIDED VARCHAR2 (1 BYTE),

    FL_ID_NEVER_ISSUED VARCHAR2 (1 BYTE),

    CD_ID_VALIDATION VARCHAR2 (2 BYTE),

    DATE OF DATE_ID_VALIDATION,

    FL_SIGNATURE VARCHAR2 (1 BYTE),

    FL_US_CITIZEN VARCHAR2 (2 BYTE),

    CD_CITIZEN_PF VARCHAR2 (5 BYTE),

    FL_ACP_PERSON VARCHAR2 (1 BYTE),

    ID_ACP VARCHAR2 (BYTE 9),

    DATE OF DATE_ACP_START,

    DATE OF DATE_ACP_END,

    FL_POLL_WORKER VARCHAR2 (1 BYTE),

    FL_CHALLENGE VARCHAR2 (1 BYTE),

    FL_PREHAVA_PERSON VARCHAR2 (1 BYTE),

    DATE OF DATE_DEATH,

    FL_ELIGIBLE_DELETE VARCHAR2 (1 BYTE),

    FL_ELIGIBLE_PURGE VARCHAR2 (1 BYTE),

    FL_DISABLED VARCHAR2 (1 BYTE),

    FL_ELDERLY VARCHAR2 (1 BYTE),

    NAME_SEARCH VARCHAR2 (40 BYTE),

    AD_SORT_NUM VARCHAR2 (20 BYTE),

    ID_VALID_OTHER VARCHAR2 (50 BYTE),

    ID_UVI VARCHAR2 (16 BYTE),

    ID_CITYSHIP VARCHAR2 (5 BYTE),

    FL_PROTECTIVE_ORDE VARCHAR2 (1 BYTE),

    FL_INACTIVE VARCHAR2 (1 BYTE),

    FL_OVERRIDDEN VARCHAR2 (1 BYTE),

    FL_ALT_REG_SIGN VARCHAR2 (1 BYTE),

    FL_PERMANENT_ABSEN VARCHAR2 (1 BYTE),

    CD_SPEC_STATUS VARCHAR2 (1 BYTE),

    FL_UOCAVA_COMMUNICATION VARCHAR2 (1 BYTE),

    AD_UOCAVA_EMAIL VARCHAR2 (254 BYTE),

    CD_PARTY VARCHAR2 (5 BYTE),

    DATE OF DATE_PARTY_ENROLL,

    DATE OF DATE_ACCEPT_ORIGINAL,

    DATE OF DATE_MOVED,

    DATE_CHANGED DATE,

    AD_EMAIL VARCHAR2 (254 BYTE),

    CD_RACE VARCHAR2 (5 BYTE),

    FL_CITIZEN_HEARING VARCHAR2 (1 BYTE),

    ID_USER VARCHAR2 (20 BYTE),

    TM_STAMP TIMESTAMP (6).

    DATE OF DATE_LAST_CONTACT,

    NAME_PREV_LAST VARCHAR2 (40 BYTE),

    NAME_PREV_SEARCH VARCHAR2 (40 BYTE),

    DATE OF DATE_REG

    )

    TABLESPACE PERSON_DATA

    PCTUSED 0

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    LOGGING

    PARTITION BY RANGE (ID_CITY)

    (

    P_PERSON_1 PARTITION VALUES LESS THAN ('1')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_2 PARTITION VALUES LESS THAN ('2')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_3 PARTITION VALUES LESS THAN ('3')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_4 PARTITION VALUES LESS THAN ('4')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_5 PARTITION VALUES LESS THAN ('5')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_6 PARTITION VALUES LESS THAN ('6')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_7 PARTITION VALUES LESS THAN ('7')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_8 PARTITION VALUES LESS THAN ('8')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_9 PARTITION VALUES LESS THAN ('9')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    )

    )

    NOCOMPRESS

    NOCACHE

    NOPARALLEL

    MONITORING

    ALLOW THE MOVEMENT OF THE LINE;

    I tried to add the partition with the highest value 10

    change the voter table add partition P_PERSON_10 lower (10);

    change the voter table add partition P_PERSON_10 lower (10)

    Error on line 11

    ORA-14074: partition bound must gather greater than that of the last partition

    I want to add 100 to leave with max 100 value, please help me in this regard.

    Split partition also get the error

    Thanks in advance

    Kind regards

    REDA

    ID_CITY a VARCHAR2 is not a number.  Thus, although "less than ('10')" is correct for a VARCHAR2 ("equal or superior (10)"), where do you think the value '2' would go? '2' less than '10' is? Where would the '21' value?  Where would '56'?  Tip: '21' is less than '3' and 56 'is less than 6'.

    Also your first partition is defined as "less than ('1')", which makes no sense.

    Hemant K Collette

  • Unable to partition RTRIM table

    Hi Oracle professionals.

    recently, we changed the data type of CHAR in VARCHAR2 column and table is the partition table,

    After modification, we can not apply RTRIM for these tables. It gives an error message saying that it is impossible to change physical partitions.

    same problem with the tables with constraints

    Database is 11 GR 2

    Thanks in advance

    Concerning

    REDA

    If the update of the partition key is originally a movement of the different partition line then the table must be motion activated line.

    Find out what...

    SQL > create table temp
    () 2
    3 name varchar2 (100)
    4, varchar2 (1) sex
    5)
    6 partition by list (gender)
    () 7
    8 partition p_m values (').
    9 partition p_f values ("F"),
    10 partition p_o values ('o')
    (11);

    Table created.

    SQL > insert into temporary values ('kitsoukou',');

    1 line of creation.

    SQL > insert into values temporary ('anna', 'F');

    1 line of creation.

    SQL > insert into temporary values ('unknown', 'o');

    1 line of creation.

    SQL > commit;

    Validation complete.

    SQL > day sex set temp = am' where name = 'unknown ';
    update of sex set temp = am' where name = 'unknown '.
    *
    ERROR on line 1:
    ORA-14402: update of partition key column would cause a partition chang

    SQL > drop table temp;

    Deleted table.

    SQL > create table temp
    () 2
    3 name varchar2 (100)
    4, varchar2 (1) sex
    5)
    6 partition by list (gender)
    () 7
    8 partition p_m values (').
    9 partition p_f values ("F"),
    10 partition p_o values ('o')
    11)
    12 allow the movement of the line;

    Table created.

    SQL > insert into temporary values ('kitsoukou',');

    1 line of creation.

    SQL > insert into values temporary ('anna', 'F');

    1 line of creation.

    SQL > insert into temporary values ('unknown', 'o');

    1 line of creation.

    SQL > commit;

    Validation complete.

    SQL > day sex set temp = am' where name = 'unknown ';

    1 line update.

    If there is no such thing as the partition key...

    SQL > day sex set temp = 'X', where name = 'unknown ';
    update of sex set temp = 'X', where name = 'unknown '.
    *
    ERROR on line 1:
    ORA-14406: partition update key exceeds plu legal partition key

  • Adding a Partition to a range-Hash partitioned Table

    Hello

    I created the composite partition table (RANGE-HASH).  Oracle: 11.2, OS: HP UX

    CREATE TABLE 'XYZ '. "" TABLE_XYZ.

    (

    ----

    VARCHAR2 (54) "PROFILE" DEFAULT "000000000000000000' ENABLE NON-NULL"

    NUMBER (21.7) "CREATED_ON" DEFAULT 0 ENABLE NOT NULL,.

    ----

    )

    PARTITION BY RANGE

    (

    CREATED_ON

    )

    SUBPARTITION BY HASH

    (

    VIEW PROFILE

    )

    SUBPARTITION TEMPLATE

    (

    SUBPARTITION SP1 TABLESPACE PSAPISU,

    SUBPARTITION TABLESPACE PSAPISU SP2,

    SUBPARTITION SP3 TABLESPACE PSAPISU,

    SUBPARTITION SP4 TABLESPACE PSAPISU,

    SUBPARTITION SP5 TABLESPACE PSAPISU,

    SUBPARTITION SP6 TABLESPACE PSAPISU,

    SUBPARTITION SP7 TABLESPACE PSAPISU,

    SUBPARTITION SP8 TABLESPACE PSAPISU,

    SUBPARTITION SP9 TABLESPACE PSAPISU,

    SUBPARTITION SP10 TABLESPACE PSAPISU,

    SUBPARTITION SP11 TABLESPACE PSAPISU,

    SUBPARTITION SP12 TABLESPACE PSAPISU,

    SUBPARTITION SP13 TABLESPACE PSAPISU,

    SUBPARTITION SP14 TABLESPACE PSAPISU,

    SUBPARTITION SP15 TABLESPACE PSAPISU,

    SUBPARTITION SP16 TABLESPACE PSAPISU,

    SUBPARTITION SP17 TABLESPACE PSAPISU,

    SUBPARTITION SP18 TABLESPACE PSAPISU,

    SUBPARTITION SP19 TABLESPACE PSAPISU,

    SUBPARTITION SP20 TABLESPACE PSAPISU,

    SUBPARTITION SP21 TABLESPACE PSAPISU,

    SUBPARTITION SP22 TABLESPACE PSAPISU,

    SUBPARTITION SP23 TABLESPACE PSAPISU,

    SUBPARTITION SP24 TABLESPACE PSAPISU,

    SUBPARTITION SP25 TABLESPACE PSAPISU

    )

    (

    CREATED_ON_OCP01 PARTITION VALUES LESS THAN (20090101000000).

    CREATED_ON_OCP02 PARTITION VALUES LESS THAN (20090401000000).

    CREATED_ON_OCP03 PARTITION VALUES LESS THAN (20090701000000).

    CREATED_ON_OCP04 PARTITION VALUES LESS THAN (20091001000000).

    CREATED_ON_OCP05 PARTITION VALUES LESS THAN (20100101000000).

    CREATED_ON_OCP06 PARTITION VALUES LESS THAN (20100401000000).

    CREATED_ON_OCP07 PARTITION VALUES LESS THAN (20100701000000).

    CREATED_ON_OCP08 PARTITION VALUES LESS THAN (20101001000000).

    CREATED_ON_OCP09 PARTITION VALUES LESS THAN (20110101000000).

    CREATED_ON_OCP10 PARTITION VALUES LESS THAN (20110401000000).

    CREATED_ON_OCP11 PARTITION VALUES LESS THAN (20110701000000).

    CREATED_ON_OCP12 PARTITION VALUES LESS THAN (20111001000000).

    CREATED_ON_OCP13 PARTITION VALUES LESS THAN (20120101000000).

    CREATED_ON_OCP14 PARTITION VALUES LESS THAN (20120401000000).

    CREATED_ON_OCP15 PARTITION VALUES LESS THAN (20120701000000).

    CREATED_ON_OCP16 PARTITION VALUES LESS THAN (20121001000000).

    CREATED_ON_OCP17 PARTITION VALUES LESS THAN (20130101000000).

    CREATED_ON_OCP18 PARTITION VALUES LESS THAN (20130401000000).

    CREATED_ON_OCP19 PARTITION VALUES LESS THAN (20130701000000).

    CREATED_ON_OCP20 PARTITION VALUES LESS THAN (20131001000000).

    CREATED_ON_OCP21 PARTITION VALUES LESS THAN (20140101000000).

    CREATED_ON_OCP22 PARTITION VALUES LESS THAN (20140401000000).

    CREATED_ON_OCP23 PARTITION VALUES LESS THAN (20140701000000).

    CREATED_ON_OCP24 PARTITION VALUES LESS THAN (20141001000000).

    CREATED_ON_OCP25 PARTITION VALUES LESS THAN (20150101000000).

    PARTITION CREATED_ON_OCPMAX VALUES LESS THAN (MAXVALUE)

    )

    TABLESPACE "PSAPISU" ENABLE LINE MOVEMENT;

    Now, I am trying to add the new partition but becomes under errors:

    ALTER TABLE SAPISU. ADD PARTITION VALUES LESS THAN (20150401000000) CREATED_ON_OCP26 ZTMD_300_VERS_MANAGE

    *

    ERROR on line 1:

    ORA-14074: partition bound must gather greater than that of the last partition

    ERROR on line 1:

    ORA-14018: partition bound list contains too few elements

    I tried the SYNTAX mentioned by Oracle DOC, still getting error. Partitioned table and index management

    Could if it you please let me know, what is the exact syntax that I should follow?

    See you soon

    Sameer

    CREATED_ON_OCPMAX PARTITION SPLIT THAN (MAXVALUE)

    That don't mean to 'divide' the MAXVALUE partition.

    You cannot split a partition that contains the values of A, B, C, D, MAXVALUE to MAXVALUE; that makes no sense. ERROR on line 1:

    ORA-14080: partition cannot be split along the specified high limit

    That exception is to say you can't use MAXVALUE upper limit. You must use a value that is actually IN the partition.

    Go back and look at the definition of your partitions:

    CREATED_ON_OCP25 PARTITION VALUES LESS THAN (20150101000000).

    PARTITION CREATED_ON_OCPMAX VALUES LESS THAN (MAXVALUE)

    See which ends with: "VALUES LESS THAN (MAXVALUE)? MAXVALUE is not IN the score; This is the upper limit of the partition.

    Divide certain value > '20150101000000' and LESS THAN MAXVALUE;

    So if you try to create a partition for OCP26 you can use '20160101000000'.

    CREATE TABLE PART_TEST2)
    VARCHAR2 (54) DEFAULT PROFILE "000000000000000000' ENABLE NOT NULL,
    CREATED_ON NUMBER (21.7) DEFAULT 0 ENABLE NOT NULL
    )
    PARTITION BY RANGE (CREATED_ON)
    (
    CREATED_ON_OCP24 PARTITION VALUES LESS THAN (20141001000000).
    CREATED_ON_OCP25 PARTITION VALUES LESS THAN (20150101000000).
    PARTITION CREATED_ON_OCPMAX VALUES LESS THAN (MAXVALUE)
    )

    ALTER table split partition created_on_ocpmax part_test2
    to (20160101000000) into (partition, partition CREATED_ON_OCPMAX created_on_ocp26)

Maybe you are looking for

  • Support the rMBP 2015 13 "NVMe storage?

    Other users of greetings, I'm looking to upgrade the SSD drive in my rMBP 2015 13 "model that currently owns the storage of PCIe 128 GB:s. Now, I know that the connector used for the SSD in the new MacBook is not a normal m2 connector, but this probl

  • Upgrade memory Portege S100

    Hello On the product page of toshiba for Toshiba Portege S100, it says that the maximum capacity of the laptop RAM is 2 GB. So I bought 2 GB of RAM for installation. However, there is only one slot available to increase the RAM (I think). The RAM tha

  • Satellite L40 PSL40E: Win XP need driver sound?

    Hello dear readers, I have the Satellite L series PSL40E... brand for Vista...But how am I supposed to work with 1 GB RAM under vista? So I decided to install Windows XP Prof... Everything went well, BUT at least I need sounddrivers...On the homepage

  • Can not download the update rollup 7 for System Center R2 2012 - Data Protection Manager (KB3065246)

    Microsoft has released a patch missed for DPM in July that breaks the ability of DPM to remove older restore points. My server is invaded by the recovery points and I would like to address them. Failed to remove the bad fix, update rollup 7 for SC DP

  • Looking to change my email address - how?

    currently have an email address that is out of date - how can I update?