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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:12:14+00:00 2026-05-23T05:12:14+00:00

I am a data base admin and developer in MySQL. I have been a

  • 0

I am a data base admin and developer in MySQL. I have been a couple of years working with MySQL. I recently adquire and study O’Reilly High Performance MySQL 2nd Edition to improve my skills on MySQL advanced features, high performance and scalability, because I have often been frustated by the lack of advance knowledge of MySQL I had (and in a big part, I still have).

Currently, I am working on a ambicious web project. In this project, we will have quite content and users from the begining. I am the designer of the data base and this data base must be very fast (some inserts but mostly and more important READS).

I want here to discuss about these requirements:

  • There will be several kind of items
  • The items have some fields and relations in common
  • The items also have some fields and relations special that make them differents each other
  • Those items will have to be listed all together ordered or filtered by common fields or relations
  • The items will have to be also listed only by type (for examble item_specialA)

I have some basic design doubts, and I would like you to help me decide and learn which design aproach would be better for a high performance MySQL data base.

Classical aproach

The following diagram shows the clasical aproach which is the first you may think about with the mind thinking in database: Database diagram

Centralized aproach

But maybe we can improve it with some or pseudo object oriented paradigm centralicing the common items and the relations on one common item table. It would also be useful for listing all kind of items: Database diagram


  • Advantages and disadvantages of each one?
  • Which aproach would you choose or which changes would you apply seeing the requirements seen before?

Thanks all in advance!!

  • 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-23T05:12:15+00:00Added an answer on May 23, 2026 at 5:12 am

    What you have are two distinct data mapping strategies. That you called “classical” is “one table per concrete class” in other sources, and that you called “centralized” is “one table per class” (Mapping Objects to Relational Databases: O/R Mapping In Detail). They both have their advantages and disadvantages (follow the link above). The queries in the first strategy will be faster (you will need to join only 2 tables vs 3 in the second strategy).

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

Sidebar

Related Questions

I have table in data base name train delay, with columns train number(int), DelayTime(int),
I have a file data.base which looks like: 1234 XXXX 4321 XXXX 9884 ZZZZ
I have a star schema type data base, with fact tables that have many
I have a Database named CarsType.accdb there are four fields in the data base
Let's say that I have a record in the database and that both admin
I need to keep a field in a data-base and update it with a
I'm making this method retrieve records from the Data Base. As you can see
I need to test Perl Application ( File operation , Data base operation..etc )
I know that an MVC framework allows you to separate business logic, data base
Array ( [0] => Array ( [auth_id] => 1 [auth_section] => Client Data Base

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.