  | | | ORA-12838 please : Is possible to append two times to the same table befo | ORA-12838 please : Is possible to append two times to the same table befo 2004-04-01 - By Juan Cachito Reyes Pacheco
Back Thanks, temporary tables don't help this is only to create a historic table. Juan Carlos Reyes Pacheco OCP Database 9.2 Standard Edition -- -- Original Message -- -- From: "Mark Richard" <mrichard@(protected)> To: <oracle-l@(protected)> Sent: Thursday, April 01, 2004 7:46 PM Subject: Re: ORA-12838 (See http://ORA-12838.ora-code.com) please : Is possible to append two times to the same table before doing a commit
I believe Oracle is enforcing this to guarantee consistency of the database. I realise you are probably using the APPEND hint for performance reasons but is it really necessary?
Otherwise you could perhaps look at move complex arrangements involving temporary tables for the two inserts and then a single insert into the final table. Perhaps even place the first query into a temporary table and then for the second query add "union all select * from temp_table" to the end to combine the two results. Some times you have to work with what you are given - I doubt it's an Oracle bug, there's probably a real complication with performing two appended inserts on a table without commiting the first lot of data (perhaps a sudden inability to rollback the transaction).
"Juan Cachito Reyes Pacheco" To: <oracle-l@(protected) .org> <jreyes@(protected) cc: re.com> Subject: Re: ORA-12838 (See http://ORA-12838.ora-code.com) please : Is possible to append two times to the same table Sent by: before doing a commit oracle-l-bounce@(protected) eelists.org 02/04/2004 08:51 Please respond to oracle-l
Hi Mladlen the idea is this, maybe there is a hidden parameter, or some workaround to this. I read in a previous post in this forum this seems to be a bug.
And I can't do a commit between them. >:)
SQL> CREATE TABLE TEST( A NUMBER );
Tabla creada.
SQL> INSERT /*+ APPEND */ INTO TEST SELECT ROWNUM FROM DBA_OBJECTS WHERE ROWNUM< 5;
4 filas creadas.
SQL> INSERT /*+ APPEND */ INTO TEST SELECT ROWNUM FROM DBA_OBJECTS WHERE ROWNUM< 5; INSERT /*+ APPEND */ INTO TEST SELECT ROWNUM FROM DBA_OBJECTS WHERE ROWNUM<5 * ERROR en lİnea 1: ORA-12838 (See http://ORA-12838.ora-code.com): no se puede leer/modificar un objeto despuÚs de modificarlo en paralelo
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>> Privileged/Confidential information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such a case, you should destroy this message and kindly notify the sender by reply e-mail or by telephone on (03) 9612-6999 or (61) 3 9612-6999. Please advise immediately if you or your employer does not consent to Internet e-mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Transurban Infrastructure Developments Limited and CityLink Melbourne Limited shall be understood as neither given nor endorsed by them. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Please see the official ORACLE-L FAQ: http://www.orafaq.com -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe send email to: oracle-l-request@(protected) put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Please see the official ORACLE-L FAQ: http://www.orafaq.com -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe send email to: oracle-l-request@(protected) put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
|
|
 |