Re: Concurrent executions of "fn_trace_gettable" function are failing.
From: Narayana Vyas Kondreddi (answer_me_at_hotmail.com)
Date: 08/31/04
- Next message: Tibor Karaszi: "Re: SQL Server 6.5"
- Previous message: Patrick van Oppen: "SQL DB Backup via Veritas"
- In reply to: Nilesh: "Concurrent executions of "fn_trace_gettable" function are failing."
- Next in thread: Nilesh: "Re: Concurrent executions of "fn_trace_gettable" function are failing."
- Reply: Nilesh: "Re: Concurrent executions of "fn_trace_gettable" function are failing."
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 31 Aug 2004 14:02:28 +0100
I haven't tested this myself, but definitely seems like a locking issue on
the file, and can see why that would be the case.
Can you load the file into one table first, and then use DTS to parallelly
copy that table to multiple locations?
-- HTH, Vyas, MVP (SQL Server) http://vyaskn.tripod.com/ "Nilesh" <nilesh.oswal@gmail.com> wrote in message news:%23rXnKvzjEHA.3664@TK2MSFTNGP12.phx.gbl... Hi, While executing select * from fn_trace_gettable('C:\Program Files\Microsoft SQL Server\MSSQL.10\MSSQL\DATA\log.trc', default); query simulateneously from multiple clients, only one of them succeeds and all others give the following error message: File 'C:\Program Files\Microsoft SQL Server\MSSQL.10\MSSQL\DATA\log.trc' either does not exist or is not a recognizable trace file. Or there was an error opening the file. Seems like the "fn_trace_gettable" function is locking the trace log file internally during it's execution. I do not have any alternative other than executing the query simulateously from multiple clients. Can anyone suggest a workaround for this problem? Thanks, Nilesh
- Next message: Tibor Karaszi: "Re: SQL Server 6.5"
- Previous message: Patrick van Oppen: "SQL DB Backup via Veritas"
- In reply to: Nilesh: "Concurrent executions of "fn_trace_gettable" function are failing."
- Next in thread: Nilesh: "Re: Concurrent executions of "fn_trace_gettable" function are failing."
- Reply: Nilesh: "Re: Concurrent executions of "fn_trace_gettable" function are failing."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading