473,779 Members | 2,064 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4952
an*******@yahoo .com (Andras Kovacs) wrote in message news:<41******* *************** ****@posting.go ogle.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
2584
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 application loop. normally you can use the admin console to display the transactions and get a
3
2941
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 alternate day, i am performing update / insert / deletes on incremental basis on both the sides. Can I implement replcation? What r the requisites I have to follow for replication? I do not have permenant connectyvity but I need to connect using...
9
2451
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 http://developer.postgresql.org/~wieck/slony1.html The concept will be the base for some of my work as a Software Engineer here at Afilias USA INC. in the near future. Afilias is like many of you in need of reliable and performant replication solutions for backup and failover...
5
2262
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 what files need to be replicated for the default databases and others that are mounted. I would greatly appreciate any offered assistance. Thanks!
1
2991
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 the target server is on another Windows server running the apply program. This replication set up has a mix of bidirectional and unidirection data exchange. User copy is used for the unidirectional data. I'm having the following issue. 1. It...
9
2067
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 someone please review my before and after code and tell me the proper way to add transactions to my code? Thanks, TD
4
12640
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 levels (TL1, TL2, and TL3): Here is what I'm trying to accomplish:
15
2238
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 version would be released..... I use PostgreSQL and I would appreciate to have the same features in PostgreSQL.
1
147
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 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 ?
0
9474
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10306
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10139
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10075
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9931
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8961
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5373
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3632
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2869
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.