Viewing 15 posts - 2,881 through 2,895 (of 7,614 total)
March 27, 2019 at 3:30 pm
Are your CPUs really busy on that server for some reason?
In my case, I have lots of free CPU, it's I/O that's restraining my system perf.
March 27, 2019 at 2:06 pm
March 27, 2019 at 2:04 pm
Wow, that seems way long for only 38 dbs.
Force SQL to not parallelize the query, and see how that runs:
SELECT
DB_NAME(database_id) AS db_name,
COUNT(*) / 128.0...
March 27, 2019 at 10:36 am
How is the underlying table clustered?
What the most common WHERE conditions used when you read this table?
The best, most complete solution overall is to best cluster...
March 27, 2019 at 8:10 am
I did get less execution time cost using COUNT() rather than COUNT_BIG():
SELECT
DB_NAME(database_id) AS db_name,
COUNT(*) / 128.0 AS buffer_pool_size_mb
FROM sys.dm_os_buffer_descriptors WITH (NOLOCK)
WHERE database_id <> 32767...
March 27, 2019 at 8:05 am
March 26, 2019 at 12:02 pm
Yes.
;WITH cte_dups AS (
SELECT *, ROW_NUMBER() OVER(PARTITION BY name ORDER BY id DESC) AS row_num /* keep the HIGHEST/LAST id */
FROM...
March 26, 2019 at 11:39 am
Try it this way:
SELECT *
FROM (
SELECT Sequence#, Member#, Group#
WHERE Group# = 'PP0018'
) AS iq1
WHERE Sequence# <> CASE...
March 26, 2019 at 11:12 am
March 26, 2019 at 11:06 am
March 26, 2019 at 10:21 am
March 26, 2019 at 10:19 am
Also I disagree with a "heck of a lot...
March 26, 2019 at 10:15 am
I have ruled out blocking.
How specifically? That's a lot of LEFT JOINs. Is it safe to use NOLOCK on those tables? If so, have you tried that? (Let...
March 26, 2019 at 8:08 am
Viewing 15 posts - 2,881 through 2,895 (of 7,614 total)