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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T02:16:11+00:00 2026-05-11T02:16:11+00:00

I have a library, and I want to migrate it from an old system

  • 0

I have a library, and I want to migrate it from an old system to a new optimized one.

The old library was built using MS Access (mdb files), where each book is a file by itself. Each book consists of two tables, one for chapters titles and the second for contents. There is also one mdb file that contains all books names, pages number for each book, authors names and other general info.

The new system database engine is MySQL, so I have three (maybe) possibilities for storing books: 1- Store all the books chapters titles in one table, and all books contents in another huge table. 2- Store all books chapters titles in one table, and every book’s content in a table for this book. (so if I have 5 books, I’ll get 1 table for chapters titles and 5 for content). 3- Store them as the old system’s design, each book has two tables, one for it’s chapters titles and the second for it’s content.

I don’t prefer to use multiple databases, one database can do the job perfectly as the blogs hosted by wordpress.com (yap, they have huge database and of course they use other techniques, but I’m talking about DB system architecture).

There are more than 500 books in that library and the number is increasing.

What do you think?

  • 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-11T02:16:11+00:00Added an answer on May 11, 2026 at 2:16 am

    None of the above. There’s no reason you have to separate chapter titles from chapter content. But you need one table for the book titles themselves. Here’s a suggested table structure:

    CREATE TABLE books (   book_id     SERIAL PRIMARY KEY,   title       VARCHAR(100) NOT NULL,   published   DATE NOT NULL,   isbn        VARCHAR(16) NOT NULL   -- etc. );  CREATE TABLE chapters (   book_id     BIGINT UNSIGNED NOT NULL,   chapter_id  SERIAL,   chapter_num VARCHAR(10) NOT NULL,  -- varchar to allow chapter 'VII.'   title       VARCHAR(100) NOT NULL,   content     MEDIUMTEXT,   PRIMARY KEY (book_id, chapter_id),   FOREIGN KEY (book_id) REFERENCES books(book_id) ); 

    A few thousand rows in the chapters table is trivial for a database like MySQL.

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

Sidebar

Ask A Question

Stats

  • Questions 65k
  • Answers 65k
  • 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 You could either override them (if they can be overriden)… May 11, 2026 at 11:15 am
  • added an answer What you're doing looks pretty good - the only change… May 11, 2026 at 11:15 am
  • added an answer Make your app to produce XML file with raw data.… May 11, 2026 at 11:15 am

Related Questions

I have a library, and I want to migrate it from an old system
I have a static library written in C++ and I have a structure describing
I have a third-party library in my SVN repository and I'd like to associate
I have a library that I would like to license and distribute. I know
I have a class library with some extension methods written in C# and an
I have a C++ library and a C++ application trying to use functions and
I have an existing document in a document library and I'm trying to overwrite
I have a static linkable library of C and Fortran routines compiled and linked
I have a third party library that internally constructs and uses the SqlConnection class.
I have a C# class library and a startup project (a console app). The

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.