ORA-08177: Cannot serialize access for this transaction

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
ysweec
Participant
Posts: 31
Joined: Thu Jun 17, 2004 9:01 pm

ORA-08177: Cannot serialize access for this transaction

Post by ysweec »

Hi All,

I'm using ORAOCI8 stage(Transaction Isolation= Read-Only) to retrieve data from 2 tables and getting the following error msg:-
ORA-08177: Cannot serialize access for this transaction
Is it something to do with the Transaction Isolation setting?
Should I set it to 'Serializable' or 'Read Committed'?

Regards,
Swee Chin
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Yes, this is a result of your Transaction Isolation setting. Change it back to the default of 'Read Commited'.

Going to a command line and issuing 'oerr ORA 08177' may help explain what's going on and then again it may not. Many of the error message descriptions there are blank, for some silly reason. :? Google will turn up some hits for it I'm sure, or if you are really curious, have a chat with your DBA.
-craig

"You can never have too many knives" -- Logan Nine Fingers
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Hi,
welcome to this "amusing" error select membership :(
well this could be caused by a conflict of read/write on the same resource.
in addition it might be resolved by tuning oracel configuration (I can't recall the exact name of this elusive one :( )
how ever the official oracel documentaion says that if this happens simply rerun your query :cry: .

that is all I can remeber on this specific error.

IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

There is an init.ora parameter that enables SERIALIZABLE transactions and which must be set before you have any hope of this option working correctly. Other than that... could be a number of things.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

:idea:
The Oracle error codes manual contains not only the meaning of each error code but also, in most cases, suggested remedial action. It's worth having nearby when you're working with Oracle.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ysweec
Participant
Posts: 31
Joined: Thu Jun 17, 2004 9:01 pm

Post by ysweec »

Thanks all for the guidance!
Post Reply