Hi group
I have an application running on a couple of pc's all connecting to
the same SQL-serve databaser. The other day one of my applications
started a transaction which it never committed (programming error) .
The application continiued running for a couple og hours filling every
insert and update statement to the sql-server log-file, where they
remain rigt now. The applications on all the other machines
deadlocket because they waited for the first application to commit. I
eventually shot down the ms sql service and restarted it. Now all the
transactions which were not commited are not to bee seen in the
database, because they remain in the log file (ldf-file) waiting for
af commit I cannot perform. Are there a way to browse an ms-server
..ldf file to see which uncommitted records are in it
Thanks if anyone can helo
Regards
jsa 3 1558
If you restarted the service, then the open transaction will simply
have been rolled back, as if it never happened. The easiest thing is
probably simple to redo the operations, but if that's not possible then
there are third-party tools which can read logs and recreate individual
statements. This is one (which I've never used): http://www.lumigent.com/products/le_sql.html
Simon
Thanks - I will try this one.
I have tried som other 3rd partie apps to view the log file.. But it
does not show the uncommited transactions..
But I know they are still in the ldf file, because when I open the
file in a hex-editor, I can see some of the data.. But it is not very
readable
On 7 Sep 2005 08:23:46 -0700, "Simon Hayes" <sq*@hayes.ch > wrote: If you restarted the service, then the open transaction will simply have been rolled back, as if it never happened. The easiest thing is probably simple to redo the operations, but if that's not possible then there are third-party tools which can read logs and recreate individual statements. This is one (which I've never used):
http://www.lumigent.com/products/le_sql.html
Simon
Holyman (ja*@oncable.dk ) writes: The applications on all the other machines deadlocket because they waited for the first application to commit.
No, they did not.
Terminology time: a deadlock occurs when two processes are waiting
on each other to release a resource that is locked by the other process.
This condition is detected by SQL Server, and SQL Server will select one
of the processes as a deadlock victim, and rollback that transaction.
If the application was waiting for the run-away transaction to committed
they were simply blocked, but that is not a deadlock situation.
--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se
Books Online for SQL Server SP3 at http://www.microsoft.com/sql/techinf...2000/books.asp This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Steve Thorpe |
last post by:
Hi.
I have two sql servers and have ran exec sp_addlinkedserver 'ACSPSM', N'SQL
Server' to link one to the other and also vise versa.
Each server has two users permissioned.
My problem is when ever I try to do something that does a remote write I get
the follow error message
Microsoft OLE DB Provider for SQL Server error '80040e14'
|
by: neo |
last post by:
Hi,
I have a problem to set a JDBC connection as READ UNCOMMITED.
setTransactionIsolation(Connection.TRANSACTION_READ_UNCOMMITTED)
This is causing lots of blocking on tables
and update or insert doesn't work properly.
Does anyone have any idea what I'm missing here?
|
by: Pascal Deparis |
last post by:
Hi,
I've got a problem with the DB2 Command Line Processor, in V8, FP1. The
databases have been created on an AIX server (version 4.3.3).
Have a look at this:
>db2 ? list
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL1024N A database connection does not exist. SQLSTATE=08003
|
by: Daniel Chou |
last post by:
Hello,
We are running java applications which uses DB2 as the data store.
But sometimes we get the following exception:
2004-04-25 22:51:39,478 FATAL
LogService.logFatal(LogSer
vice (?:?) - JavaException: Error 11070 Collaboration exception at
step 3 in VBJ
ThreadPool Workerjava.lang.Object@692a4004CxCommon.FlowExecContext@6954c004.mai
|
by: Don Riesbeck Jr. |
last post by:
I have an C# EnterpriseService component that is part of an application I am
developing that is responsible for writing data to an SQL Server. (it reads
from a local DB (MSDE), then writes to a 'remote' DB (SQL Server 2k)...) On
some machines I get the following exception:
System.InvalidOperationException: An error occurred while enlisting in a
distributed transaction.
at...
| |
by: Sam Durai |
last post by:
Hello, is there is any snapshot element availble which could give the
no of uncommited Insert/Update/Delete stmts there were executed by an
application.
In the app shap I understand that this element "Update/Insert/Delete
statements executed" would give the list of Up/In/Del that have been
executed after the connection has established.
Thanks,
Sam.
|
by: Ron |
last post by:
Hi All,
I've got a client/transaction type of database where tblClient is linked to
tblTransactions via ClientID. The client table contains all clients from
day one. The transaction table contains all transactions from day one
(includes any purchases, labor charges, payments, adjustments) The aging
report I developed works fine, except...
For any client that owes money, it lists ALL the transactions for that
client. Or, it lists...
|
by: CriticalJ |
last post by:
I have several projects that have been working for at least four
years. Last Thursday, the connections for these projects began
dropping immediately upon opening the project. When I test the
connection, the connection will succeed. However, upon closing the
connection dialog box, the database temporarily connects and then
drops. This happens for both Access 2k and Access 2003. I spent
Thursday and Friday trying to get things back to...
|
by: jbenner |
last post by:
I have opened a PMR for this with IBM, and am not asking for advice from the DB2 DBA community. I am posting this as an FYI that DB2 Health Monitor, even at the latest version of DB2, still can cause huge problems with slow connect times and heavy resource locking in high concurrency / high transaction volume environments. I have an OLTP with 30-90 transactions per second activity, and start of Health Monitor every 2 hours was crashing our...
|
by: prakashgrp |
last post by:
Hi,
first i am new to sql server:
server version is sql server 2000
we used to get lot of blocking session and we thought of use isolation level read uncommited instead of read commited(default behaviour)
could any body advise me to set this parameter in database level
|
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,...
| |
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...
|
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,...
|
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
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...
| |