Which are your favorite DMVs?
Hi guys, I'm starting to get into the whole DMVs to help me monitor my SQL Server. The thing is I'm kind of new at them and there are so many. I was wondering which DMVs are your favorites and why?...
View ArticleSQL server utilizing more RAM
Hi, One of my customer says, the ram utilization of sql server is high on particular day but on next day sql is utilizing very normal.how to find previous days transactions or sp’s or quiries which...
View ArticleEnterprise licensing, instances, cores, etc
Say you're running a business offering "software as a service", and you need to run some kind of multi-tenant architecture. There are certainly some tradeoffs in ways to do that, but one of them is...
View ArticleNeed schema query that gets me a list of tables for a list of databases
Im looking at getting a list of tables for a given instance, or for a list of DB'sI know I can hit sys.tables for a specific database, but how can I expand this to the instance level?
View Articlesys.dm_db_missing_index_details does not contain indexes recommended by the...
Sometimes a user will complain about their query performance to which I'll copy the query to SSMS and then run the Estimated Execution Plan feature to see what the Optimizer is doing. Occasionally the...
View ArticleSql 2005 - insufficient system memory to run this query
Hi, We are getting right now following error: We have Sql 2005 with 4 GB MemoryThere is insufficient system memory to run this query. Error: 701, Severity: 17, State: 42.then it contains another...
View ArticleRe:Job Configuration issue..
Hi team,we try to configure backup job through maintenance plan,when ever we are select "BACKUP MAINTENANCE TASK"facing below error.[CAN NOT SHOW THE EDITOR FOR THIS TASK.Additional...
View ArticleSQL 2005 Monitoring memory use - setting up an alert
Note: This is for SQL 2005Im following this examplehttp://technet.microsoft.com/en-us/library/ms176018%28v=sql.90%29.aspxIt mentions using these counters, but what Object did they select? Memory:...
View ArticleWide clustered index column order
Hi,I have what I imagine is a pretty common data warehouse scenario. There is a table containing items by business date and source system id. There are a number of source systems and the data is loaded...
View ArticleHow to check if a view is updatable or not
What is a good way to find out if a view is updatable or not?The following options I know but are not useful for me:- try a update / insert statement: because I check all views existing in a unknown...
View ArticleQuestion on In-Row varbinary(max) on SQL FILESTREAM
I have a question on what actually gets stored in a data row for a varbinary(max) column setup for SQL FILESTREAM. (with FILESTREAM attribute)Do we have to take into account on the dynamic size of that...
View ArticleRe:Log shipping..
Hi team ,we are configured log shipping primary and secondary both server are 2005 enterprise edition, but monitor server is 2008 enterprise edition, it can be working or not???
View ArticleHow to interpret instance_name in Lock Timeouts/sec metric?
Hi, Am trying to get a deeper understanding on locks. I ran this simple query :SELECT * AS LockTimeoutPerSecFROM sys.dm_os_performance_counters WHERE counter_name = 'Lock Timeouts/sec' I see...
View ArticleRing buffers - are the messages the same between types?
Im looking to capture low and out-of-memory conditions by querying sys.dm_os_ring_buffersreference this blog...
View ArticleEuro symbol issue in CP850
We are in US using code page 437 (chcp at command prompt returns 437). We have a 3rd party accounting platform with back-end SQL database that we recently migrated from SQL 2005 to 2008 R2. After...
View ArticleSQL Server limits rows added to a table
Hi,I need to append over 50 million rows to a table in a database. Problem is, as soon as it reaches 3.6 million rows, it just stops inserting rows. There is no error raised. We have to manually...
View ArticleHow can a data table be pre-sized?
I am running 2008 R2 sp2 64.I have a database with a target table whose content is calculated from other data in the system using stored procedures on saving of the source data.I need to re-calculate...
View ArticleCase Sensitivity in sp_describe_undeclared_parameters
We recently upgraded one of our databases to 2012 Compatibility Mode, and are now getting an error from sp_describe_undeclared_parameters when running an SSIS package that one of the parameters...
View ArticleCPU hungry SPs or queries
Is it possible to identify most expensive queries(SPs) against a given DB between 6 AM and 7 AM today?ebro
View Article