SQL server Benchmarking and creating Baseline
Hi ,I am planning to create baseline on all the SQL servers. What are the steps I need to carry on apart from setting up perfmon and analysying the results. These servers are existing production...
View ArticleHow to learn what LOCKS are in place?
I have a table, with an AFTER trigger on UPDATE or INSERT operation, which then uses some sp_OACreate operations (which takes awhile) and eventually updates additional columns in the affected rows.My...
View ArticleMemory question
I know that on a 32 bit machine, the 4GB memory is divided into 2 GB user mode and 2 GB kernel mode(OS). What happens if the machine is 64 bit and let’s say there is 32 GB of memory installed into the...
View ArticleCapacity Planning Agent from BMC on SQL SERVERS
Hi all,Plan to install Capacity planning agent from BMC on sql Servers. Kindly share the experience if any. What will be the impact ? Does it affect the performance of the server...
View ArticleSQL Server Service will not start after enabling encryption
I am getting an error when I try to start the SQL Server service that reads as follows:The file '\\?\E:\SQL Instance\MSAS11.CNTRLSTSHRPNT0\OLAP\Data\CryptKey.bin' could not be opened. Please check the...
View ArticleScript Check Index Property
Hi ALLI want to have a script to check which colum are indexed of a table, and the included column, for all table in a database .Any idea?
View ArticleSQL 2008 Linked Server Error - Issue with 64 bit -> 32 bit? Prelogin failure...
Searched high and low for this one, haven't seemed to be able to get an answer for it.I have 2 servers, 1 running windows server 2k8 64 bit, one running windows 2003 32 bit. On the first I have SQL...
View ArticleUnable to restore
Hi, I run this in Sql server 2008 create database my_schema for attach FILENAME = 'c:\setup\my_schema.bak'; go But I've got this. Why? Msg 102, Level 15, State 1, Line 1 Incorrect syntax near...
View ArticlePerformance Counters
Hi Gurus,how does a monitoring tool stores performance counters in time intervals.May u please explain the process what are processes the monitoring tool stores data history for specific time...
View Articlehow to measure the performance of query has improved after index
Hi All,i used the missing index dmv to find the if there are any missing index on the table, wanted to know how do we measure, weather the index has improved the performance or not.wanted to know what...
View ArticleHide/Encrypt Database Structure form DBA Users
Hello.I want to ask for a question.I have a software which uses MS SQL database for storing data, i have to deploy this software different machines for different clients.The question is how can i...
View ArticleHelp me understand SQL server Memory allocation
I have gone through multiple metrials but these questions still haunts me. Can somebdoy help me understand this.Is Buffer pools is purely physical or it could be from virtual as well? database pages on...
View ArticleError: "PRIMARY filegroup is full" when adding databse file
I have a database 'ErpDb' hosting in SQL Server 2008 R2 Enterprise SP1 64bit, running in Windows Server 2008 R2 64bit. This database has one .mdf and two .ndf datafiles in the PRIMARY filegroup. As the...
View Articletempdb in SQL Server 2008 R2 Standard Edition
Hi,I am using MS SQL Server 2008 R2 Standard Edition 32-bit, which is installed on a 64-bit Windows Server 2008 R2. My inquiry is related to the "tempdb" database.1) What is the best practice to...
View ArticleError in errorlog
Hi ,Any idea on the below errorl My sql server errorlog is filled with this error message. no space in the drive C:.. it completely eaten my disk space.the entire errorlog has this messages.Any reasons...
View ArticleSQL SERVER lock mechanism VS Oracle lock mechanism (lock escalation)
We know SQL server uses the properly lock escalation, but Oracle Database never escalates locks.So my question is what's the benefit and disadventurecompares SQL SERVER lock escalation to "Oracle...
View ArticleSQL SERVER Index VS Oracle Index
From following URL,we know SQL Server doesn't support Hash cluster indexes,B-Tree cluster indexes and Bitmap IndexesSo is there any similar functionality in SQL server for the Hash cluster...
View ArticleIndex Reorganize
Hi ,I want to run DBCC index reorganize on Table (on PrimaryKey-Clustered index)But before running is there any way to know that how much time it will talk?
View Articlehow to convert all rows of a column into comma separated values?
hi , i have one table like create table test(id int)insert into test(101),(102),(103)..... now my expected output is test101,102,103 i know this method decare @id varchar(100)select...
View ArticleDifference between uniqueidentifier and uiquifier?
Hi,I see there is a uniqueidentifier data type when creating a new field in SQL Server Management Studio. However, another expert told me there is also a data type called uniquifier. Their names are...
View Article