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 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 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 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 ArticleDifference between Reference and Master data?
Hello experts,I am looking for a illustrative approach for differences between reference and master data. Can anyone post them? Thanks.Deepak.Happy to help! Thanks. Regards and good Wishes, Deepak....
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 ArticleHow to Resolve this ? provider: TCP Provider, error: 0 - The specified...
Hi guys ,I am facing a weird issue with SQL Server. Our application team is getting these kind of error since this morning while login through the Application and sometime while fetching the data from...
View ArticleSearch not working
Hi,Search in Project Server is not working. Internal server error exception pops up whenever we do a search in project server site. Here is error message:Internal Server error exception: Troubleshoot...
View ArticleFregmentation Level of Index
Hi, we are using sql 2005 and will be migrating to sql 2008 r2 in couple of months. i am trying to use "sys.dm_db_index_physical_stats" dmv to get fragmentation level of an index but it's getting...
View Article