Ghost cleanup process in SQL Server 2008 R2
Hi Everyone,Greetings of the day. I have a production job which runs on daily basis to backup, restore and rename the database. In recently, some times at restore database and rename database steps...
View ArticleHigh CPU Utilisation Issue
Hi guys,We are facing problem with my SQL Server for High CPU UtilizaitonSQL Server Windows NT -64 \SQL Server (MSSQLSERVER) CPU Usage is 90-100 %how can we identify, where is the problem on the...
View ArticleJust copying full backup of database on a nightly basis
Dear Experts,Our requirement is only to copy the full backup of a database on to a DR server on a nightly basis. No need to restore or anything.Is there any script which can be used to accomplish this....
View ArticleThere is insufficient free space on disk volume 'c:\' to create the database.
System.Data.SqlClient.SqlError: There is insufficient free space on disk volume 'c:\' to create the database. The database requires 84260749312 additional free bytes, while only 67428677632 bytes are...
View ArticleDatabase mail batch delay
HelloI'm sending batches of mails to dbmail from my application. It looks that dbmail sends mails as fast as it can, and when sending large batches of mails I sometimes hit a limit set by my mail...
View ArticleWhy do I have CXPackets when running maxdop=1?
I've continued to do some research on our current system.We're running maxdop=1 on four cores in a VM environment, officially it's OLTP but we run some batch processing too so it's probably a mixed...
View ArticleRestoring database on to a new server using sufficient security
Dear Experts,This is for one of our clients which has a secure database in their network. Now, we are planning to migrate that database on to our managed server. This is SQL Server 2008 Enterprise....
View ArticleAlerting when TDE option is turned off
Dear Experts,Is it possible to generate an alert when TDE is turned off in a database suddenly?Please share your commentsMM
View ArticleSQL Server Backups
Hi All,I am trying to configure the backups using Maintenance Plan in sql server 2008 R2. While creating maintenance plan I am getting the below error. Kindly help me how to resolve this error.Getting...
View Articlememory tables and cpu usage
Here's another question as I get into the use of memory tables. I haven't seen any mention of this. If we put a significant portion of our database into memory tables, is this going to increase our...
View ArticleSQL Server 2014 poor performance compared to SQL 2008
Hi All - I have a query that takes about 6 sec in the SQL 2008 version and after upgrade to SQL 2014, the same query is taking about 8 mins.I have changed the compatibility level of the database to SQL...
View ArticleIndex Rebuild
While rebuilding indexes log file is growing vary rapidly and we can't put DB in simple recovery mode because we have configured DB mirroring. Is there any way to minimize log file growth while index...
View ArticleSpeical Character [--] in query caused SQL service was stopped unexpectedly
Hi all, Our production server used MS SQL Server 2012 Standard edition. Recently, it was crashed and I found the reason from minidump file that a special character dobule dash -- using in a query which...
View ArticleWhere-used, calls-who map of data model
Is there a tool available to build a comprehensive map of where-used and calls-who for TSQL code and tables?I know the old sp_depends is useful, and sp_help is useful, but I'm not sure if they're...
View ArticleSQL Server 2014 Instructions to create link server to Redshift
Hi,Thank you ahead of time for any help. I have sql server 2014 32 bit on my machine and trying to create a link server connection to redshift. Below are the steps I took to try and setup these...
View ArticleHow do I add a COUNT to the results of a case statement
Hi, below I have bit of code with works exactly how I want. The problem is I need to integrate it into a larger piece of code which already used many...
View ArticleNumber of page read
Hi all,when we create an index our goal is to make the db engine read a smaller number of pages to execute our query. I am searching a counter that tells me how many pages sql server has read for a...
View Articlepowershell csv to sql table.
Hi experts, I need to automate the below task… I thought of doing it with powershell… -Open an csv attachment from an “Office 365 for Faculty" account.-Insert the csv to a SQL table.-Delete the email....
View ArticleSQLSERVERAGENT requires manual start when starting computer
I have SQL Server 2014 installed locally on a Windows 10 64-bit computer. Lately I have to go in to the Task Manager and start the SQLSERVERAGENT each time I start up my computer. Is there a setting I...
View Article