Oracle ORA-14074 Create or Add New Partition Fails Error אורקל ORA-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 יכול לגשת ולטפל המחיצות ולא טבלאות או אינדקסים כולו, ובכך להגדיל את יכולת הניהול, ביצועים או זמינות של מסד הנתונים אורקל.
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 Server או Oracle Enterprise Edition, כשאתה רוצה להוסיף מחיצה חדשה נוספת לטבלה למחיצות באמצעות הפקודה ALTER TABLE <tablename> ADD מחיצה, התהליך נכשל ו-SQL * Plus תחזיר את השגיאה הבאה:
ORA-14074: partition bound must collate higher than that of the last partition ORA-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 10
20 20
30 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: אז הפתרון או פתרון ORA-14074 השגיאה היא באמצעות התחביר של SQL הבאות כדי להשיג את המטרה להוסיף או ליצור מחיצה חדשה על שולחן כבר למחיצות:
ALTER TABLE <tablename> SPLIT PARTITION ALTER TABLE <tablename> SPLIT מחיצה
Full syntax will be: תחביר מלאה תהיה:
ALTER TABLE <table_name> SPLIT PARTITION <partition_name> AT (<value>) ALTER TABLE <table_name> SPLIT מחיצה <partition_name> AT (<value>)
INTO (PARTITION <new_partition>, PARTITION <next_partition (or partition_name as above line>) INTO (מחיצה <new_partition>, (or מחיצה מחיצה <next_partition רווח> כאמור לעיל)
UPDATE GLOBAL INDEXES; UPDATE GLOBAL המדדים;
Note: UPDATE GLOBAL INDEXES is optional. הערה: UPDATE GLOBAL אינדקסים היא אופציונלית.
For Example: לדוגמא:
ALTER TABLE demo SPLIT PARTITION pmaxvalue at (40) INTO (PARTITION newpartition, PARTITION pmaxvalue); ALTER TABLE הדגמה pmaxvalue SPLIT מחיצה בבית (40) לתוך (newpartition מחיצה, מחיצה pmaxvalue);
IMPORTANT : The page is machine translated and provided "as is" without warranty. חשוב: הדף מכונת תירגם מתפרסם "כמות שהוא" ללא אחריות. Machine translation may be difficult to understand. תרגום מכונה יכול להיות קשה להבין. Please refer to נא עיין original English article המאמר המקורי באנגלית whenever possible. בכל הזדמנות אפשרית.
Related Articles מאמרים קשורים
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error צור, הוספה או פיצול Oracle Database החלוקה נכשל עם שגיאה ORA-14080
- Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace Error אורקל ORA-01658 ניתן ליצור INITIAL היקף עבור קטע ב Tablespace שגיאה
- ORA-02449 Oracle Drop Table Error ORA-02449-Oracle זרוק טבלה שגיאה
- ORA-00942 Table or View Does Not Exist Oracle Error ORA-00942 או לוח האם לא הצג שגיאה אורקל Exist
- Oracle EXP-00091 Error When Export Database אורקל EXP-00091 שגיאה בעת ייצוא מסד נתונים
- Oracle Database Import Error 3113/3114 Oracle Database ייבוא שגיאה 3113/3114
- Easily Duplicate, Copy or Backup Tables in Oracle, PostgreSQL, DB2 and SQLite with Create Table As SQL בקלות לשכפל, להעתיק או לוחות הגיבוי ב-Oracle, PostgreSQL, SQLite ו-DB2 עם יצירת טבלה כפי SQL
- ORA-25153 Temporary Tablespace is Empty Error in Oracle ORA-25153 זמניים Tablespace היא שגיאה ריק אורקל
- Oracle PL/SQL ORA-00947 Not Enough Values Error Oracle PL / SQL ORA-00947 לא מספיק ערכי שגיאה
- IMP-00016 Required Character Set Conversion Not Supported Error when Import to Oracle Database IMP-00016 תווים חובה הגדר המרות שגיאה לא נתמכות כאשר ייבוא כדי Oracle Database










































April 7th, 2008 18:44 7 אפריל 2008 18:44
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 ALTER TABLE table_name SPLIT מחיצה 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. ORA-14080: מחיצה לא ניתן לפצל לאורך שצוין גבוהה מאוגד.
What am i missing in the above alter statement, any help would be appreciated מה אני חסר מעל לשנות הצהרה, כל עזרה תהיה להערכה
November 8th, 2006 18:44 8 נובמבר 2006 18:44
[...] 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. עם זאת, כאשר אתה רוצה ליצור מחיצה חדשה על שולחן או על ידי הוספת מחיצה פיצול, מנהל עלול להיתקל שגיאות כגון ORA-14074. Other than that, Oracle error ORA-14080 can also happen, if you're not careful enough with the following symptom: [...] חוץ מזה, אורקל שגיאה ORA-14080 יכול לקרות, אם אתה לא זהיר מספיק עם הסימפטומים הבאים: [...]