find what fills T-log
Hi,I have below queries:Sometimes our Transaction log gets filled and I need to shrink the T-log. So first I check logspace using "dbcc sqlperf (logspace)Next I check if there are any inactive vlfs...
View ArticleMonitoring Disk Space Using an Alert
I am on SQL Server 2012. It is installed on a VM. I would like to create an alert that monitors the disk space on a drive. I would like to monitor Drive D when the free space drops below 3GB. I...
View ArticleMessage Error: 18210, Severity: 16, State: 1. and Message Error: 3041,...
i have back failure errors in the sql server logswhen i check maintenance plans history it shows back up ran successfully.I also see the backup files at the destination disk drive and there is lot of...
View ArticleUnable to Unzip SQL2012 SP1 CU4 file - 464142_intl_x64_zip.exe
Hi, I have been trying in vain to unzip this file 464142_intl_x64_zip.exe which is part of the just released sQL2012 SP1 CU4. I get "This self-extracting zip file is part of a multidisk zip file....
View ArticleAdd an index, kill performance
Just one for the books. Have a fairly long SP with some nasty complex select statements, have our "big table" at 6m rows with about 28 indexes, trying to tune it up for some slower cases.So, I add a...
View ArticleALTER INDEX (with REBUILD), if run several times both decreases and increases...
ALTER INDEX (with REBUILD), if run several times both decreases and increases the average fragmentation for the non-clustered index. I would expect the average fragmentation to be 0 after the first...
View ArticleReclaiming space available
I have a database that I ran compression on and if you look at the picture it shows SIZE 401407.04MB and Space Available as 210142.89MB. I am trying to free up that space but nothing has worked yet. I...
View ArticleTempDB data file
Hi,Tempdb data file size shows 50,200GB. In database properties, it shows free space 50,000GB. I want to reduce tempdb datafile size. I tried this option:In database properties, changed initial size to...
View ArticleHow to reduce the available space on the db
Hi, My current database size is 300 GB and available space shows 90 GB.I want to reduce available space of the db and return some space to the drive for different purpose.I tried dbcc shrink db which...
View ArticleNet start vs Single user mode
Hi,Could anyone shed light on the significance of starting the SQL Server on net start and starting the SQL on Single user mode. On what occasions should we use each of these? Any detailed explanation...
View Articlelinked server login - remote user cannot be windows login?
I tried to add a linked server login mapping, both logins are windows logins but different. When I run the linked server query, error returned saying user login failed. But when I use a SQL login as...
View ArticleDBCC CHECKDB (master): error 2570 in sys.sysbinobjs
Dear experts,After running the DBCC checkdb against master databas with DATA_PURITY argument, we recieved the error 2570 in sys.sysbinobjs. The complete output is the below (it's in spanish but you'll...
View ArticleSQL 2012 Enterprise Edition only a CPU works
I just installed SQL 2012 Enterprice Edition in VM with 8 cores and 32G RAM. It seems only one core is used and others are idle when running SQL queries.In the log file, the message is,SQL Server...
View ArticleHelp me in choosing database for website.
I want to create a new website like Image Hosting website in ASP.NETNow this type of website requires large storage.Does the inbuilt database in ASP.NET have any storage limitation? If yes, how...
View ArticleConnect server issue
Hi, I am getting below error on connecting a database Cannot connect to<SERVER> Error(s) returned: Cannot generate SSPI context SOLUTION: Check that you specified the correct name for the...
View Articleshutdown SQL Server DB
Hi,I want to know how to shutdown SQL Server Database from SSMS or through command line, and how will I check if the Database is shutdown? Is there anything else to be shutdownRegards
View ArticleHow to Upgrade sql server 2005 to 2008 in production Environment
Hi everyone..Greetings..!I am attending interviews.how to u upgrade sql server 2005 to 2008.how to apply service packs in production environment.Thanks in Advance.Regards,Vijay
View ArticleEXCEPTION_ACCESS_VIOLATION
Hi,I got some messages from sql server errorlog:A user request from the session with SPID 160 generated a fatal exception. SQL Server is terminating this session. Contact Product Support Services with...
View ArticleActive transaction : log_reuse_wait_desc
Hi,On my TEST server, we have T-log full and the drive have no space to grow. I checked for the active transactions using dbcc opentran()but there are no active transactions. I am not able to shrink...
View Article