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

Best practice for cleaning up conversations after a recieve timeout

We have a pattern where sql server sends a message through service broker and waits for a response (say 10 ten secs), if it doesn't get a response, it will assume a default response and carry on. The...

View Article


How can I decide that which hardware I choose?

I have to design a website in which at peak time around 10,000 connections hit at the web server and also at database server.How can I decide that which hardware I should choose?Thanks

View Article


index - reorg/rebuild

in mssql, for the options to reorg or rebuild the indexes :1. does reorg or rebuild index require extra free space to the tune of 120% of the size of the table, in the database?2. does reorg only use...

View Article

restore with norecovery

if you have a mirror or logshipping setup where the secondary database is not recovered, so each time the tran log is applied, the rolledback transactions are not rolled back.and if in a DR failover...

View Article

Licencing SQL Server Per Core on Multiple Nodes with different CPU per Host

 Greetings, I would like to know what kind of licencing I should do in this architecture:Cluster with 4 NodesNode 1: 12 Cores;Node 2: 12 Cores;Node 3: 16 Cores;Node 4: 16 Cores;Having 4 Instances...

View Article


The operating system returned error 23(Data error (cyclic redundancy check).)

My Stored Procedures and Jobs Showing this Error. Even though i can able to access the data throgh SSMS in Database Engine.Please help on this.Executed as user: RMS\Administrator. The operating system...

View Article

Image may be NSFW.
Clik here to view.

SQL Query

I use to many select command to solve this but this will reduce my system performancePlease give me the simplest way to solve this query. I can use provided query for simplest way to fetch...

View Article

I have change a table column and now around 300 views are not showing the...

I have change a table column and now around 300 views are not showing the column name.please helpThanks

View Article


SQL Server Data Recovery

How could i set up a recovery plan for my Databases that are taken daily full backup at night. but what if something happens in between the day. how could i set up a simple recovery plan to over come...

View Article


Select statement in localDB(SQLServer2014 express) returns no results.

Hi allI connect SQLServer2014Express localDB with SSMS,the Database engine is "(localDB)\MSSQLLocalDB",and have Windows Authentication.It Connected OK.I create a Database "Test" and a table...

View Article

BCP memory not releasing.

Hi, I am running BCP command to copy the data from a file to the database in a while loops. as the number of iterations goes up, the memory usage is grown to the extreme and it consumed all my 64 GB...

View Article

Image may be NSFW.
Clik here to view.

SQL Server 2012 - RESOURCE MONITOR / PREEMPTIVE_XE_CALLBACKEXECUTE high CPU...

Hello,   We are currently in the process of migrating an existing clustered SQL Server 2008 R2 instance over to a clustered SQL Server 2012 instance as we phase out the Windows Server 2008 with SQL...

View Article

Backup-restore vs running the same SSIS datacopy project twice

I have 2 different applications which need the same source data which is copied from a production database. The 2 applications run on different servers, so they can not use the same source database....

View Article


REPLACE exact match in string

Hi,I am using SQL Server 2008 R2 Standard Edition. My question is:How to use the REPLACE function (or any other T-SQL function if you have a better suggestion than the REPLACE function) to replace...

View Article

shrinking a SQL Server 2014 database - an experiment

I have read so much about the evils about shrinking SLQ Server databases, but here's our predicament.We have a DB that is used to support a message broker.  It may temporarily store up to 10-20 million...

View Article


SQL 2012 database behaves differently with a unique index and ignore_dup_key...

If you have a table with a unique index and ignore_dup_key = on and you INSERT rows into that table with an ORDER BY clause (because you want to control which of the duplicate key rows gets inserted),...

View Article

windows OS operations for a DBA

can I have a list of windows OS level operations that DBAs normally do?appreciate the pointers.

View Article


Image may be NSFW.
Clik here to view.

Tempdb files no.s are different in different sytem tables.

Hi AllOne more weird issue. Please suggest whats causing sameI have one prod server which doesn't have any high availablity options configured. Today when i tried to find no of data and log files for...

View Article

Powershell: add a column to a datatable

Hello guys. i am writing the following in the powershell:$SqlCmd.CommandText = $SqlQuery $SqlCmd.Connection = $SqlConnection $SqlAdapter = New-Object System.Data.SqlClient.SqlDataAdapter...

View Article

database log full

what are the  option to free up the log?1. kill spid filling up log.2. backup the tran log - to disk or truncate only or no_log.3. change the database to simple recovery mode, delete ldf file and then...

View Article
Browsing all 12963 articles
Browse latest View live


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