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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:53:17+00:00 2026-06-03T16:53:17+00:00

For the project we have a MySQL database. We want to use Mongo’S GridFS

  • 0

For the project we have a MySQL database. We want to use Mongo’S GridFS to store screenshots of each piece of software.

We’re not sure if we should store the MySQL software id in the mongo file collection or to store the mongo id in a MySQL table i.e. table screenshots would have software_id and mongo_id. MongoID would point to the collection of the screenshots.

We’ll be using Doctrine ORM and Doctrine ODM in parallel.

Any ideas? What would be the best solution? In terms of synchronisation. Would we run into any problems?

Thanks

  • 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-03T16:53:21+00:00Added an answer on June 3, 2026 at 4:53 pm

    Assuming each sotware has many screenshots and each screenshot belongs to one software, I would put MySQL ids in MongoDB:

    • it will avoid having an additional table in MySQL referencing entities it
      doesn’t own
    • it should avoid some lookups too (when you need screenshots, you will only
      request it with the software id in MongoDB instead of asking MySQL
      first and MongoDB afterward)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a locally installed MySQL database server that I want to use for
I am currently working on a project in C# and use MySql as database.
I have a Django project in which multiple processes are accessing the backend mysql
I have a Django1.1 project that works with a legacy MySQL db. I'm trying
My team working on a php/MySQL website for a school project. I have a
I am creating a small commercial web project running Apache/WSGI/Django/MySQL. I have a development
I want to apply NTFS-Search to our project. Our project have to find the
i am using codeigniter 2.1.0 and mysql database. in my admin panel i have
I have a web application that uses a relational database (MySQL). We're adding a
This IS NOT a Homework question! While building my current student database project I

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.