Hi,
I have an issue that I cannot understand anymore...
I have a server A (Windows Server 2003) hosting a database.
I have developed a DTS to save in this database some data for other databases from other servers.
This DTS is runned each morning with MS SQL Server (automatic execution).
I don't understand why every day, the run duration is random. Sometimes, the job spends 15 minutes to be done, sometimes, it spends 30 minutes...
I think that locks can be the issue. I want to trace them with SQL Profiler but the matter is that I want to start tracing at 5am. I'm not at work at that time so how can I make start the trace automatically?
If you don't think that the locks are the problem, do you know please how I can begin me research to solve this problem?
Thans you in advance,
Elaelian
I have an issue that I cannot understand anymore...
I have a server A (Windows Server 2003) hosting a database.
I have developed a DTS to save in this database some data for other databases from other servers.
This DTS is runned each morning with MS SQL Server (automatic execution).
I don't understand why every day, the run duration is random. Sometimes, the job spends 15 minutes to be done, sometimes, it spends 30 minutes...
I think that locks can be the issue. I want to trace them with SQL Profiler but the matter is that I want to start tracing at 5am. I'm not at work at that time so how can I make start the trace automatically?
If you don't think that the locks are the problem, do you know please how I can begin me research to solve this problem?
Thans you in advance,
Elaelian