Viewing 9 posts - 1 through 10 (of 10 total)
The problem was... Extended Events (one active session), which logged queries on one - hardly used DB. Incomprehensible...
Switching it off caused above calculation time decline from 40s to less than...
February 10, 2020 at 11:47 am
There is something wrong with that instance. HammerDB results confirm the problem. On the same VM I have installed second instance of SQL and guess! No CPU performance issue and...
February 5, 2020 at 11:03 am
Look at this, please
https://itpeernetwork.intel.com/how-to-maximise-cpu-performance-for-sql-server-on-windows/#gs.v3qqw4
January 31, 2020 at 4:28 pm
"maybe you misunderstood my comment - I meant that I saw that you used a loop to test, is this because there are lots of loops in your real code...
January 31, 2020 at 4:20 pm
Jonathan
I have not tested it separetly yet
Mike
"(...) SQL needs disk as its main resource (...)"
I know that generally but this is not a only one test. I have started collect...
January 31, 2020 at 2:47 pm
My steps:
October 29, 2019 at 12:28 pm
At this moment I can say, that statistics time shows huge CPU time processing in section 2 - more comments - biger that time. It looks like comented code is...
October 25, 2019 at 9:45 pm
I know - I sound like I'm crazy, but it's real life. Execution plans are identical- with comments and without. You have right - comments should be ignored, but on...
October 25, 2019 at 9:14 pm
I don't catch your question (my english) but I mean statements like this:
/*1*/
select t1.DateUTC into #Tmp1 from Table1 t1
/*2*/
select function(t2.DateUTC) DateLocal from #Tmp1 t2
/*3*/
/*
select
t3.Field1
,t3.Field2
,t3.Field4
...
from TableX t3
join TableY t4 on ...
......
*/
If...
October 24, 2019 at 2:46 pm
Viewing 9 posts - 1 through 10 (of 10 total)