SQL Database user moved under System Databases
Hello Experts, I have a software that is running with SQL Server 2005. The software has an tool to configure replication between the 2 dbs I have. When the tool asked me for a name of my distribuitor...
View ArticleHow to get logins from a master database backup without rebuilding ?
I migrated more than 200 databases from one SQL server to a new SQL server. I also transferred logins,jobs,linked servers etc.I used the official method ( using sp_help_revlogin ) for transferring...
View ArticleVLFs
I was doing some research and found the following code that is supposed to bring the VLFs(virtual log file)in the log file down. Was wondering if this is the correct approach? I have read Kimberly's...
View ArticleUnable to open physical file - Operating system error 5: 5(error not found)...
I am trying to attach a database to SQL 2005. This database has not previously been attached. I have only just installed SQL. I get the following message: Unable to open physical file...
View ArticleLogshipping Copy and Restore Jobs not running
Hi Team,I have configured logshipping on a database in domain. It was working well by yesterday. Today, backup job on primary server going on well but copy and restore jobs are not running according to...
View ArticleWhy does Recompiling Sprocs resolves blocking
Dear Experts ,I wanted to have an in-depth understanding of "why would recompiling a Sproc resolves blocking ?"The tables accessed by Sprocs are really small .So its not out of date stats or index...
View ArticlePermissions required for domain user to configure raplication
Hi Team,Can anyone tell me please, which permissions are required for a domain user on primary server to configure raplication?Thanks in advanceVikas
View ArticleHow to recover tempdb space
I have pretty much automated all of the data feeds that feed our DW. Due to the nature of the way we designed things, our tempdb (data file) fills up during the course of the week. Once it fills up the...
View ArticleWhat is OBJECTSTORE_LBSS?
My database instance was running slow. I logged into the machine to find SQLServer was taking 32GB of memory(out of 32GB), odd since I configured it to only take 14GB. Ran the following: select name,...
View ArticleHow to kill a connection used selected user?
Hi Let assume that I know name or IP address a user that is connected to my db. How can I kill a connection based on user name or his IP address?Regardskicaj
View ArticleSQL Licenses in VM Environment.
Hi,We have VM environment and have sql server licenses per CPU. We have all VMs in UCS. That is basically big machine with lot of power (cpu, ram etc) and consider as one blade. VMs created inside...
View ArticleConnection limit of 32,767
SQL Server has a hard concurrent connection limit of 32,767. Without implementing an external caching solution, what is the best approach to supporting a large number of concurrent applications (that...
View ArticleTracking down large CACHESTORE_OJBCP usage that causes SQL to page out to disk
Hi all,I have a system which is experiencing paging out of SQL memory to disk and subsequent slowdown while this happens.The system runs SQL 2005 on an active/passive cluster (2 node) with 48GB RAM on...
View ArticleRebuilding Large Table
Hi All,We need to Rebuild one of the Table which is of 100 GB with more than 300 million rows, currently it has not been rebuilded for quite some time hence there is a lot of Fragmentation.Now the...
View ArticleDatabase Full could not expand drive full..
Hello,A SQL Database is full.The Disk Drive is full, no possibility to expand the drive..The database was trying a recovery process but failed due also to the drive full.I launched again the repair and...
View ArticleSQL Server 2012 Performance Problem
We have migrated our company database from SQL Server 2000 to SQL Server 2012 (big jump!). We haven't gone live yet on 2012. Something is wrong in our setup of 2012 because queries that run in 5...
View ArticleLinked server error: Named Pipes Provider: Could not open a connection to SQL...
I have a stored procedure that calls a function, the function uses a linked server in it's query.If I execute the stored procedure from the app or from SSMS on my laptop (connected to the host server)...
View ArticleWhere are the index rebuild transactions stored during an online index...
I am reposting this from another forum.In this article http://msdn.microsoft.com/en-us/library/ms184246(v=SQL.100).aspx, it is stated that "The index transactions will be stored in the tempdb...
View ArticleProblem with Multi Threads and Sql Server - TimeOut
I've created a console application that purge some log table (~11). and my application use Parallel.foreach to loop and create some threads. The flow is something like this: - Loop creating threads -...
View ArticleChange Data Capture Gating Roles - Identifying & Explicitly Deleting
Disable Change Data Capture for a Databasesays... However, any gating roles created by change data capture will not be removed automatically andmust be explicitly deleted. How does one do that please?...
View Article