Click here to Skip to main content
16,008,183 members
Home / Discussions / Database
   

Database

 
GeneralRe: Curious about a query Pin
brdavid26-Jul-04 6:04
brdavid26-Jul-04 6:04 
GeneralRe: Curious about a query Pin
Michael Potter26-Jul-04 10:36
Michael Potter26-Jul-04 10:36 
GeneralRe: Curious about a query Pin
Grimolfr26-Jul-04 11:28
Grimolfr26-Jul-04 11:28 
GeneralHOW: format date field in sql Pin
JabraJabra25-Jul-04 13:16
JabraJabra25-Jul-04 13:16 
GeneralRe: HOW: format date field in sql Pin
darkbyte29-Jul-04 1:37
darkbyte29-Jul-04 1:37 
GeneralData type Pin
Peter Mayhew25-Jul-04 4:42
Peter Mayhew25-Jul-04 4:42 
GeneralRe: Data type Pin
Peter Mayhew27-Jul-04 9:24
Peter Mayhew27-Jul-04 9:24 
GeneralDEADLOCK PROBLEMc (ASAP) Pin
Anonymous24-Jul-04 23:26
Anonymous24-Jul-04 23:26 
Hi Guys,

I have a three process - database scenario
- The first process inserts data continuously on a 24 hr (TMPDATA). basis, for every 1 second my program insert 6-10 records. It is very fast I'm using a socket connection to get the data.
- 2nd process is to transfer from TMPDATA to ORIGDATA every 5 mins. But Here I do the Locking Isolation level SERIALIZABLE so that the first process will not interfer with this process becuase after the transfer I truncate the TMPDATA table so as to free some space. (24 hrs. continuous)
DTS PROCESS:
begin transaction<br />
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE<br />
insert into TMPDATA select * from ORIGDATA<br />
truncate table rop_tmp<br />
SET TRANSACTION ISOLATION LEVEL READ COMMITTED<br />
commit transaction


- 3rd process when I get an Error of "Transaction (Process ID 52) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction". My program downloads data from ORIGDATA using certain criterias but it failed becuase of this locking. Run only during 12 midnight.

Question: Can you please suggest any isolation level that stops the INSERT for process 1 and allow my process 3 to download data into a file. Please I really need the solution, any idea is welcome. I will try also to look for solution.

/Dabuskol
GeneralRe: DEADLOCK PROBLEMc (ASAP) Pin
Michael Potter26-Jul-04 11:17
Michael Potter26-Jul-04 11:17 
General@@IDENTITY detection with ADO Pin
darkbyte24-Jul-04 10:49
darkbyte24-Jul-04 10:49 
GeneralRe: @@IDENTITY detection with ADO Pin
mav.northwind24-Jul-04 23:49
mav.northwind24-Jul-04 23:49 
Generalweekly,monthly and yearly report Pin
placement24-Jul-04 0:59
placement24-Jul-04 0:59 
GeneralUrgent! Need Help with SQL Statement Pin
bunnymaniac23-Jul-04 15:40
bunnymaniac23-Jul-04 15:40 
GeneralRe: Urgent! Need Help with SQL Statement Pin
Small Rat23-Jul-04 18:47
Small Rat23-Jul-04 18:47 
GeneralRe: Urgent! Need Help with SQL Statement Pin
bunnymaniac26-Jul-04 17:03
bunnymaniac26-Jul-04 17:03 
GeneralOLEDB question... Pin
CherezZaboro23-Jul-04 5:36
CherezZaboro23-Jul-04 5:36 
GeneralRe: OLEDB question... Pin
Mike Dimmick23-Jul-04 6:20
Mike Dimmick23-Jul-04 6:20 
GeneralRe: OLEDB question... Pin
CherezZaboro23-Jul-04 6:32
CherezZaboro23-Jul-04 6:32 
GeneralAnyone have any experience with FireBird Pin
partyganger22-Jul-04 17:45
partyganger22-Jul-04 17:45 
GeneralRe: Anyone have any experience with FireBird Pin
michanne124-Jul-04 6:51
michanne124-Jul-04 6:51 
QuestionHow to find number of student Pin
DotNet22-Jul-04 16:52
DotNet22-Jul-04 16:52 
AnswerRe: How to find number of student Pin
partyganger22-Jul-04 17:28
partyganger22-Jul-04 17:28 
GeneralRe: How to find number of student Pin
DotNet22-Jul-04 17:50
DotNet22-Jul-04 17:50 
GeneralRe: How to find number of student Pin
partyganger22-Jul-04 18:18
partyganger22-Jul-04 18:18 
AnswerRe: How to find number of student Pin
Bill Dean23-Jul-04 8:57
Bill Dean23-Jul-04 8:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.