Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Query Memory Usage Expand / Collapse
Author
Message
Posted Saturday, October 06, 2012 3:11 PM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Today @ 12:07 AM
Points: 1,251, Visits: 2,223
Hi All

I'm using the sys.dm_exec_requests to check what's happening in my instance

There is a column called granted_query_memory, what does this column indicate? Does this indicate how many pages were brought from disk into memory to satisfy the query?

Thanks
Post #1369468
Posted Sunday, October 07, 2012 3:32 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 12:59 AM
Points: 38,068, Visits: 30,361
Nothing to do with the buffer pool. That's the workspace memory grant for the query to do operations that themselves require memory. Hashes, sorts, exchanges, that sort of thing.

As I suggested a week or so ago (http://www.sqlservercentral.com/Forums/Topic1365762-1550-1.aspx), go look for Adam Machanic's workspace memory session videos. The one from PASS is online, so is the one he did at SQLBits



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1369513
Posted Monday, October 08, 2012 12:56 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Today @ 12:07 AM
Points: 1,251, Visits: 2,223
GilaMonster (10/7/2012)
Nothing to do with the buffer pool. That's the workspace memory grant for the query to do operations that themselves require memory. Hashes, sorts, exchanges, that sort of thing.

As I suggested a week or so ago (http://www.sqlservercentral.com/Forums/Topic1365762-1550-1.aspx), go look for Adam Machanic's workspace memory session videos. The one from PASS is online, so is the one he did at SQLBits


Thanks Gail

A question that might be out of the scope of this thread, are you aware of any upcoming SQL Server events in South Africa?

Thanks
Post #1369634
Posted Monday, October 08, 2012 1:45 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 12:59 AM
Points: 38,068, Visits: 30,361
SQLSACT (10/8/2012)
GilaMonster (10/7/2012)
Nothing to do with the buffer pool. That's the workspace memory grant for the query to do operations that themselves require memory. Hashes, sorts, exchanges, that sort of thing.

As I suggested a week or so ago (http://www.sqlservercentral.com/Forums/Topic1365762-1550-1.aspx), go look for Adam Machanic's workspace memory session videos. The one from PASS is online, so is the one he did at SQLBits


Thanks Gail

A question that might be out of the scope of this thread, are you aware of any upcoming SQL Server events in South Africa?

Thanks


Other than the monthly usergroup meetings?



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1369652
Posted Monday, October 08, 2012 1:52 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Today @ 12:07 AM
Points: 1,251, Visits: 2,223
GilaMonster (10/8/2012)
SQLSACT (10/8/2012)
GilaMonster (10/7/2012)
Nothing to do with the buffer pool. That's the workspace memory grant for the query to do operations that themselves require memory. Hashes, sorts, exchanges, that sort of thing.

As I suggested a week or so ago (http://www.sqlservercentral.com/Forums/Topic1365762-1550-1.aspx), go look for Adam Machanic's workspace memory session videos. The one from PASS is online, so is the one he did at SQLBits


Thanks Gail

A question that might be out of the scope of this thread, are you aware of any upcoming SQL Server events in South Africa?

Thanks


Other than the monthly usergroup meetings?


Usergroup meetings?

I was wondering if there will be any SQLSaturdays\PASS Events happening on our side of the world anytime soon.
Post #1369655
Posted Monday, October 08, 2012 2:02 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 12:59 AM
Points: 38,068, Visits: 30,361
SQLSACT (10/8/2012)

Usergroup meetings?


Yes, the monthly meetings of the SQL Server usergroups

I was wondering if there will be any SQLSaturdays\PASS Events happening on our side of the world anytime soon.


There were 2 SQLSaturdays, one in March this year, one in May



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1369659
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse