O
O
Optimus2017-06-10 22:59:05
Database
Optimus, 2017-06-10 22:59:05

How to organize a database to store heterogeneous information?

1. List of fruits and vegetables - for each content of microelements (clear, rows, columns)
2. Calorie content of fuel - similarly, rows - types of fuel, columns - calories
3. Strength of materials - material - strength
It comes out due to the heterogeneity of data for each such data group Do you need your own table? But in each of them there will be quite a few records 100-1000, which also makes development difficult because before selecting, you need to understand which table to select data from.
Group similar data into one table? Then all the same, some of the columns will be empty and this will reduce the selectivity of the index.
Maybe there are some specialized databases for this type of data? NoSQL and key-value stores are not better suited here?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2017-06-10
@dimonchik2013

NoSQL, of course
, Monge also has indexes

R
Roman Mirilaczvili, 2017-09-30
@2ord

From specialized DBMS there are:
MariaDB ColumnStore (compatible with MySQL)
Yandex ClickHouse (nimble and economical)
Apache Spark
others Wide Column Store / Column Families

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question