Full backups running out of space on destination
Hi. Need your advise re constructing a backup maintenace plan. I currently have a simple plan with two tasks in sequence: 1) Backup Database-Full, 2) Maintenance Cleanup deletes files older than 1...
View ArticleSQL Server job history disappears
For no reason to me, my SQL Server jobs history disappears every couple of days!I've checked the HistoryRetentionInDays property in Policy Management and it'sset to 0, which is _as I know_ means that...
View ArticleExtended event
using SQL 2008 R2first time, i am trying to query Extended Event, when i run SELECT * FROM sys.dm_xe_sessionsi see Event deadlocks running, is there any query i can run to get historial deadlocksthanksV
View ArticleHow to find what is filling up pagefile.sys?
Hello there,We have a Windows 2012 server running SQL with 192GB RAM. Windows updates were applied last Saturday.We have been monitoring C:\ drive space and noticed that pagefile.sys is full. Size is...
View ArticleGet an email notification of the failed job STEP DETAIL
I have set up my SQL Server Agent to send notification emails whenever a job fails, but the messages in the emails are so not detailed, and it's not more than something like:MESSAGES: The job...
View ArticleDatabase Backups with Always on AG
Hi,I have installed SQL 2012 Active-Passive Always on AG with Asynchronous Commit. Now, in order to facilitate the deployments, I need to take backups. Can somebody suggest me the best backup strategy...
View ArticleRestore database issue
I need to restore one tiny table so am trying to restore from a database backup file to a new database name so I can copy the table. But, no matter what I try I get a "exclusive access could not be...
View ArticleUnderstanding SQL Server Data Collection reports
I have setup the Data Collection feature in my SQL Server and I left it for a round a week, and now I have a nice colorful monitoring reports. Yet I don't understand much of what is in those reports,...
View ArticleRestricting what databases a user can see in SQL Management Studio
Hello people, Is there a way to Restricting what databases a user can see in SQL Management Studio..... What am doing is in SSMS, i create a new user called "Mike" and assign him db_owner, sysadmin and...
View ArticleSQL Server MaxTransferSize
We are attempting to optimize SQL database backup performance and would like a reply on the following:The MAXTRANSFERSIZE limit for SQL Server is 4MB. We would like to be able to have a much larger...
View ArticleDiscrepancy of index frag %, when comparing GUI properties of index, vs a...
Hi All,When I run the below query to check for fragmentation, I always compare the Properties of the Index in the SQL Mgmt Studio, to that returned in the query. They rarely match and I would like an...
View ArticleHow to find the actual size of MDF or reduce size of MDF file
Hello,I am Using SQL 2012 Standard and we have a DB which is usually around 4-5GB while it was around that size.Then all of sudden it has grown (MDF) to 30GB I am sure that DB is not that big because...
View ArticlePolicy Based Management - Last Successful Backup Date
I want to be notified by email of databases not backed up in last 24 hours. In SQL Server 2008 R2, I set up the "Last Successful Backup Date" policy. The policy fires as expected and puts a 34052...
View ArticleProblem moving SQL 2005 system databases
Eventually migrating off 2005 but in the short term I first need to move the user and system databases from NetApp LUNs (D: and L: drives) to C: My SQL install is build 9.0.4340 (SP3 with security...
View ArticleHas Anybody Seen Changes In Permissions After Installing KB2958429(SP2) for...
Hi. After doing a bunch of Windows updates, including this one for the SQL Server, I started noticing something peculiar in one of my applications. The SQL permissions we granted to one user were...
View ArticleSSMS 2014 > Registered Servers > Evaluate Policies Error
Hi When I try to select Evaluate Policies on a registered server, I get the following error. =================================== Value cannot be null. Parameter name: source (System.Core)...
View Articlehow to know the unused DB in MS SQL Server 2008
Dear allWe had been using sql server 2008 for our share point project. we also created some Data base which is unused while doing our SP implementation. I find the option to delete those DB which is...
View ArticleImport-Module 'sqlps' -DisableNameChecking is returning a bunch of warnings I...
Hi All,I find that with SQL 2012 and SQL 2014 I get the following types of WARNING: messages displayed when I import the sqlps module.WARNING: The local computer does not have an active instance of...
View ArticleBackup Question Recvery Model
Hi,A quick question we have are server running a SQL2008 DB for a third party soloution and they dont support SQL managment studio the log files grows to a massive size and takes all the HD space from...
View ArticleRun Log Shipping Programmatically
A few weeks back I posed a question about running Log Shipping inside a Trigger. Here is essentially a follow up to that question [...
View Article