SQL2K SP4
Howdy all. When trying to use ITW, I get a message saying
"The workload does not contain any any events or queries that can be tuned
against the current database. Check to see the scripty contains valid events
or that the SQL script contains valid queries and that you are tuning
against the right database".
I have verified everything, I am doing it right. I googled this topic, and
see others have posted the same issue, but have found no clear resolution.
Any ideas?
TIA, ChrisR
ChrisR
If I understood you have ran SQL Server Profiler to collect the events
(queries/stored procuders) and later on you would like to load the file into
ITW?
Can you provide a list of events you have collect to ?
"ChrisR" <ChrisR@.foo.com> wrote in message
news:%23UBWE00LHHA.5104@.TK2MSFTNGP06.phx.gbl...
> SQL2K SP4
> Howdy all. When trying to use ITW, I get a message saying
> "The workload does not contain any any events or queries that can be tuned
> against the current database. Check to see the scripty contains valid
> events or that the SQL script contains valid queries and that you are
> tuning against the right database".
> I have verified everything, I am doing it right. I googled this topic, and
> see others have posted the same issue, but have found no clear resolution.
> Any ideas?
> TIA, ChrisR
>
|||I am on a test box. I have only run 1 sproc while running profiler. I
filtered it down to just my test DB. All I collected was:
Stored Procs
RPC:Completed
TSQL
SQL:BatchCompleted.
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:OhBw4%230LHHA.536@.TK2MSFTNGP02.phx.gbl...
> ChrisR
> If I understood you have ran SQL Server Profiler to collect the events
> (queries/stored procuders) and later on you would like to load the file
> into ITW?
> Can you provide a list of events you have collect to ?
>
>
> "ChrisR" <ChrisR@.foo.com> wrote in message
> news:%23UBWE00LHHA.5104@.TK2MSFTNGP06.phx.gbl...
>
|||ChisR
Ok, how long did you run a profiler?
"ChrisR" <ChrisR@.foo.com> wrote in message
news:%23F087B1LHHA.5000@.TK2MSFTNGP03.phx.gbl...
>I am on a test box. I have only run 1 sproc while running profiler. I
>filtered it down to just my test DB. All I collected was:
> Stored Procs
> RPC:Completed
> TSQL
> SQL:BatchCompleted.
>
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:OhBw4%230LHHA.536@.TK2MSFTNGP02.phx.gbl...
>
|||Long enough to run the sproc and capture it, about 40 seconds.
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:eeLIhE1LHHA.3668@.TK2MSFTNGP02.phx.gbl...
> ChisR
> Ok, how long did you run a profiler?
>
> "ChrisR" <ChrisR@.foo.com> wrote in message
> news:%23F087B1LHHA.5000@.TK2MSFTNGP03.phx.gbl...
>
|||ChrisR
I did just some testing ( run it about 1 hour) and ITW was able to recommed
some indexes. I think 40sec you have ran the trace is pretty small period of
time for ITW make suggestions
"ChrisR" <ChrisR@.foo.com> wrote in message
news:ONYuBI1LHHA.2028@.TK2MSFTNGP03.phx.gbl...
> Long enough to run the sproc and capture it, about 40 seconds.
>
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:eeLIhE1LHHA.3668@.TK2MSFTNGP02.phx.gbl...
>
|||you need to add more events for running profiler and u have to run it
for most of the processes which uses the table u need to indent and to
run for more time to catch enough events. the frequecy of operations
also be considered by the ITW. the best practice is to run the get the
profiler data from an environment with heavy database access.
*** Sent via Developersdex http://www.codecomments.com ***
|||I'll try your suggestions first thing.
"ChrisR" <ChrisR@.foo.com> wrote in message
news:%23UBWE00LHHA.5104@.TK2MSFTNGP06.phx.gbl...
> SQL2K SP4
> Howdy all. When trying to use ITW, I get a message saying
> "The workload does not contain any any events or queries that can be tuned
> against the current database. Check to see the scripty contains valid
> events or that the SQL script contains valid queries and that you are
> tuning against the right database".
> I have verified everything, I am doing it right. I googled this topic, and
> see others have posted the same issue, but have found no clear resolution.
> Any ideas?
> TIA, ChrisR
>
Friday, March 9, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment