Would recently updated records be quicker to access?

sql server United Kingdom
  • 14 years ago

    Hi,
    On wednesday night I updated 50K records in our database which took 7.5 Hours (its a cursor based update script which I think is a bit slow).
    On Thursday night I updated 70K records using the same update script and it took 4.5 Hours.
    I am worried that it took less time - I've analysed the data and it appears to updated.

    Note: 50K's worth of Thursdays 70K were the exact 50K from Wednesday night.
    Could it be that because these 50K records had been re-written on the databse the night before that they were more accessible on the disk and so processed quicker?
    .. or am I baking up completely the wrong tree?

    Any help would be gratefully recieved with interest.

    Thanks
    Columbo















Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“If Java had true garbage collection, most programs would delete themselves upon execution.” - Robert Sewell