Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8134095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T09:53:15+00:00 2026-06-06T09:53:15+00:00

I came around some weird thing in MS SQL server. I have two tables

  • 0

I came around some weird thing in MS SQL server. I have two tables in my Database : “LogAnalyzer”

1> LogData

2> TestLogData

LogData contains around 9200192 rows and testLogdata around 1000 rows.

When I tried inserting a row in LogData it was taking like 10 minutes and still not inserting it .. It was just showing Executing Query

When I tried inserting a row in testLogData it did immediately.

Even when I connected the database through Java code it was behaving the same and I have properly closed the connection (I think)…

All worked fine after restarting the SQL server .. I dont know why this happened. As it was working all fine till now.

Please can anyone suggest the causes for this. I do not think its the size of the table because it worked fine after restart. (Query inserted immediately).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T09:53:16+00:00Added an answer on June 6, 2026 at 9:53 am

    Please can anyone suggest the causes for this.

    A possible cause is that your connection is being blocked by another connection which has a transaction open on the table that the blocked connection is trying to access.

    Now that SQL Server has been restarted you can’t perform any diagnostics to find the cause but if it happens again then you could run sp_who2 to see a list of connections and check the BlkBy column to see if your connection is blocked. If your connection is blocked then you can get the SPID of the blocking process and use kill to terminate the blocking process.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I came across some weird behavior today around creating an object from the return
A friend and I have been playing around with pygame some and came across
While moving some code around for investigation purposes, I came across a little feature
I guys. Have worked around with cookies in PHP for some time. However something
I was poking around some HTML5 Javascript demos and came across something I've never
I was playing around with some code today, and I came across the idea
I just came around and decided to try some Ada. The downside is that
I have been playing around with some Python now and start to get a
Kicking around some small structures while answering this post , I came across the
I have this garden variety USB video camera, and it came with two mini-apps,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.