Using SQL 2005 DMV to verify effects of fragmented indexes?
I have a db server that I have inherited and sql is running pretty slow it seems for some processes.I ran a query that indicated I have several fragmented indexes and the indexes have not been rebuilt...
View ArticleClustered 2008 Enterprise Install and Mater Key Encryption Problems
I have had a Clustered SQL Server 2008 environment working well for years. For some reason now when it fails over I am receving cannot decrypt errors when my stored procedures run. I have narrowed it...
View ArticleTCP Endpoint Channel Communication Directly Between 2 Servers
Hello,I am not sure of the correct way to ask my question so here is what I was thinking but I am not sure it is possible.I have 2 server 2012 boxes each with SQL 2012 installed. I have created a 2 GB...
View ArticleSQL 2000 - randomly stopped - file permissions
Have a SQL 2000 database instance with 4 databases. 2 are fine, but 2 randomly stopped. Detached and reattached them and the are back in "Read-Only" mode and when I try to change them to writable I get...
View ArticleInconsistent metadata in tempdb
I am periodically receiving the following error message in SQL Server 2012 Standard SP1: "No catalog entry found for partition ID 4683802261943549952 in database 2. The metadata is inconsistent. Run...
View ArticleProblem in connecting to sql server started in single user mode in cluster...
Hi,I have restore master DB. But when i am starting sql server in single user mode by putting -m in startup parameter then after restarting SQL Service not able to make connection to sql server becoz...
View ArticleRange key lock Serializable isolation level
As per the below article,range’ lock on the ‘next’ key that is outside the range....http://blogs.msdn.com/b/sqlserverstorageengine/archive/2006/05/26/range-locks.aspxHere want o know why only next key...
View ArticleRDB (Resource DB) backup
Please help on how to configure a backup for "RDB" database on SQL Server 2012 Enterprise editionI am aware that we can't schedule this backup using tools available in SQL server 2012.
View ArticleSQL Server- Large Pages Use WITHOUT trace flag 834
I read Bob Ward's post on SQL server and Large Pages (http://blogs.msdn.com/b/psssql/archive/2009/06/05/sql-server-and-large-pages-explained.aspx). He mentions that even without trace flag 834...
View ArticleHow to give Read-Only access to SQL Agent Jobs
Hi Folks,Could you please help me on how to give Read-Only access to SQL agent jobs?Thanks in advance
View Articlehow to Run multiple instances trace from a single trace script
hi..I have few SQL Servers and each servers got multiple instances.I have scripts which can Run for a single instance and generating the required result.Now my requirements is i need one scripts which...
View ArticleAbout VLF Filesize in DB.
Hello,The below question is to understand how VLFs are created when DB is created and the size's of VLFs.Below are two examples of DBs,DB1: The VLFS are as...
View ArticleHow to trick Data collector to insert data in a view?
We are using Data Collector to aggregate data from some SQL Server views and insert them into a table in the Management Data Warehouse DB. I would like to create an identity column in the destination...
View ArticleSQL Server 2005: 20vcpu/124GB with 4 numa nodes. ple drops and foreign pages...
I took a DBCC Memorystatus and it doesn't look right to me....Is this normal? I could be starving the system for memory.Memory Manager KB------------------------------...
View ArticleAccessing System Tables (books online)
I have taken this comment from the SQL Server 2005 Books Online documentation but am having problems accessing the system tables (elsewhere it is stated that there is NO modification of system views,...
View ArticleWarning: Failure to calculate super-latch promotion threshold. appears in SQL...
We are running SQL Server 2008 R2 and have just applied Service Pack 2 to our QA environment.Today we noticed this message in the SQL Server log: Warning: Failure to calculate super-latch promotion...
View Articlexp_delete_file extremely slow on a server - Wait_Info...
I am looking at one server where xp_delete_file is extremely slow to delete files.One subdirectory contains a few thousands files and it takes about 1 second for each file to delete.The wait_info is...
View ArticleTable Partitioning
SQL Server 2005 Enterprise Edition - Windows 2008 R2.I have never done a table partitioning and I am not familiar with the concept (Yes I have googleed and look at a couple of links). Now, I have been...
View ArticleData compression in SQL Server 2008 R2
Hi,I would like to know if we can roll back the action of data compression on a table. For ex: I have compressed a table with PAGE compression option. Now I want to rollback the compression and get the...
View ArticleAttaching a db - missing log (ldf)
Hello,I'm trying to re-attach sqlserver 2005 db. I have the mdf file but I don't have the log file. When I try to attach, I get the appended error.Is there anyway, around this?ThanksHouman TITLE:...
View Article