Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 15930

SQL Server Fast Track Datawarehouse server, performance issues..

$
0
0

Hi,

We have a fastrack dw server, 256 GB memory, 48 CPU(physical 8*6), about 12 TB data.

When i run this query to see the granted memory

SELECT mg.granted_memory_kb, mg.session_id/*, t.text, qp.query_plan */,requested_memory_kb,granted_memory_kb,required_memory_kb, used_memory_kb,max_used_memory_kb

FROMsys.dm_exec_query_memory_grantsAS mg

CROSSAPPLYsys.dm_exec_sql_text(mg.sql_handle)AS t

CROSSAPPLYsys.dm_exec_query_plan(mg.plan_handle)AS qp

ORDERBY 1 DESC OPTION (MAXDOP 1)

Go

I see only three rows with granted memory

Part of the output

granted_memory_kb, mg.session_id  requested_memory_kb

43258760                           66                                         43258760

7630296                              211                                       7630296

1024                                     117                                       1024

1024                                     243                                       1024

NULL                                   277                                        272664

Followed by all NULL

These two values add up to about 50 GB and the remaining all NULL values (meaning waiting for memory to be granted). This is a 256 GB box with max server memory (MB) to 219 GB for SQL.

What happened to all the memory, how do I see that 219 GB allocated to SQL is used?

I tried dbcc memorystatus and here is the output of it. I do not know how to interpret this, can someone help me please here?

Posting only a part of dbcc memorystatus output here:

Memory Manager                          KB

---------------------------------------- -----------

VM Reserved                             282869368

VM Committed                            1838440

Locked Pages Allocated                  234065920

Reserved Memory                         1024

Reserved Memory In Use                  0

MEMORYCLERK_SQLGENERAL (Total)          KB

---------------------------------------- -----------

VM Reserved                             0

VM Committed                            0

Locked Pages Allocated                  0

SM Reserved                             0

SM Committed                            0

SinglePage Allocator                    17272

MultiPage Allocator                     5760

MEMORYCLERK_SQLQUERYEXEC (Total)        KB

---------------------------------------- -----------

VM Reserved                             0

VM Committed                            0

Locked Pages Allocated                  0

SM Reserved                             0

SM Committed                            0

SinglePage Allocator                    43192

MultiPage Allocator                     208

Buffer Pool                             Value

---------------------------------------- -----------

Committed                               28800000

Target                                  28800000

Database                                24880874

Dirty                                   6459427

In IO                                   0

Latched                                 9

Free                                    1716

Stolen                                  3917410

Reserved                                13508246

Visible                                 28800000

Stolen Potential                        9934344

Limiting Factor                         17

Last OOM Factor                         0

Page Life Expectancy                    371

(14 row(s) affected)

Process/System Counts                   Value

---------------------------------------- --------------------

Available Physical Memory               18337685504

Available Virtual Memory                8504458215424

Available Paging File                   106100379648

Working Set                             948097024

Percent of Committed Memory in WS       100

Page Faults                             109165443

System physical memory high             1

System physical memory low              0

Process physical memory low             0

Process virtual memory low              0

(10 row(s) affected)

Procedure Cache                         Value

---------------------------------------- -----------

TotalProcs                              11441

TotalPages                              72254

InUsePages                              4778

Memory Pool (internal)                  Pages

---------------------------------------- -----------

Allocations                             7709

Predicted                               7709

Private Target                          0

Private Limit                           0

Total Target                            27360000

Total Limit                             27360000

OOM Count                               0

Memory Pool (default)                   Pages

---------------------------------------- -----------

Allocations                             17417944

Predicted                               18524594

Private Target                          0

Private Limit                           0

Total Target                            27360000

Total Limit                             27360000

OOM Count                               0


Suresh Channamraju


Viewing all articles
Browse latest Browse all 15930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>