Quantcast
Channel: SQL Server Database Engine forum
Browsing all 15930 articles
Browse latest View live

sql server monitoring

Hi all,i need a clarification.i am under a process of building a monitoring tool for my database.I have all the queries with respect to capture performance metrics but i dont understand how does the...

View Article


Filtering SQL Server Profiler trace by RPC starting

Hello Experts,Our application use a middle tier that performs connection pooling to database for several logged in users. We use Multiple Active Results Set so there is no one to one mapping between...

View Article


Parallelism deadlock on sql 2012 ent (not sp1)

Server has 80 cores (4 phsical intel), max degree of parallelism (sp_configure) set to 5.We got this error on a merge statement, the target is a table which has 3300+ partitions, row compression , has...

View Article

Need assistance with Unique constraint

Hi,I came across issue when I tried to insert the entry in the table which has composite unique constraintCREATE TABLE Temp_OtherHA_Data (PHACode VARCHAR(5), ProgramSetting VARCHAR(8), CONSTRAINT...

View Article

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 Article


How 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 Article

Memory 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 Article

SQL 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 Article


Script 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 Article


SQL 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 Article

Unable 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 Article

Help 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 Article

how 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 Article


Hide/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 Article

Performance 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 Article


Capacity 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 Article

Query is getting aborted...

Hi All, Query is getting aborted with below error, this message is actually generated by the app server, but i do not see any error from the database side. please let me know what could have gone...

View Article


tempdb 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 Article

Error: "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 Article

unable to Connect to Server

i got an error while am trying to connect sql server 2005..An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the...

View Article
Browsing all 15930 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>