Re: Performance Testing: Can I void the cache?
From: Ray Higdon (sqlhigdon_at_nospam.yahoo.com)
Date: 03/02/04
- Next message: rady cao: "Re: MSDE Osql accessed denied"
- Previous message: Carlos Eduardo Rojas: "Re: Massive Log Files"
- In reply to: Carlos Eduardo Rojas: "Re: Performance Testing: Can I void the cache?"
- Next in thread: Jacco Schalkwijk: "Re: Performance Testing: Can I void the cache?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 1 Mar 2004 23:01:27 -0500
In addition to what Carlos said, you can use the command "set statistics IO
on" to see the logical IO (number of times SQL hits a page) - If you run
what Carlos said I believe you can look at the physical as well but I
typically concentrate on the logical.
HTH
-- Ray Higdon MCSE, MCDBA, CCNA --- "Carlos Eduardo Rojas" <carloser@mindspring.com> wrote in message news:u4akXaAAEHA.2180@TK2MSFTNGP09.phx.gbl... > You can clear the data cache and the procedure cache using the following > commands: > DBCC DROPCLEANBUFFERS > DBCC FREEPROCCACHE > > -- > Carlos E. Rojas > SQL Server MVP > Co-Author SQL Server 2000 Programming by Example > > > "Rob Pecherer" <rmp@sfdbs.com> wrote in message > news:T1T0c.17154$aT1.15121@newsread1.news.pas.earthlink.net... > > I have 3 queries which produce the identical result. I want to see which > one > > runs fastest. Since they all run on the same relations, the 2nd, 3rd, > > (4th,...) benefit from cached disk pages and I don't get a meaningful > > comparison. > > > > Is there a way to void cached pages? What if I toggled (stop/start) the > > service? > > > > Is there a workaround: If I configure Server2K to use a maximum of (say) > > 16M, could I force the cache to void with "SELECT * FROM BigRelation" > where > > BigRelation is more than 16M?? > > > > Any suggestions here? I have the Profiler and the System Monitor tools, > but > > the learning curve on these is steep for what I want. > > > > Thank you in advance, > > Rob > > > > > >
- Next message: rady cao: "Re: MSDE Osql accessed denied"
- Previous message: Carlos Eduardo Rojas: "Re: Massive Log Files"
- In reply to: Carlos Eduardo Rojas: "Re: Performance Testing: Can I void the cache?"
- Next in thread: Jacco Schalkwijk: "Re: Performance Testing: Can I void the cache?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|