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 8396677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T20:35:59+00:00 2026-06-09T20:35:59+00:00

is there a database schema-free/less like mongodb but acid transaction support that I can

  • 0

is there a database schema-free/less like mongodb but acid transaction support that I can use only when necessary in small parts of web application?

so, I’m building a web application, 70% it does not require a transaction, but 30% yes.
My problem is that when I can query that 30%, it require data also from nosql database.
I know that mongodb and others nosql database sacrificate acid transaction for high-performance, but I have opted for mongodb because it is simple nest document and array into collection and query it, and then I can scaling well. But for that 30% not work well, because I need transaction support.

So is there a dbms document oriented with acid transaction support that I can scaling out well if my web application grow in terms of access read and write operation by users?

  • 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-09T20:36:01+00:00Added an answer on June 9, 2026 at 8:36 pm

    I am only going to briefly answer the question.

    As others say MongoDB is not fully ACID compliant and infact breaks ACID compliancy at times along with most NoSQL DBs no matter how much marketing comes out of their mouth the nature of NoSQL does break ACID.

    No transaction that writes to memory is ACID compliant since memory is temporary storage so you cannot guarantee it has written to disk and replicated across your network which breaks ACID immediately for durable writes. I am not sure how Gigaspaces does this but it sounds like something I would personally not look at.

    In order to be ACID you must write to disk first (maybe to two nodes in your network too?) then the DB must write back down to temporary storage, not the other way around.

    Now Mongo does provide the safety of writing to disk and even multiple nodes. In PHP it provides the safe and fsync option which you can use to dictate how many nodes it should write to before the function (insert, save, update) returns true or false. So you can get write concern within your app. You can also setup your actual replica and shards to be fully consistent, by nature they are not but you can. Not only that but MongoDB has Journaling. In reality even writing to memory writes are “not durable” for 100ms (seriously how much data are you going to lose in 100ms? I bet your app is less durable than that in reality).

    The difficult part comes when doing transactions and two phase commits. Most people find a way of overcoming these problems by using hashes of the document to be inserted and/or version numbers. I just did a quick Google search for a Java framework I know does supports ACID transactions and two phase commits but I am having problems finding it. If you search the user group for some they are out there and there are full explanations in the user group (I know this because I participated in some) of how to achieve rollbacks in MongoDB based upon hashes and version numbers. I should warn you however, just as in SQL, transactions are deathly slow and kind of go against the fundamentals of MongoDB.

    So now you know how you can start to rely on Mongo and even have a slow transactional handler in your app for those small times you need the durable writes of many documents dependent upon each other.

    So is there a dbms document oriented with acid transaction support that I can scaling out well if my web application grow in terms of access read and write operation by users?

    It is dependent upon how far you are looking at scaling and I don’t think anyone here can give a serious answer to that.

    As for Fbs usage of other DBs. Once I lost about 5 wall posts on my wall an hour after writing them. I contacted Fb about it and asked them for a geeky explanation. They said that even though the wall post wrote to the temporary storage it failed to sync to the permanent storage. So all this talk Fb being totally ACID compliant is just talk and as Kristian says they use many DBs including NoSQL.

    I hope this helps a little,

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

Sidebar

Related Questions

Are there any good database schema comparison tools out there that support Sybase SQL
I have a pretty complex database schema and would like to know if there
Is there any free app to generate database image schema from all models from
Is there a query or function that I can use to determine the size
Is there any database schema generation tool that creates schema diagram by importing the
There is an Oracle database schema (very small in data, but still about 10-15
I have a sqlite database schema... Is there any tool available that would produce
I have a custom database schema that I want to use for the Custom
I'm interested in learning about tools that operate like this: Given a database schema
I have a MySQL database called csftdb and in that database there exists 1

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.