blocks hangup database when inserting in 1 specific table

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jan Willems

    blocks hangup database when inserting in 1 specific table

    Hi,

    We use a database with about 40 related tables. Some tables contain as
    much as 30.000 records. We use Access97 as an interface to the
    database. Now recently we have the problem that when we want to insert
    a row in one specific table (alwasy the same) the database makes
    blocks.

    Details:
    - about 10% of the data was inserted using copying from Excel, before
    this action there was no problem, though there is no evidence that
    this causes the problem.
    - inserting rows via the Query Analyzer works fine, via Access causes
    trouble.
    - the tempdb lofile has grown to 48Mb.

    Has anyone ideas about what is going on and what I can do to solve the
    problem?

    TAV,
    Jan Willems
  • Erland Sommarskog

    #2
    Re: blocks hangup database when inserting in 1 specific table

    Jan Willems (jwillems@xs4al l.nl) writes:[color=blue]
    > We use a database with about 40 related tables. Some tables contain as
    > much as 30.000 records. We use Access97 as an interface to the
    > database. Now recently we have the problem that when we want to insert
    > a row in one specific table (alwasy the same) the database makes
    > blocks.[/color]

    "Makes blocks"? You mean that the INSERT operation is blocked, and you
    have to cancel the operation to continue?

    When the situation occurs, use sp_who from Query Analyzer, and see if
    any process has a non-zero value in the Blk column. In such case, the
    process listed in Blk, blocks the spid of that row.

    --
    Erland Sommarskog, SQL Server MVP, sommar@algonet. se

    Books Online for SQL Server SP3 at
    SQL Server 2025 redefines what's possible for enterprise data. With developer-first features and integration with analytics and AI models, SQL Server 2025 accelerates AI innovation using the data you already have.

    Comment

    Working...