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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:51:26+00:00 2026-05-25T17:51:26+00:00

Just wanted to ask some advice when building a database with mongodb, I have

  • 0

Just wanted to ask some advice when building a database with mongodb, I have been reading a lot that if you have a database with a lot of joins it’s better to go with say postgresql.

So if I wanted flexibility and needed my data to join multiple times, should I go with Postgresql? I know mongodb has fast reads / writes but needs to query multiple times to emulate joins. So when would this become a performance hit? Does mongodb limit your ability to create new complex relationships on your data that did not previously exist?

I guess the attractiveness of mongodb is its javascript syntax and similarity to json 🙂

  • 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-05-25T17:51:27+00:00Added an answer on May 25, 2026 at 5:51 pm

    I will start from the end:

    I guess the attractiveness of mongodb is its javascript syntax and
    similarity to json 🙂

    Not only this, and json style is not main advantage. Main advantages of mongodb is ability to embedd documents, high performance and full scalability, full index support, map/reduce, etc.

    So if I wanted flexibility and needed my data to join multiple times,
    should I go with Postgresql?

    It depends on concrete task, for example if you designing report system i prefer to use some relational database. But sometimes instead of joins and separate collections you can embedd documents + mongodb good fit for the data denormalization ( and in many situations you can denormalize in background to avoid joins )

    I know mongodb has fast reads / writes but needs to query multiple
    times to emulate joins. So when would this become a performance hit?

    If you will use mongodb as regular relational database (without embedding and denormaliztion) you never achieve best performance.

    Does mongodb limit your ability to create new complex relationships on
    your data that did not previously exist?

    No mongodb not limit you, because of it does not contains any constraints between collections like foreign key in any sql database + it allow embedd and easy denormalize data to fit your business needs and achieve best performance.

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

Sidebar

Related Questions

I just wanted some opinions from people that have run Selenium ( http://selenium.openqa.org )
just wanted to ask is there a possibility to bind some listener to the
just wanted to ask is there a possibility to bind some listener to the
Just wanted opinions on a design question. If you have a C++ class than
I just wanted to see if I could have your thoughts on the design
I just wanted to know your experience with using resharper. We have a very
I don't do very much jquery / javascript but wanted to ask for some
I just wanted to ask is there an easier way to get records from
I have a database and bunch of related tables . I just want to
I just wanted to know if this is possible. i Have a Table like

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.