What is the reason of having Multiple table in databases,why not a huge single table? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

What is the reason of having Multiple table in databases,why not a huge single table?

27th Apr 2017, 4:42 PM
sadiya zainab
sadiya zainab - avatar
13 Answers
+ 12
In relational databases this would take up too much resources to store not only data but also relations between them. It would also hamper data retrieval efficiency, especially in a multiuser environment. In non-relational dbs, this kind of happens, but it is being managed differently.
27th Apr 2017, 8:05 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 10
Thank you everyone:-)
27th Apr 2017, 5:50 PM
sadiya zainab
sadiya zainab - avatar
+ 8
@Kuba just reminded me: SugarCRM (free) uses MySQL. MySQL supports relational tables, but SugarCRM uses tables as if they had multiple row types. This means they have all these extra columns depending on immediate row type, plus several "linking tables" that just record relationships. The tables can reference themselves, and when debugging you have to stop and check what kind of record you have. It works, but it feels weirder than necessary.
27th Apr 2017, 8:21 PM
Kirk Schafer
Kirk Schafer - avatar
+ 7
keep consitancy various missing rows.. if all data in one table then its vary difficult to access the unique data
27th Apr 2017, 5:01 PM
Mayur Chaudhari
Mayur Chaudhari - avatar
+ 7
Thank you:-) #hasana madusanka
8th May 2017, 5:07 AM
sadiya zainab
sadiya zainab - avatar
+ 6
ya my name is sadiya :-D#hasana madusanka
8th May 2017, 4:16 AM
sadiya zainab
sadiya zainab - avatar
+ 5
Efficiency why lookup for 1000 records when u want only one.Thats y we have to learn DBMS.
27th Apr 2017, 4:48 PM
Nantha
Nantha - avatar
+ 5
Resource tradeoffs (time, space, cycles, etc). MongoDB just throws everything together, and its name is no accident: "HuMONGOus" + "DataBase"
27th Apr 2017, 4:59 PM
Kirk Schafer
Kirk Schafer - avatar
+ 4
there are various reasons to separate data across multiple table.. data access Data redundancy Go through the Database Normalisation Concept you will understand why multiple tables and read Codd Rules it will definitely help you to learn DBMS.
27th Apr 2017, 5:02 PM
MrBM
MrBM - avatar
+ 1
yeh....beautiful name....
8th May 2017, 5:04 AM
Hansana Madusanka
Hansana Madusanka - avatar
+ 1
👍👍👍
8th May 2017, 5:05 AM
Hansana Madusanka
Hansana Madusanka - avatar
0
sadiya......
7th May 2017, 5:26 PM
Hansana Madusanka
Hansana Madusanka - avatar
0
welcome....
8th May 2017, 4:33 PM
Hansana Madusanka
Hansana Madusanka - avatar