?
Solved

tempdb property size is not available

Posted on 2015-02-16
7
Medium Priority
?
736 Views
Last Modified: 2015-02-18
Hi,

I'm trying to look into the properties of my sql server's tempdb.  I keep getting this error (attached).  This is an online production system so it is under quite heavy load.

This is MS SQL 2012 SP2 running on Windows Server 2012 R2 in a cluster.
sqlerror.PNG
0
Comment
Question by:ts11
7 Comments
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 40613381
Do you belong to the sysadmin server role?
What property are you trying to view?
0
 

Author Comment

by:ts11
ID: 40613394
Yes I am.
I'm just trying to view the properties of the db using sql management studio.
0
 
LVL 15

Accepted Solution

by:
Vikas Garg earned 2000 total points
ID: 40613524
Hi,

This is due to some long running query which us using tempdb. so when the query running will finish this error will simply go.
If you want to find that query you can use the profiler while clicking on property for temp db if still that is not visible than  enabled the "User Error Message"
That will give you the query.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 27

Expert Comment

by:Zberteoc
ID: 40614193
Run these queries see what you get:
SELECT * FROM fn_my_permissions(NULL, 'SERVER');
SELECT HAS_PERMS_BY_NAME(null, null, 'CONTROL SERVER');

Open in new window

first one will give you all permissions you have at server level abd the second one will return 1 if your current login has admin rights.
0
 
LVL 70

Expert Comment

by:Scott Pletcher
ID: 40614645
Don't use the GUI for those types of requests.  Instead, use:

EXEC tempdb.sys.sp_helpdb
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 40615629
I'm just trying to view the properties of the db using sql management studio.
Can you be a tad more specific?  I mean what specific properties do you need?

Don't use the GUI for those types of requests.
Exactly, that is what I was trying to get at!
0
 

Author Closing Comment

by:ts11
ID: 40617613
An open query still had a session open.
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlleā€¦

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question