Reduce initial size of .mdf file of a database
Hello, The database on one of my server's is running out of space. Is error is that there is no space on the drive which has the database the mdf file.Here is a background on what has happened.The disk...
View ArticleMonitoring concurrent updaters for a given table?
Is there a good way to see the max number of concurrent table updaters for a given table for a given time period? I suspect we may have two many threads simultaneously updating the same table (thereby...
View ArticleSQL Server 2014 - Change Tracking - Manual Cleanup
Hi,We are using Change Tracking for our data warehouse ETL (SQL Server 2014 enterprise), and we're in the situation where the internal change tracking tables grow faster than the auto-cleanup sproc can...
View Articlebackup clarifications
Hey all, Thanks for previous replies regarding Always On. I have some backup questions or maybe it’s just clarification and getting my head around log backups. Trying to set up a maintenance plan and...
View ArticleCreating SQL Jobs of Powershell type
Hi,I am trying to create and execute a Job of a powershell type, but it fails to execute with below error.The process could not be created for step 2 of job 0xA72711A1EE783E4F8DB5FF9DEB9BE78E (reason:...
View ArticleMysterious NDF file, can its contents be viewed?
I have just noticed a mysteriously named NDF file in a DB we're using.The file is not in the regular storage location as the other ndf's or mdf's.The name of the file is CDriveFile.ndfThis is not...
View ArticleDatabase keeps going to Single User Mode
Hello Guru's, Two of our TEST database keeps going on to Single_User mode quite often every couple of days. Is there a way to find out which user is taking it to that state or what time has it gone to...
View Article'Not enough storage available to process' message when importing file
From Paula Jennings (@PjTrilobyte) via Twitter who tweets:“ I am trying to load from excel to a basic level azure sql database using Microsoft SQL Server Management Studio, Import for a file that has...
View Articlepartition switch does not switch data to the target partition
Hello, I'm try to switch partition between two partitioned tables the switch statement works and there are no errors and the data does not switch. Can anyone help with steps to troubleshoot this...
View ArticleMax worker threads for Sharepoint
Hi there, I need some advise on running out of threads on the Sharepoint server. We have previously added CPU to assist, but we are back in the same boat again 6 months later and are waiting for new...
View ArticleCPU usage of SQL server is 100%
Dear team,We have observed since last week, the CPU usage of SQL server became 100%. We are using SQL server 2008 r2 standard as a backend of SharePoint 2010 application server.Due to this, The...
View ArticleWe are getting warning of event id of 54 on frequently basis.
The description for Event ID ( 54 ) in Source ( Tcpip ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote...
View ArticleError "the type initializer for 'AsyncWMIBinding' threw an exception, unable...
Hi,I just performed a clean install of SQL 2012 on Server 2012R2. When I try to start Management Studio I get the error:Error connecting to SQLSERVERnameThe type initializer for 'AsyncWMIBinding'...
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 ArticlePowerShell - restore with Norecovery
Hi, I'm trying to restore all backups from a folder. it worked fine but I need to restore with NORECOVERY, Please review my command and give me a solution for this. Restore-SqlDatabase -ServerInstance...
View ArticleLooking for third party tool for SQL Script deployment
We are doing some DAR on tools to do SQL script deployment efficiently and with core features required like auto rollback, audit logging ,etc.We have used DB up library but it requires lot of custom...
View ArticleUnable to Remove Filestream Filegroup and Associated Database File
Hi folks, I had 5 FileTables which I have since converted to regular tables with varbinary(max) columns instead, migrated all the data from the filetables to the new tables and dropped the filetables...
View ArticleHow upgrading into Windows 10 will effect my existing SQL Server of windows 8.1?
Hi, i am using windows 8.1 pro in my PC. several months ago windows has recommended me to upgrade to windows 10. In my windows 8.1 i am using Visual Studio 2012, Microsoft SQL server 2008 and many...
View ArticleSQL 2012 AG - Flush Logs and Shrink Log File
I am trying to shrink a log file for a sql 2012 always on availability group. is this not possible? i see the log file has empty space inside, but when i run the shrink command it completes and nothing...
View ArticleAgent Job SSIS Package Step fails with error 1059 when writing output logfile
Hi,on one of our production servers, we have an SQL Agent Job with one step, an SSIS Package execution step. This SSIS package is executed under a proxy account (a useraccount in a domain), because it...
View Article