Oracle ORA-14074 Create or Add New Partition Fails Error "Oracle" ORA-14074 Kurti arba Pridėti naują skyrių fails Klaida
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 duomenų bazės pertvara kvadratas arba irimą loginio duomenų bazės ir / arba jos sudarančių elementų (indeksus ar sandorių žurnalai) į atskirus, mažesnius, lengviau valdomas ir nepriklausomų dalių arba vienetų. 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. Database atitvarų numato išspręsti problemas, remiant labai dideli stalai ir indeksus, ypač atsižvelgiant į duomenų sandėlį paraiškų, kurios saugoti ir analizuoti didelį kiekį istorinių duomenų. 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. Su pertvaros arba stalo skirstymą, SQL gali naudotis ir manipuliuoti skirsnių, o ne visą lentelių ar indeksų, ir tokiu būdu padidinti valdymo, veiklos ar prieinamumo Oracle "duomenų bazės.
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 arba Oracle Enterprise Edition, jei norite pridėti naujų papildomų pertvarų su atitverta lentelę naudodami komandą ALTER TABLE ADD <tablename> skyrių, procesas nepavyksta ir SQL * Plus grįžti šios klaidos:
ORA-14074: partition bound must collate higher than that of the last partition ORA-14074: Pasiskirstymo jungiasi turi lygina didesnis nei paskutinį skyrių
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). Šis klaidos simptomas paprastai atsitiko, kai administratorius bando pridėti arba sukurkite naują sekciją atskirti lentelėje tarp dviejų skyrių, arba naują skirsnį yra pradžioje arba į lentelę, arba, jei disko jungiasi į aukščiausią viduryje pertvara MAXVALUE (originalas disko buvo sukurtas didžiausias pertvarų apibrėžiama kaip MAXVALUE apie disko raktas).
The most likely case for the error is the MAXVALUE upper bound partition. Tikriausiai atveju paklaida yra MAXVALUE viršaus pertvara. 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: Jūs galite patikrinti, jei yra, pavyzdžiui, didelės vertės egzistuoja pertvaros apibrėžtos lentelėje, naudojant šių komandų SQL * Plus arba TOAD:
select high_value from dba_tab_partitions where table_name = 'table_name'; pasirinkite high_value iš dba_tab_partitions kur table_name = 'table_name ";
You should see something like: Turėtumėte pamatyti kažką panašaus:
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. Atsižvelgiant į visus pirmiau išdėstytus scenarijus, "Oracle neleidžia sukurti naują skirsnį naudodami Pridėti Pasiskirstymo 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. Pridėjus naują skyrių šių retais atvejais gali būti atliekamas tik su pertvarų Split naudojant SQL komandų Splitas disko.
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: Taigi, problemos arba tirpalo ORA-14074 klaidos, naudojant šių SQL sintaksė pasiekti tikslą papildyti arba sukurti naują skirsnį apie jau padalijo lentelėje:
ALTER TABLE <tablename> SPLIT PARTITION ALTER TABLE <tablename> SPLIT TARPINIŲ
Full syntax will be: Visas sintaksė bus:
ALTER TABLE <table_name> SPLIT PARTITION <partition_name> AT (<value>) ALTER TABLE <table_name> SPLIT PARTITION <partition_name> AT (<value>)
INTO (PARTITION <new_partition>, PARTITION <next_partition (or partition_name as above line>) Į (PARTITION <new_partition>, pertvaros <next_partition (or partition_name kaip aukščiau line>)
UPDATE GLOBAL INDEXES; UPDATE GLOBAL indeksai;
Note: UPDATE GLOBAL INDEXES is optional. Pastaba: UPDATE GLOBAL RODIKLIŲ yra neprivalomas.
For Example: Pavyzdžiui
ALTER TABLE demo SPLIT PARTITION pmaxvalue at (40) INTO (PARTITION newpartition, PARTITION pmaxvalue); ALTER TABLE Demo SPLIT PARTITION pmaxvalue ne (40) Į (PARTITION newpartition, pertvaros pmaxvalue);
IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Automatinis vertimas gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.
Related Articles Susiję straipsniai
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error Kurti, Pridėti arba neskaldytos Oracle Pasiskirstymo fails su klaida ORA-14080
- Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace Error "Oracle" ORA-01658 Nepavyko sukurti PRADINĖ laipsniu segmente Tablespace Klaida
- ORA-02449 Oracle Drop Table Error ORA-02449 Oracle Drop Table Klaida
- ORA-00942 Table or View Does Not Exist Oracle Error ORA-00942 lentelę ar vaizdas neegzistuoja Oracle Klaida
- Oracle EXP-00091 Error When Export Database Oracle Tinka-00091 Klaida Eksporto duomenų bazė
- Oracle Database Import Error 3113/3114 Oracle Database Importo Klaida 3113/3114
- Easily Duplicate, Copy or Backup Tables in Oracle, PostgreSQL, DB2 and SQLite with Create Table As SQL Geras dublikatas, kopija ar pasikartojančios lentelės Oracle, PostgreSQL, DB2 ir SQLite su Sukurkite lentelę SQL
- ORA-25153 Temporary Tablespace is Empty Error in Oracle ORA-25153 Laikinosios Tablespace yra tuščias Klaida Oracle
- Oracle PL/SQL ORA-00947 Not Enough Values Error Oracle PL / SQL ORA-00947 Nepakanka vertės paklaida
- IMP-00016 Required Character Set Conversion Not Supported Error when Import to Oracle Database IMP-00016 Privalomas Character Set konversijos Not Supported klaidą Importas į duomenų bazę Oracle










































April 7th, 2008 18:44 7 balandis 2008 18:44
we have a partition D20080330 already created abd the maxvalue is D30001231. mes pertvarų D20080330 jau sukurtas Abd maxvalue yra D30001231.
Now we want to split the partition for D20080330. Dabar mes norime padalinti į D20080330 disko.
ALTER TABLE TABLE_NAME SPLIT PARTITION D30001231 ALTER TABLE table_name SPLIT PARTITION D30001231
at (TO_DATE('20080401′, 'YYYYMMDD')) INTO (PARTITION D20080331, PARTITION D30001231); ne (TO_DATE ('20080401 ', mėnuo, diena)) Į (PARTITION D20080331, pertvaros D30001231);
fails with the error Nepavyksta klaida
ORA-14080: partition cannot be split along the specified high bound. ORA-14080: pasiskirstymo negali būti padalinta išilgai nurodytas aukštos privalomas.
What am i missing in the above alter statement, any help would be appreciated What am I missing pirmiau pakeisti ataskaita, bet padėti būtų dėkingi
November 8th, 2006 18:44 8 lapkritis 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. [...] Oracle atitvarų lentelės yra svarbus optimalaus vykdymo duomenų bazės, kadangi ji leidžia Oracle procesą ir konkrečių independat pertvarų ar dalis, kuri yra mažesnio dydžio, o ne visą visą lentelės ar duomenų bazės. 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. Tačiau, jei norite sukurti naują skirsnį į lentelę pridedant ar disko padalijimo, administratorius gali atsirasti klaidų, pvz ORA-14.074. Other than that, Oracle error ORA-14080 can also happen, if you're not careful enough with the following symptom: [...] Išskyrus, kad "Oracle klaida ORA-14080 taip pat gali atsitikti, jei nesate pakankamai atidūs su šių simptomų: [...]