473,396 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Advanced replication: Setting timeout for insert transactions

I have a "insert into" transaction that hangs because there is a lock
on the table and one of its rows. (Advanced syncron replication causes
this locking problem.) Unfortunately adv replication is not perfectly
aware of locks.

The transaction hangs for 60 seconds thant stops with an ORA-02949
error. Is there a way to change the default timeout for an "insert
into" transaction.

What would be the setting in Oracle ?

What would be the setting in Java ?
Jul 19 '05 #1
1 4919
an*******@yahoo.com (Andras Kovacs) wrote in message news:<41**************************@posting.google. com>...
I have a "insert into" transaction that hangs because there is a lock
on the table and one of its rows. (Advanced syncron replication causes
this locking problem.) Unfortunately adv replication is not perfectly
aware of locks.

The transaction hangs for 60 seconds thant stops with an ORA-02949
error. Is there a way to change the default timeout for an "insert
into" transaction.

What would be the setting in Oracle ?

What would be the setting in Java ?


In 8i and below there isn't.
The only solution would be to issue a lock .. nowait
prior to the insert.

Sybrand Bakker
Senior Oracle DBA
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: steve | last post by:
Hi, I have a 2 demo systems for testing code, they use advance replication. I am seeing single transactions with >6000 calls!!!, obviously something is very wrong. I suspect an...
3
by: Rohit | last post by:
Hi, I have 2 instances of databases in 2 different cities.Data entry / updations are going on at both the sides.At any point of time data in both the databases should be same.Currently every...
9
by: Jan Wieck | last post by:
Dear community, for some reason the post I sent yesterday night still did not show up on the mailing lists. I have set up some links on the developers side under...
5
by: Tony Hinkle | last post by:
I am working on an application note to provide instructions on how to use a real-time file replication application to provide disaster recovery for DB2. I basically need to know how to identify...
1
by: Trent | last post by:
Hello,everyone. I'm setting a db2 replication environment using UDB version 8.1.5 running on Windows 2000 servers. The source server is on a Windows server with the capture program running while...
9
by: TD | last post by:
I am trying to add transactions to my code. The original code worked fine until I followed an example to setup transactions, now the code does strange things, but no error messages. Could...
4
by: Manoj K | last post by:
Environment:- Framework 1.1 DB: SQL Server 2000 (SQL Provider) OS: Windows 2000 Language: VB.NET I'm trying to do mass inserts/updates. Using Transactions. The table hierarchy contains 3...
15
by: Pailloncy Jean-Gérard | last post by:
Hi, I just see that Mysql will propose at the end of the month a full synchronous replication system with auto-recovery. http://www.mysql.com/products/cluster/ We need to see when stable...
1
by: Andras Kovacs | last post by:
I have a "insert into" transaction that hangs because there is a lock on the table and one of its rows. (Advanced syncron replication causes this locking problem.) Unfortunately adv replication is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.