Size of SQL Server 2008 R2 database question
HiI am currently in the process of taking a cut-down copy of our production database and installing it onto SQL Server Express. I have taken many steps to shrink the database (removed tables,...
View ArticleWho is the user who run a query?
I have the sql_handle and the plan_handle of a query. I got them from the result of querying "sys.dm_exec_query_stats".Using sql_handle and/or plan_handle ,how can I get the user who run that query?
View ArticleSQL Server Consuming All RAM
Is there a way to control SQL Server's RAM consumption. Our SQL Server consumes all RAM that there is already no available RAM for remote managing it.Thanks
View ArticleIf Agent services is down how we will get alert/notification
Any one please reply for my doubt.we have more than 200 servers in our environments, All the database stuffs working through Agent services only like Backup jobs,profile jobs,trace jobs,maintenance...
View ArticleWhy user can't read across database
SQL Version 2005. A sql user can't read across database even though read access on specific tables ( securables) is granted in the other database. Got "security context" error. This happens when it is...
View ArticleOdd Blocking Issue
Hi, We have a vendor supplied SQL2014 DB. This DB creates blocking but only when running a stored proc the first time with the parameters. So, for example when my end user closes a claim, it creates a...
View ArticleWhen was the last time query statistics are reset?
I know that query statistics (those we get from sys.dm_exec_query_stats) are reset every time we restart the SQL Server instance or we reset them manually by:DBCC FREEPROCCACHEDBCC DROPCLEANBUFFERS I...
View ArticleHow bad is it to only backup up the SQL database files? (.mdf & ldf)
Hi,I am a .net / C# dev with some significant SQL experience ... so I also do some SQL admin. I have a client that uses an external company that have setup the backup system using Backup Exec. Rather...
View ArticleSQL Server stop connecting client
Hi, We have SQL server 2012 SP2 installed on Windows 2012R2 Server. I noticed that sometimes, clients cannot connect to the databases. When I check the odbc connection, it fails to get connected. And...
View ArticleMaintenance Plan - History Clean Up Task Wizard
I have created a History Clean up (SQL 2012 Standard) by using wizard and setup my "DB History to 4 days" and then set up "clean up" for DB Backups older 4 days. It runs fine no error but nothing gets...
View ArticleActivity Monitor - why can't I see which processes have locks on which...
My colleague can run Activity Monitor and see the databases which are locked by each process. I can see the list of processes, but the Database name column is blank for all entries. Why is this?I've...
View ArticleSQL SERVER CPU USAGE AND MEMORY USGAE
Hello and Good day,I am using SQL SERVER 2012 With SP2 with product version 11.0.5058.0I have 26 GB RAM, its not a virtual machine. Its a normal Windows Server 2012 R2.As service of Sql Server running...
View ArticleDatabase in suspect mode
We recently had a database go into suspect mode. Unfortunately our backups were not reliable so we ran the following query: EXEC sp_resetstatus epo ALTER DATABASE epo SET EMERGENCY DBCC checkdb(epo)...
View Articleminidump in sql server 2008r2
Hi Experts, Database is shutdown unexpected, I am proving the error log. Please let me know what was the issue:- =====================================================================...
View ArticleSSMS 2012 hangs when opening files or new query
I have an instance of SSMS 2012 on a Win7 64bit 8GB 4.5.net installed that will hang everytime when I try to open a new tab for any reason - new query, open file, modify jobs, sp's, etc - when I have...
View ArticleAutomating SQL Script Deployment
I have a need to automate script deployment for feature releases. We currently have an antiquated process that was written 5-6 years ago by a person no longer with the company. The process still works...
View ArticleIrreparable Error in Database
We have a corrupt data on some parts of the database and it can't be fixed by DBCC CHECKDB. Though the data is not important we plan to move the data to a new DB EXCLUDING the corrupt data. Are there...
View ArticleLog File and Simple recovery mode
I quickly came to the point: It is say when we set the recovery mode in ‘simple’, any existed record on ‘LogFile’ overwrite despite I did this setting, with update specific field at any time, the new...
View ArticleA fatal error occurred while reading the input stream from the network. The...
There is insufficient system memory in resource pool 'default' to run this query. Event Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider...
View ArticleData Collector Error
I am getting this error on data collector (non-cached) task in SQL Server 2014. Any help here is highly appreciated.Executed as user: xx. SSIS error. Component name: DFT - Collect Query 0, Code:...
View Article