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

  • Home
  • SEARCH
  • 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 77877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T20:53:57+00:00 2026-05-10T20:53:57+00:00

From this post . One obvious problem is scalability/performance. What are the other problems

  • 0

From this post. One obvious problem is scalability/performance. What are the other problems that transactions use will provoke?

Could you say there are two sets of problems, one for long running transactions and one for short running ones? If yes, how would you define them?

EDIT: Deadlock is another problem, but data inconsistency might be worse, depending on the application domain. Assuming a transaction-worthy domain (banking, to use the canonical example), deadlock possibility is more like a cost to pay for ensuring data consistency, rather than a problem with transactions use, or you would disagree? If so, what other solutions would you use to ensure data consistency which are deadlock free?

  • 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. 2026-05-10T20:53:58+00:00Added an answer on May 10, 2026 at 8:53 pm

    It depends a lot on the transactional implementation inside your database and may also depend on the transaction isolation level you use. I’m assuming ‘repeatable read’ or higher here. Holding transactions open for a long time (even ones which haven’t modified anything) forces the database to hold on to deleted or updated rows of frequently-changing tables (just in case you decide to read them) which could otherwise be thrown away.

    Also, rolling back transactions can be really expensive. I know that in MySQL’s InnoDB engine, rolling back a big transaction can take FAR longer than committing it (we’ve seen a rollback take 30 minutes).

    Another problem is to do with database connection state. In a distributed, fault-tolerant application, you can’t ever really know what state a database connection is in. Stateful database connections can’t be maintained easily as they could fail at any moment (the application needs to remember what it was in the middle of doing it and redo it). Stateless ones can just be reconnected and have the (atomic) command re-issued without (in most cases) breaking state.

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

Sidebar

Ask A Question

Stats

  • Questions 64k
  • Answers 64k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Create a Composite Control http://wiki.asp.net/page.aspx/217/composite-controls/ and take a look at… May 11, 2026 at 10:46 am
  • added an answer First, I think that the instance-based approach is correct. Using… May 11, 2026 at 10:46 am
  • added an answer No, not reliably. The number of cycles that it takes… May 11, 2026 at 10:46 am

Related Questions

From this post . One obvious problem is scalability/performance. What are the other problems
Taking advice from this post , I purchased a copy of 'The C Programming
After some stupid musings about Klingon languages, that came from this post I began
What prompts my question is this post from Jeff Atwood , and this post
I have this function from a plugin (from a previous post) // This method
I read this post last night, and I noticed it was from 2006. I
This is my first post here and I wanted to get some input from
Trying to get this example working from http://www.munna.shatkotha.com/blog/post/2008/10/26/Light-box-effect-with-WPF.aspx However, I can't seem to get
say I have this $result = mysql_query('SELECT views FROM post ORDER BY views ASC');
i have this in my BlogRepository public IQueryable<Subnus.MVC.Data.Model.Post> GetPosts() { var query = from

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.