Re: strange Problem



DaveL (dvs_bis@xxxxxxxxxxxxx) writes:
Hello, hope u can help or point me in the right direction

I have 2 Services on our production System
1 Service is Vb6 (not the problem)
2 nd service is on another maching c# (not the problem)

these service insert and update a common Table
that links 2 separate databases (and there tables)

database1 and associated tables
database2 and associated tables

main database table PK

ive set up local running the services 30,000 files both services on
separate machings hitting the same table
this takes place in a Stored Proc

but in Production it locks up the system with a blocking
so web site is usless and internal processing is Useless

In the c#side and proc that i uses ive removed all begin trans, and on the
updates and selects i use (nolock)
and updates use (rowlocks)

still the same problem in production

First put back those BEGIN TRANSACTION, and remove those NOLOCK, so
that you don't put the integrity of your database at stake.

Next, you need to analyse what is blocking what, and what the resources
the blocked processes are waiting for. Presumably, you need to review
your indexing.

On my web site you can find a stored procedure beta_lockinfo that
helps you to analyse to your blocking:
http://www.sommarskog.se/sqlutil/beta_lockinfo.html.

--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • Oracle DBA, Denver, Branta Group Contract
    ... Oracle DBA, Denver, Branta Group Contract ... sites focusing on database performance and availability. ... first and second tier resolution of production issues. ... procedures supporting a mission critical 24x7 production environment ...
    (comp.databases.oracle.marketplace)
  • Oracle DBA, San Jose, Branta Group Contract
    ... Oracle DBA, San Jose, Branta Group Contract ... sites focusing on database performance and availability. ... first and second tier resolution of production issues. ... procedures supporting a mission critical 24x7 production environment ...
    (comp.databases.oracle.marketplace)
  • Looking for a few good beta testers
    ... development off-line and install it in the production environment after ... If so, you need ZZ DoesIt!! ... DefaultValue, Required, AllowZeroLength) will be flagged as Install: ... Tables in the From database which don't exist in the To database ...
    (microsoft.public.access.modulesdaovba)
  • Re: Estimating effectivity of performance improvement measures
    ... I actually think this is a bad idea unless you plan to do the same ... thing on production. ... database, as I have tried to explain. ... differences such as physical I/O access time and account for that. ...
    (comp.databases.oracle.server)
  • Re: Error 3011
    ... Any chance someone has your Production copy open when you try to export ... if the destination database isn't open. ... ObjectType:= acForm, _ ...
    (microsoft.public.access.modulesdaovba)