Solved

SQL Server Web Traffic Limitations

Posted on 2016-08-16
4
67 Views
Last Modified: 2016-08-30
We use sql server 2012 web on our web server and we time races.  Some races are fairly large and some days we have multiple races going on at a time.  Currently we time the race with software a copy of the db on our local machines and then upload the results to the web.  Occasionally we return an error message during times of high traffic that locks one transaction as the "victim" when uploading data to the web.  Is there a way to minimize this from happening.  I am wondering about some good database design practices or a way to give one transaction priority over others.

I know this is a very vague question but any insight would be much appreciated.  If I get some general responses that I think would apply to our situation I will flesh those out with further questions.
0
Comment
Question by:Bob Schneider
  • 2
  • 2
4 Comments
 
LVL 48

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 41757887
Occasionally we return an error message during times of high traffic that locks one transaction as the "victim" when uploading data to the web.
This is typically a deadlock behavior.
There are some ways to minimize deadlocks but in your case maybe lower the isolation level would be best thing to do.
0
 

Author Comment

by:Bob Schneider
ID: 41757904
THank you.  I will read those articles.  I may have further questions.
0
 
LVL 48

Expert Comment

by:Vitor Montalvão
ID: 41776484
Bob, do you still need help with this question?
0
 

Author Comment

by:Bob Schneider
ID: 41776620
I haven't had the chance to look at the responses so I will close it out and re-post if questions arise after researching.  Quite honestly, it looks like the posts are what I am looking for.

Thanks so much for the help.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question