Re: Call to database causes subsequent calls to be slow
From: Adam Machanic (amachanic_at_air-worldwide.nospamallowed.com)
Date: 04/26/04
- Next message: James Bradley: "Re: What's the deal with PAGEIOLATCH_SH? - PAGEIOLATCHIssue20040426.zip (0/1)"
- Previous message: Vlad: "Update statement problem"
- In reply to: Mark Powell: "Re: Call to database causes subsequent calls to be slow"
- Next in thread: Mark Powell: "Re: Call to database causes subsequent calls to be slow"
- Reply: Mark Powell: "Re: Call to database causes subsequent calls to be slow"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 26 Apr 2004 11:40:38 -0400
So you're saying that actually reading the data is only a bit slower, but
what happens AFTER you read the data becomes much slower?
'Time between calls increases" -- have you profiled what the application is
doing between these calls? I can think of no reason that the rate at which
you can establish a connection to SQL Server would slow down due to having
read from one database vs. another...
"Mark Powell" <markpowell.zenith@btinternet.com> wrote in message
news:ew$hkE6KEHA.2236@TK2MSFTNGP09.phx.gbl...
>
> Thanks for your reply, but I think you're missing my point. I would
> expect the reading from the historical database to be slower than
> reading from the active one, but in reality it isn't due to good
> indexing and a fast server. What does happen though is that if the data
> is read from the historical database everything that we do after that
> within the same transaction runs slowly. The code that is run after the
> read is essentially identical (same database and everything) regardless
> of which of the two the data is originally read from. The actual calls
> to SQL Server SPs run in the same amount of time regardless of the
> source data, but the time between calls increases as if it's struggling
> to establish connections or somesuch.
>
- Next message: James Bradley: "Re: What's the deal with PAGEIOLATCH_SH? - PAGEIOLATCHIssue20040426.zip (0/1)"
- Previous message: Vlad: "Update statement problem"
- In reply to: Mark Powell: "Re: Call to database causes subsequent calls to be slow"
- Next in thread: Mark Powell: "Re: Call to database causes subsequent calls to be slow"
- Reply: Mark Powell: "Re: Call to database causes subsequent calls to be slow"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|