Viewing 15 posts - 91 through 105 (of 201 total)
thank you very much for your help.
November 29, 2015 at 11:53 pm
Orlando Colamatteo (11/28/2015)
November 28, 2015 at 11:45 pm
Orlando Colamatteo (11/27/2015)
Use PowerShell and WMI.
Hi Orlando,
Can you please tell me what the following query does?
SELECT
@CPUusage=(cast(CAST (A.cntr_value1 AS NUMERIC) / CAST (B.cntr_value2 AS NUMERIC) as decimal(18,3)))*100 ,@CPUusagebase=cntr_value2
FROM
(
SELECT cntr_value AS cntr_value1
FROM...
November 28, 2015 at 12:09 pm
i just need to measure the cpu usage across different times during the day to get peak hours and see how much cpu goes up at those times.
November 27, 2015 at 3:31 pm
Orlando Colamatteo (6/14/2012)
This may help answer your question:http://stackoverflow.com/questions/28952/cpu-utilization-by-database
This will get the usage per each sql, what if i just want the CPU usage on the server, any SQL to get...
November 27, 2015 at 5:27 am
anthony.green (10/29/2015)
Your string then looks like nixcba for example.
You can then full text...
October 29, 2015 at 6:41 am
I guess they did it that way to be SARGABLE, am i right?
But then will i gain performance wise by implementing the FTI over the normal like operator?
October 29, 2015 at 4:30 am
anthony.green (10/29/2015)
Remove the * from the CONTAINS search, do you get the right results then?
I changed the query to select * from namingtrades where contains(tradename,' "xin" ')
as you suggested...
October 29, 2015 at 3:25 am
Thanks Chris and Ed for your replies, i will check those articles.
October 26, 2015 at 5:20 am
Jayanth_Kurup (10/25/2015)
Hover over the table scan and see the estimated and actual number of rows , that should explain it. Else post the actual sqlplan file.
Thanks Jayanth_Kurup for your reply.
In...
October 26, 2015 at 4:42 am
Jeff Moden (10/21/2015)
Here's my shot at it. I'll do a performance test tonight (on my way to work just now).
--===== Build...
October 22, 2015 at 1:24 am
Lynn Pettis (10/19/2015)
declare @InputValue as varchar(50)='ttttest',
@Word varchar(50);
with e1(n) as (select 1 from (values (1),(1),(1),(1),(1),(1),(1),(1),(1),(1))dt(n)),
...
October 20, 2015 at 12:31 am
Jeff Moden (10/19/2015)
nadersam (10/19/2015)
Unfortunately the lag function is not supported on the servers on site, they have SQL Server 2008.Any other option please?.
In future posts, I recommend you post to...
October 20, 2015 at 12:25 am
Eirikur Eiriksson (10/19/2015)
nadersam (10/19/2015)
Unfortunately the lag function is not supported on the servers on site, they have SQL Server 2008.Any other option please?.
Self-join the character list cte is another option
😎
I...
October 19, 2015 at 4:46 am
Eirikur Eiriksson (10/19/2015)
nadersam (10/19/2015)
Unfortunately the lag function is not supported on the servers on site, they have SQL Server 2008.Any other option please?.
Self-join the character list cte is another option
😎
Thank...
October 19, 2015 at 4:36 am
Viewing 15 posts - 91 through 105 (of 201 total)