MEMORYCLERK_SQLBUFFERPOOL
One of UAT server is taking a lot of RAM. It turns out that virtual_memory_committed_kb(1408664) is twice as compared to my Prod. What should I do? I have restarted the Server a couple of days ago......
View Articledm_os_performance_counters not being created for "some" new databases
I have noticed that a couple of our SQL 2008 R2 Ent (10.50.4286) servers are having trouble creating the os performance counters (database level only). I rebooted each of them during a planned downtime...
View Articlexp_create_subdir() returned error 183, 'Cannot create a file when that file...
I have an unusual question (error) to resolve. I have a 2008R2 SQL Server which has localsystem as it's SQL Server Service and SQL Server Agent. I cannot change this to a domain account due to the...
View ArticleNULL query_plan value from DMV's.
Greetings. Im attempting to get the exec plan from a sproc that occasionally needs to be recompiled. However, as described in this article I'm unable to produce it, and a NULL is returned. So I take...
View Articlesp_prepexec results in different and bad execution plan
Hi,We massively imported 1.5 million rows in a software database table a couple of weeks ago. Since that time, the queries in the search screen perform pourly. I caught those requests and figured out...
View ArticleLOGBUFFER and WRITELOG waits but no IO issue?
This is a really odd one. Everytime I encounter these particular waits at a customer site its due to poor configuration or under sized storage units. This is happening in house in a test lab where I...
View ArticleAutomated database restore from Production to Development
Hello, Please guide me for Automate Database restore from Production to Development for daily basis. New to this task. Please guide me that would be appreciate.
View ArticleSQL Server Domain password
Is there any way I can recover SQL Service Domain password or password which installed under the SQL Server service. IS there anyway I can decrypt? Please help me.....Thanks
View ArticleMSSQLSERVER stopped after reboot for domain account
Hi everyone,I installed SQL Enterprise Server 2012 under a domain account: domain\username. During installation, my domain account is temporarily granted Admin rights and everything runs ok. But after...
View ArticleFiletable Query Performance
Hi,I have a small web app that basically provides a Search Engine-like keyword entry to search approx. 50k documents stored in directories, which I access through a Filetable Query on SQL server 2012.I...
View Articlesql server 2012 login transfer to 2012
hi,i have 2 mssql server one is std and another is ent edition. i created 3 database and transfer them from one sql server to another . it was successfully transfered.now i tried to transfer the login...
View ArticleWhere must oledb providers be installed?
I've installed Office 2007 Data Connectivity Components and Access Database Engine 2010 Redistributable on the server. I've created the following stored procedure and can execute it successfully in...
View ArticleAdd IBM.Data.DB2.iSeries.Dll Assembly To SQL CLR Causes Errors
I'm writing CLR procs against DB2. Code works as a standalone. When I try to add the IBM.Data.DB2.iSeries.dll as an assembly to my SQL Server database, I get the following error below. I can't find the...
View Articlelooking for a query to find first/last dates in overlapping dates...
Hi,I'm looking for a query to find the first dates and last dates in a table conaining overlapping dates.I have a subscription table which has for each Customer start and end date for different...
View ArticleReducing main file size
Hi,We had a large .mdf file of size around 135 gb. We splited the one .mdf file into 3 secondary files [.mdf, .ndf1,.ndf2,.ndf3] so as to increase the File I/O. We were adviced that reindexing tables...
View Articlequery hint to force SQL to use a temporary table in a CTE query?
Hi,is it possible to tell SQL Server to create a temporary table by itself when I'm using a CTE in my query?I have a query starting with a CTE where I group by my record, then another recursive CTE use...
View ArticleSQL keeps losing service credentials on server restart
Hi, I have a sql instance that I have to manually reenter the SQL service credentials every time the server is restarted, or the service will not start. I have verified that the SPN is correct. What...
View ArticleCannot start MSSQLServer service
I recently re-installed SSMS on my machine and am able to connect to remote databases. But I cannot connect to the local instance. Neither can I start the MSSQLService from the configuration manager. I...
View ArticlePerfmon Issues
I added Performance Counters that are available under \MSSQL$<Instance>\GeneralStatistics through Data Collector. But, values of those counters are not actually capturing and also not getting...
View ArticleSQL Cluster failures
Hello,On a SQL Cluster I have two nodes and one seems to be weak... Anytime I am on B Node with all instances it works for 48 hours at least but on Node A after 1 hour it fails...1. cannot access the...
View Article