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

Database level settings

Please advise database level settings for all our databases for following items: Virtual Log File Database file growth settings - And suggest what are the best practices around these items that we need...

View Article


Distributed deadlock not detected

I came across a deadlock situation which was not detected by SQL engine.  it involves a distributed SELECT query using Linked Server.  Anyone encounter such problem?

View Article


Unable to create excel file with column in Sql server 2008

Hi,I have one stored procedure that generate dynamic column name and i want to write that data into excel file.But problem is that if i fixed the column name in excel file it is working fine but in...

View Article

Process runs faster when executed independently, but runs slower when a...

Hi, The issue is,  a process, say "A" is running fine on certain days. On some days there are additional processes running on the server. When these additional processes are running, "Process A"...

View Article

Error: Could not continue scan with nolock due to data movement, DBCC...

SQL Server: 2008 R2 SP2Before describing my problem, I have gone via the forum, there is no view or functions inside my stored procedureWhen running a particular stored procedure inside crystal report,...

View Article


DBM_INIT shows up in a profiler trace

What is DBM_INIT and how is it interpreted in trace? The eventClass is 50 and the eventSubClass is either 1 or 2.Jo Lee

View Article

sql server security patch

Hi team,what are the main difference in sql server patch and sql serve security patch ?what is the sql server security patch and how to apply the security patch.

View Article

Missing index DMV

I tried to use missing indexes DMV (sys.dm_db_missing_index_group_stats, sys.dm_db_missing_index_groups and sys.dm_db_missing_index_details etc) to get suggested missing indexes. I got two suggested...

View Article


Filegroup Restoration Post FG Restore Index Not reflecting

Hi All,I have a situation here.I have created a Database. Then I created a Secondary File Group and Placed a File in it.Now I created a Table on Primary File Group and Created 2 Indexes on secondary...

View Article


Image may be NSFW.
Clik here to view.

New database creation problem

While we are trying to create new database in test server it getting below error.Error:

View Article

SQL Server Distributed Partitioning Views how to add a new node online

We are using distributed partitioning views in SQL Server 2012 Enterprise Edition for scaling out our data across more than one servers. Now we faced to question how to add a new node (server) into...

View Article

Can't access main application database with massive log file

My company looks after a server which is running SQL Server 2014 Standard Edition. The main application database on the server is replicated out to about 20 subscribers. The server has only been in...

View Article

Database Restore

Hello,  I am running into the following error when Restoring SQL DB: "The media set has 2 media families but only 1 are provided".  I might have backup onto two media, but I only saved one.  They are...

View Article


Can we disable 'max_rollover_files' to stop file rollover for Xevent session.

Hello,Is it possible to disable file rollover option for extended events session. If i don't specify value for this it is taking a default value of 5.ADD TARGET package0.event_file( SET...

View Article

DBA

HI,How can i export tables from the linked servers using  sql server  mgmt studio?ThanksGanga

View Article


sysprocesses - physical_io, cpu, memory

when troubleshooting performance issues, are not these three columns in sysprocesses referred to/checked?most of the articles I find on the subject on the net, seem to refer to various DMVs, but not...

View Article

SQL Server 2012: NUMA node shown as offline without special affinity settings

My main production server has four NUMA nodes with two SQL Server 2012 instances on it. One of the instances has the CPU affinity set to use only one NUMA node, and sys.dm_os_nodes reflects that...

View Article


After setting database read_only if i take transaction log backup with no...

I want to take transaction backup of database, but i want the log have the last transaction in it.With no truncate option supports this. But via sql manegment studio, it leaves the database recovery...

View Article

Cannot start SQL Server 2008R2 service on Windows 7 laptop

My SQL Server instance on my laptop was working fine.  After bringing my laptop home last weekend and connecting through my work's VPN and then bringing it back to work on Monday, it now cannot start...

View Article

Error 606 occured - Metadata inconsistency for temp table

Hello,we currently have an issue on a production server running SQL Server 2005 Standard:Executing a stored procedure, which again executes another stored procedure in which a temporary table...

View Article
Browsing all 5123 articles
Browse latest View live


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