Re: Query tuning
From: Victor Kozel (victor_kozel_at_tut.by)
Date: 03/31/04
- Next message: Noorali Issani: "Re: xp_cmdshell"
- Previous message: Hari: "Re: xp_cmdshell"
- Maybe in reply to: Victor Kozel: "Re: Query tuning"
- Next in thread: Victor Kozel: "Re: Query tuning"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 31 Mar 2004 12:48:41 +0300
Hi Mark,
Yes, I made updating for the statistic.
I have tried to use the query on Borland Interbase (the same db structure and data) It made good plan.
I think it does not have a sense to debug without data and the table have more than 150000 rows.
Thanks
"Mark Allison" <marka@no.tinned.meat.mvps.org> wrote in message news:E22497EA-36C8-4C1E-BA4E-86CA08578D6B@microsoft.com...
Victor,
Are your statistics up to date? Running Update Stats might help the optimizer here. Failing that you might want to use index hints (with caution). Have you got an index on the correct columns? Posting a repro script here would help us to debug it.
--
Mark Allison, SQL Server MVP
http://www.markallison.co.uk
- Next message: Noorali Issani: "Re: xp_cmdshell"
- Previous message: Hari: "Re: xp_cmdshell"
- Maybe in reply to: Victor Kozel: "Re: Query tuning"
- Next in thread: Victor Kozel: "Re: Query tuning"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|