Hello,
Will some one help me?
Which of the two requests, which return the same result, is more quickly ?
More generally is than the fact of making a connection between two tables is more powerful than to call upon overlapping SELECT?
Request 1
CREATE TABLE MY_TEMP_TRANS
NOLOGGING
PARALLEL (DEGREE 3)
AS SELECT PM.OBJ_ID0
FROM PROFILE_PECS_TRANSPAYMENT_T PM, TEMP_ITEM TI
WHERE PM.ITEM_OBJ_ID0 = TI.POID_ID0
/
Request 2:
CREATE TABLE MY_TEMP_TRANS
NOLOGGING
PARALLEL (DEGREE 3)
AS SELECT OBJ_ID0
FROM PROFILE_PECS_TRANSPAYMENT_T
WHERE ITEM_OBJ_ID0 IN
( SELECT POID_ID0 FROM TEMP_ITEM TI )
/
Indeed the problem that I have it is an error "snapshot too old" when I try to create table "MY_TEMP_TRANS". Because I am not the only one who thus work on this basis there are potentially other users who will modify table PROFILE_PECS_TRANSPAYMENT_T.
How should I modify my request not to more have the error "snapshot too old"?
Thank-you,
Ioan.
Will some one help me?
Which of the two requests, which return the same result, is more quickly ?
More generally is than the fact of making a connection between two tables is more powerful than to call upon overlapping SELECT?
Request 1
CREATE TABLE MY_TEMP_TRANS
NOLOGGING
PARALLEL (DEGREE 3)
AS SELECT PM.OBJ_ID0
FROM PROFILE_PECS_TRANSPAYMENT_T PM, TEMP_ITEM TI
WHERE PM.ITEM_OBJ_ID0 = TI.POID_ID0
/
Request 2:
CREATE TABLE MY_TEMP_TRANS
NOLOGGING
PARALLEL (DEGREE 3)
AS SELECT OBJ_ID0
FROM PROFILE_PECS_TRANSPAYMENT_T
WHERE ITEM_OBJ_ID0 IN
( SELECT POID_ID0 FROM TEMP_ITEM TI )
/
Indeed the problem that I have it is an error "snapshot too old" when I try to create table "MY_TEMP_TRANS". Because I am not the only one who thus work on this basis there are potentially other users who will modify table PROFILE_PECS_TRANSPAYMENT_T.
How should I modify my request not to more have the error "snapshot too old"?
Thank-you,
Ioan.