M
M
machno2014-10-31 17:59:12
MySQL
machno, 2014-10-31 17:59:12

Toaster, why are many databases not hierarchical?

What I don't understand is why mysql is so flat. Why not make the database hierarchical like an XML file?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Dmitry Entelis, 2014-10-31
@DmitriyEntelis

There are a large number of graph databases, the most famous being Neo4j and HypergraphDB.
A hierarchical base is a special case of a graph.
In practice, with their help it is convenient to solve a very narrow range of specific problems.
For ordinary stories, a classic relational database is more convenient.

V
Viktor Vsk, 2014-10-31
@viktorvsk

Because there are hierarchical databases (Microsoft Folder, it seems, is called. Explorer, etc.)
There are schemaless
There are relational
There were many more structures. Some have died out, some have found their niches, some have become popular.

N
Nashev, 2014-11-27
@Nashev

Because in relational you add an idParent column to the table - and it becomes hierarchical

T
toaster khabrovich, 2016-02-11
@studententer

I answer - read what types of databases
AI is also a kind of database at the heart of the type of sematic network
there are also multidimensional databases

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question