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. בכל הזדמנות אפשרית.


2 Responses to “Oracle ORA-14074 Create or Add New Partition Fails Error” 2 תגובות ל "אורקל ORA-14074 יצירת מחיצה חדשה או הוסף נכשל שגיאה"

  1. Raj ראג
    April 7th, 2008 18:44 7 אפריל 2008 18:44
    2 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 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 מה אני חסר מעל לשנות הצהרה, כל עזרה תהיה להערכה

  2. Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error » My Digital Life צור, הוספה או פיצול Oracle Database החלוקה נכשל עם שגיאה ORA-14080 »Digital My Life
    November 8th, 2006 18:44 8 נובמבר 2006 18:44
    1 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. עם זאת, כאשר אתה רוצה ליצור מחיצה חדשה על שולחן או על ידי הוספת מחיצה פיצול, מנהל עלול להיתקל שגיאות כגון ORA-14074. Other than that, Oracle error ORA-14080 can also happen, if you're not careful enough with the following symptom: [...] חוץ מזה, אורקל שגיאה ORA-14080 יכול לקרות, אם אתה לא זהיר מספיק עם הסימפטומים הבאים: [...]

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> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. כדי להירשם הערות תכונה הושבת. To receive notification of latest comments posted, subscribe to כדי לקבל הודעה העדכנית של תגובות, כדי להירשם My Digital Life Comments RSS feed החיים שלי דיגיטליות תגובות RSS Feed or או register to receive הרשמה לקבלת new comments in daily email digest. תגובות חדש ב דוא"ל תקציר יומי.
Custom Search

New Articles מאמרים חדשים

Incoming Search Terms for the Article תנאי נכנסות חיפוש עבור מאמרים

ORA-14074 ORA-14074 - -- ORA-14074: partition bound must collate higher than that of the last partition ORA-14074: מחיצה מאוגד חייב להשוות גבוה יותר מזה של המחיצה האחרונה - -- ora-14074 oracle ora-14074 oracle - -- add partition oracle Oracle להוסיף מחיצה - -- oracle create partition Oracle ליצור מחיצה - -- split partition syntax תחביר לפצל מחיצה - -- create partition syntax in ORACLE התחביר ליצור מחיצה ORACLE - -- create partition oracle Oracle ליצור מחיצה - -- oracle err 14074 Oracle לשגות 14,074 - -- oracle sql alter table add partition Oracle SQL ALTER TABLE להוסיף מחיצה - -- oracle partitioning add partition מחיצות Oracle להוסיף מחיצה - -- oracle 14074 Oracle 14,074 - -- ORA-14074: ORA-14074: - -- all הכל - -- oracle alter table partition Oracle לשנות טבלת מחיצות - -- SQL add partition SQL להוסיף מחיצה - -- change maxvalue partition oracle שינוי המחיצה maxvalue Oracle - -- how to change the max value of a partition כיצד לשנות את ערך מרבי של מחיצה - -- "add partition by list" "להוסיף מחיצה על ידי רשימת" - -- ora-959 split partition אורה-959 לפצל מחיצה - -- partition key does not collate higher than ERROR מפתח החלוקה אינה האיסוף גבוה יותר ERROR - -- add new partition oracle Oracle להוסיף מחיצה חדשה - -- alter add partition oracle לשנות להוסיף Oracle מחיצה - -- create partition in toad ליצור מחיצה קרפדה - -- MAXVALUE in partitions MAXVALUE במחיצות - -- oracle create table partition adding a new partition Oracle ליצור טבלת מחיצות הוספת מחיצה חדשה - -- oracle sql check partition exist מחיצה לבדוק Oracle SQL קיים - -- ORA-Error partition ORA-שגיאה מחיצה - -- ORA -14400 partition error אורה -14,400 מחיצה שגיאה - -- sql oracle create PARTITION Oracle SQL ליצור מחיצה - -- add partition with max value להוסיף מחיצה עם ערך מרבי - -- alter table partitioning oracle Oracle לשנות מחיצות השולחן - -- alter table add partition oracle sql לשנות להוסיף שולחן Oracle SQL מחיצה - -- alter table add partition לשנות את הטבלה להוסיף מחיצה - -- changing partition max value in oracle שינוי ערך מרבי מחיצה Oracle - -- create partion oracle ליצור Oracle partion - -- how to add partition in oracle כיצד להוסיף מחיצה Oracle - -- maxvalue split partition oracle alter table מחיצה לפצל maxvalue Oracle לשנות השולחן - -- Oracle sql "add partition" maxvalue SQL אורקל "להוסיף מחיצה" maxvalue - -- oracle partition high_value conversion המרה Oracle מחיצה high_value - -- ORA-14074 workaround ORA-14074 לעקיפת הבעיה - -- oracle add partition syntax Oracle להוסיף מחיצה תחביר - -- partition - how to add a max value המחיצה - איך להוסיף ערך מרבי - -- añadir particion oracle Oracle particion Añadir - -- alter partition MAxvalue partition oracle לשנות מחיצה מחיצה MAxvalue Oracle - -- alter table to add partitions+sql לשנות את הטבלה להוסיף מחיצות + SQL - -- alter table split partition לשנות מחיצה לפצל טבלה - -- create partition in Oracle sql ליצור מחיצה ב-Oracle SQL - -- ora-14074 oracle ora-14074 oracle - -- oracle adding a partition to a table Oracle הוספת מחיצה לטבלה - --