tempdb full
in a situation where tempdb is full - both data and log (meaning disk is full) - then what are the possible solutions :- find spid filling up tempdb and kill spid to free up space in tempdb - is this...
View ArticleSql Server Agent not starting automatically in failover in a clustered...
Hi,We are running Sql Server 2008 R2 as a 2 node cluster in Windows 2008 R2 server. In the Sql Server Configuration manager we find that service of the Sql Server(database engine) as got a start mode...
View ArticleSnapshot NTFS Operating system error 665
WelcomeWindows 2008 R2 + SQL 2008 R2 SP2 CU132 days after creation of snapshot for database (650 GB in 10 files) file fragmentation (files with indexes) are so big that sql engine throws errors...
View ArticleHow to get database out of single user
HiSQL Server 2005. Had changed database to single user/read only option. Now I cant change database back to multi user and all commands are getting stuck.Msg 924, Level 14, State 1, Line 1 Database...
View ArticlePartitioning and clusterindex
Hi Team,assume the table T, defined as T(a, b, c), is partitioned on columna, and has a clustered index on column b. How the table will be partitioned as clusterindex over a is different then...
View ArticleIs there any way to get SQL Server Database growth Report for ALL SQL Servers...
Hi All,I have been facing a lot of isssues due to database growth. In need of a monitoring script.Is there any way to generate SQL Server database growth report for all SQL Servers in an environment...
View ArticleHelp with Extended Events Script (Filtering)
Hi ,I am testing extended events and I am stuck in the filtering part. I am using for following sample script.CREATE EVENT SESSION [Profiler_Extended] ON SERVER ADD EVENT sqlserver.rpc_completed (...
View ArticleCentral Management Server - One server in two groups
Windows Server 2008 R2 EnterpriseSQL Server 2012 EnterpriseThere are two groups under Central Management Server - Version and Department. For eg., server SQL01 belongs to group SQL Server 2012 and...
View Articleshrinking a SQL Server 2014 database - an experiment
I have read so much about the evils about shrinking SLQ Server databases, but here's our predicament.We have a DB that is used to support a message broker. It may temporarily store up to 10-20 million...
View ArticleREPLACE exact match in string
Hi,I am using SQL Server 2008 R2 Standard Edition. My question is:How to use the REPLACE function (or any other T-SQL function if you have a better suggestion than the REPLACE function) to replace...
View ArticleHow to change backup destination path to disk
Dear all,please help me as soon as possible. I'm new DBA, i was changed to backup destination from tape to drive and did backup of the database. After that i tried to change replace to tape the option...
View ArticleSQL Server 2012 - RESOURCE MONITOR / PREEMPTIVE_XE_CALLBACKEXECUTE high CPU...
Hello, We are currently in the process of migrating an existing clustered SQL Server 2008 R2 instance over to a clustered SQL Server 2012 instance as we phase out the Windows Server 2008 with SQL...
View Articledetach database
HiI want to detach a database, but by mistake i also checked Update statistics, now it is taking long time. Please suggest how can I cancel it, can i kill the update process.REgardsBilalBilal
View Articlerestore with norecovery
if you have a mirror or logshipping setup where the secondary database is not recovered, so each time the tran log is applied, the rolledback transactions are not rolled back.and if in a DR failover...
View ArticleError while Taking SSAS database backup
Hi All,I am facing an weird error while taking the backup of SSAS database.I have created a job to take the backup of Analysis database and when i run it manually it runs but when i schedule it the job...
View Articleindex - reorg/rebuild
in mssql, for the options to reorg or rebuild the indexes :1. does reorg or rebuild index require extra free space to the tune of 120% of the size of the table, in the database?2. does reorg only use...
View ArticleJobs on passive side of mirror
Hello,Have a problem I can't seem to find a definitive answer. we have 2 SQL servers, 1 is the primary the other is a passive mirror. Both have about 20 jobs running in agent, each which fire stored...
View ArticleProblem Copy big Table sqlserver 2012
Hi Friends,Its 4th day I am trying to copy table having 7 million record with text field into same database (sqlserver 2012) , but fail although I am using blade server with 256 Gb memory and...
View ArticleLicencing SQL Server Per Core on Multiple Nodes with different CPU per Host
Greetings, I would like to know what kind of licencing I should do in this architecture:Cluster with 4 NodesNode 1: 12 Cores;Node 2: 12 Cores;Node 3: 16 Cores;Node 4: 16 Cores;Having 4 Instances...
View ArticleSQL Query
I use to many select command to solve this but this will reduce my system performancePlease give me the simplest way to solve this query. I can use provided query for simplest way to fetch...
View Article