Oracle ORA-14074 Create or Add New Partition Fails Error甲骨文庫存- 14074創建或添加新的分區失敗的錯誤

Oracle database partition is a division or decomposition of a logical database and/or its constituting elements (indexes or transaction logs) into distinct, smaller, more manageable and independent parts or pieces. Oracle數據庫分區是一個師或分解一個邏輯數據庫和/或其構成要素(指標或交易日誌)到明顯的,規模較小的,更便於管理和獨立的零部件或成碎片。 Database partitioning provides solution to problems faced by supporting very large tables and indexes, especially in data warehouse applications, which store and analyze large amounts of historical data.數據庫分割的規定,解決所面臨的問題非常大的支持表和指標,特別是在數據倉庫的應用,存儲和分析大量的歷史數據。 With partitioning or table splitting, SQL statements can access and manipulate the partitions rather than entire tables or indexes, and thus increase manageability, performance or availability of the Oracle database.與分割或分裂表, SQL語句可以訪問和操作的分區,而不是整個表或索引,從而提高可管理性,性能或可用性的Oracle數據庫中。

In Oracle Server or Oracle Enterprise Edition, when you want to add an additional new partition to a partitioned table by using the command ALTER TABLE <tablename> ADD PARTITION , the process fails and SQL*Plus will return the following error:在Oracle服務器或Oracle企業版,當您要添加額外的新的分割,以分割表使用命令改變表<tablename>添加分區,過程失敗和SQL *加將返回以下錯誤:

ORA-14074: partition bound must collate higher than that of the last partition庫存- 14074 :分割的約束,必須整理,高於去年的分割

This error symptom is normally happened when the administrator tries to add or create a new partition to a partitioned table between two partitions, or the new partition is located at the beginning or in the middle of a table, or if the partition bound on the highest partition is MAXVALUE (original partition was created with the highest partition defined as MAXVALUE on the partition key).這個錯誤的症狀通常發生時,管理員嘗試添加或創建新的分區到分區表之間的兩個分區,或新分區位於開始或在中間一張桌子,或如果分區必將對最高分區是maxvalue (即原來的分區創建具有最高的分區定義為maxvalue對分割的關鍵) 。

The most likely case for the error is the MAXVALUE upper bound partition.最有可能的情況下為錯誤是maxvalue上界分割。 You can check if there is such as high value exists in partitions defined for the table by using the following commands in SQL*Plus or TOAD:您可以檢查如果有這樣的作為高價值的存在,在分割界定為表使用下列命令在SQL * Plus或蟾蜍:

select high_value from dba_tab_partitions where table_name = ‘table_name’;選擇high_value從dba_tab_partitions那裡table_name = ' table_name ' ;

You should see something like:您應該會看到一些像這樣:

HIGH_VALUE high_value
——————————————————————————– ---------------------------
10
20
30
MAXVALUE maxvalue

In all of the above scenarios, Oracle doesn’t allow to create a new partition by using Add Partition SQL statement.在所有上述情況下,甲骨文公司是不容許創建新分區使用添加分割SQL語句。 Adding a new partition of these few instances can only be done with a split of partition by using SQL command of SPLIT PARTITION.增添了新的分割這幾個實例,只能做一個分裂的分割使用SQL命令的分裂分割。

So the workaround or solution to the ORA-14074 error is by using the following SQL syntax to achieve the aim to add or create a new partition on an already partitioned table:因此,可行方案或辦法來解決庫存- 14074錯誤是使用下面的SQL語法來達到目的,以添加或創建一個新分區上已經分割表:

ALTER TABLE <tablename> SPLIT PARTITION改變表<tablename>分裂分割

Full syntax will be:充分的語法將是:

ALTER TABLE <table_name> SPLIT PARTITION <partition_name> AT (<value>)改變表<table_name>分裂分割<partition_name> ( <value> )
INTO (PARTITION <new_partition>, PARTITION <next_partition (or partition_name as above line>)到( <new_partition>分割,分割<next_partition (or partition_name如上line> )
UPDATE GLOBAL INDEXES;更新的全球指標;

Note: UPDATE GLOBAL INDEXES is optional.注:更新的全球指標是可選的。

For Example:例如:
ALTER TABLE demo SPLIT PARTITION pmaxvalue at (40) INTO (PARTITION newpartition, PARTITION pmaxvalue);改變表演示分裂分割pmaxvalue在( 40 )到( newpartition分割,分割pmaxvalue ) ;

IMPORTANT : You're reading a machine translated page which is provided "as is" without warranty. 重要說明:您正在閱讀的機器翻譯網頁是“按原樣”提供的擔保。 Unlike human translation, machine translation does not understand the grammar, semantics, syntax, idioms of natural language, thus often produce inaccurate and low quality text which is misleading and incomprehensible.不像人類翻譯,機器翻譯不明白的語法,語義,語法,成語自然語言,因此,往往產生不準確的和低品質的文字,是具誤導性的和難以理解的。 Thus, please refer to因此,請參閱 original English article英文原版的文章 whenever possible.只要有可能。

MDL blog postings now continue at MDL公司博客帖子現在繼續在 Tip and Trick 提示和伎倆 , and readers are welcome to join ,和讀者都歡迎參加 My Digital Life Forums 我的數字生活論壇 .


2 Responses to “Oracle ORA-14074 Create or Add New Partition Fails Error” 2反應“甲骨文庫存- 14074創建或添加新的分區失敗的錯誤”

  1. Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error » My Digital Life創建,添加或分裂Oracle數據庫分區失敗,庫存- 14080錯誤»我的數位生活
    November 8th, 2006 18:44 2006年11月8日18時44分
    1

    [...] Oracle table partitioning is important for optimum performance of the database, as it allows Oracle to process the specific and independat partition or part that is smaller in size, instead of entire full table or database. [ … … ]甲骨文表分割是很重要的最佳性能的數據庫,因為它使得甲骨文的過程中的具體和independat分割或部分是在規模較小的尺寸,而不是整個充分表或數據庫。 However, when you want to create a new partition to a table by adding or splitting partition, administrator may encounter errors such as ORA-14074.然而,當你想創建一個新的分區表中加入或分裂,分割,管理員可能會遇到錯誤,如庫存- 14074 。 Other than that, Oracle error ORA-14080 can also happen, if you’re not careful enough with the following symptom: [...]以外, Oracle錯誤庫存- 14080 ,也有可能發生,如果您不小心足夠的具有下列症狀: [ … … ]

  2. Raj raj
    April 7th, 2008 18:44 2008年4月7日18時44分
    2

    we have a partition D20080330 already created abd the maxvalue is D30001231.我們有一個分區d20080330已經創造阿卜杜勒該maxvalue是d30001231 。
    Now we want to split the partition for D20080330.現在我們要分裂分割d20080330 。
    ALTER TABLE TABLE_NAME SPLIT PARTITION D30001231改變表table_name分裂分割d30001231
    at (TO_DATE(’20080401′, ‘YYYYMMDD’)) INTO (PARTITION D20080331, PARTITION D30001231); ( to_date ( '20080401 』 , 『採用YYYYMMDD ' ) )到( d20080331分割,分割d30001231 ) ;
    fails with the error失敗與錯誤
    ORA-14080: partition cannot be split along the specified high bound.庫存- 14080 :分割,不能分裂,沿著指定的高約束。

    What am i missing in the above alter statement, any help would be appreciated有什麼我失踪的上述改變聲明,任何幫助將不勝感激

Leave a Reply離開的答复

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 您可以使用這些標籤:的<a href="" title=""> <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> <刪除日期時間= “ ” >的<em>的<i> <q cite=""> <strike>的<strong>

Subscribe without commenting訂閱無評論



Incoming Search Terms for the Article傳入的搜索條件文章

ora-14074 庫存- 14074 - - alter table split partition 改變表分裂分割 - - oracle add partition 甲骨文添加分區 - - partition in oracle sql with syntax 分割在Oracle的SQL與語法 - - oracle sql alter partitioning 甲骨文的SQL改變分割 - - ORA-14074: partition bound must collate higher than that of the last partition 庫存- 14074 :分割的約束,必須整理,高於去年的分割 - - Oracle partition maxvalue 甲骨文分割maxvalue - - +oracle ora 14074 +甲骨文+ 14074 - - chinese alter table 中國改變表 - - add new partition oracle 添加新的分區甲骨文 - - partition table error 120 分區表錯誤120 - - alter table add partition ORA-14074: partition bound must collate 改變表添加分區庫存- 14074 :分割的約束,必須整理 - - create partition oracle 創建分區甲骨文 - - how to add a partition in a table oracle 如何添加一個分區在一個表中,甲骨文 - - Oracle + ORA-14074 甲骨文公司+庫存- 14074 - - ORA 14080: partition cannot be split 庫存14080 :分割,不能分裂 - - ORA-14074: partition bound must collate higher than that of the last partition 庫存- 14074 :分割的約束,必須整理,高於去年的分割 - - adding partition in oracle 加入分割在Oracle - - add parition in a table has maxvalue 添加parition在一個表中已maxvalue - - alter table partitionierung oracle 改變表partitionierung甲骨文 - - create PARTITION in oracle 創建分區在Oracle - - oracle split maxvalue partition 甲骨文分裂maxvalue分割 - - ORA-14074: 庫存- 14074 : - - oracle partition high bound 甲骨文分割的高約束 - - "add partition" "sql" “添加分區”的“ SQL ” - - ADD partition + PL/SQL 添加分區+ PL / SQL的 - - add partition oracle 添加分區甲骨文 - - add partition in a oracle table 添加分區,在甲骨文表 - - alter table split partition 改變表分裂分割 - - create partition+oracle table 創建分區+甲骨文表 - - oracle alter table partitioning syntax 甲骨文改變表分割語法 - - ORACLE ADD PARTITIONING 甲骨文添加分割 - - select high_value 選擇high_value - - split partition +table 分裂+分區表 - - syntax add partition to a table 語法添加分區表 - - "add partition" syntax oracle “添加分區”語法甲骨文 - - adding a new partition in oracle 加入一個新的分區在Oracle - - alter table add partition fails 改變表添加分區失敗 - - alter table split partition + range partition 改變表分裂分割+範圍分區 - - ALTER TABLE SPLIT PARTITION in oracle 改變表分裂分割在Oracle - - creating new partition in Oracle 創造新的分區在Oracle - - creating new partition+oracle 創造新的分區+甲骨文 - - How can we check if a partition of a table exists if not create a new partition 我們如何能檢查,如果分區表存在,如果沒有創建新的分區 - - How to partitioning the already created oracle table 如何分割已經創造甲骨文表 - - how to split already created partition in oracle 如何分裂已經創建的分區在Oracle - - oRACLE PARTITION CREATION COMMAND 甲骨文分割創造指揮 - - Oracle Alter table add partition 甲骨文改變表添加分區 - - oracle + create table + partition 甲骨文公司+創造+分區表 - - alter partition in pl/sql 改變分區在PL / SQL的 - - create partition sql 創建分區的SQL - -