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

Dynamically Set Max Server Memory based on OS memory

Hey guys, I'm looking for a way to dynamically set the max server memory for SQL based on the amount of assigned to a newly created server.  The thing is, that the SQL installation will be automated as...

View Article


Image may be NSFW.
Clik here to view.

Unable to cycle error log due to lock that will not clear

Hello, Currently I'm having an issue with cycling the error log on two SQL Server Instances because the file is being used by another process. Simple I know but, when you try to kill the SPID it...

View Article


SQL 2012: change startup parameter without GUI

I would like change SQL startup parameter like -l, -d,-e without using SQL Server Configuration Manager. I want to use command line...how can I do it ?

View Article

Unable to attach an mdf file

Hi, I had a server down that was a SQL 2008 R2 database server,Now When I put the dbs on the other server, most of them are not able to be attached because the ldf file is corrupted.I tried so many...

View Article

SQL 2008 Page Life Expectancy very high

When I run the following query to determine the Page Life Expectancy:  SELECT cntr_valueAS'Page Life Expectancy'FROMsys.dm_os_performance_countersWHEREobject_name='SQLServer:Buffer Manager'AND...

View Article


Linked server oracle to SQL server

Hi All,We are fetching data from oracle server using linked server. But we are getting partial data. And we are facing error.ORA-02020: too many database links in useAny idea how to solve this?

View Article

Image may be NSFW.
Clik here to view.

TempDB configuraion

Hi ,Please find below screenshot shows number of CPU and core for the SQL Server , and was looking for the best configuration for the TEMPDB in light of that  (I normally start with 50% of the server...

View Article

SQL Server Maintenance Plan Issue

SQL Server Version:Microsoft SQL Server 2005 - 9.00.5000.00 (Intel X86) Dec 10 2010 10:56:29 Copyright (c) 1988-2005 Microsoft Corporation Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack...

View Article


Wait Type

Hi Friends,the wait type result like below for our production server. how can I interpret this to solve the performance problem, or following are optimal values.Wait TypeWait Time (s)Wait Time...

View Article


select * into a specific file group

Hi Expertslooking for your advise on the following scenarioI have a database with one file in the primary file group (size 25 G), every 2 hours SQL Server agent job is fetching data into a temp table...

View Article

Mail server failure. connection refused. too manay connections - when using...

Hello All,I've a weird problem when I'm using "SP_Send_dbmail" to send a simple e-mail to two recipients using job agent.The code i write is:exec msdb.dbo.sp_send_dbmail        @profile_name= 'Send...

View Article

SQLSERVER 2012 LOG BACKUP

Hi Friends,I want to inquire, as our sqlserver 2012 in full  recovery mode , when ever we are taking backup using netbackup , the logfile size did not shrink or reduce. My question is what is default...

View Article

DBCC CHECKDB Failed

Hello,I am getting below Error while Running DBCC checkdb on sql 2008 databaseDBCC results for 'WSS_Content_QA_Test'.Msg 8921, Level 16, State 1, Line 1Check terminated. A failure was detected while...

View Article


"available_commit_limit_kb" : available to be committed by the process

Hi Experts,Could you please help me to understand the dmv  "sys.dm_os_process_memory", there is a column "available_commit_limit_kb" that describes 'memory available to be committed by the process'......

View Article

An error occurred in Service Broker internal activation while trying to scan...

Hi team ,Getting following error.An error occurred in Service Broker internal activation while trying to scan the user queue 'Queue' for its status. Error: 1222, State: 51. Lock request time out period...

View Article


explaining SQL

need to describe one source that explains how SQL is used in Oracle, SQL Server, Sybase, and DB2?

View Article

Differencial backup, Log backup and restore

Hi Team,A scenario: If I have backups as below.FullBackup1LogBackup1LogBackup2DiffBackup1LogBackup3LogBackup4If our database crash after logBackup4, Is it really required the DiffBackup1 to recover the...

View Article


Locking issue

Hi,I have a strange locking issue and need your help to understand what is going on. Using a query, I join few tables (EventTransaction, Contact, Event and Outbound) in Prod_DW database and save the...

View Article

Memory leak when columnstore tables are integrity checked

I've just posted a Connect item for 'Memory leak when columnstore tables are integrity checked'.I'm wondering if anyone else who uses big columnstore tables and runs integrity checks every day is...

View Article

Attach database leaves the original in state Restoring

I used SQL Enterprise manager to attached a previous version of a database under a different name. When I did so the Original was left in the restoring state. The only way I could get the original back...

View Article
Browsing all 5123 articles
Browse latest View live


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