S
S
sumrakx2018-04-10 14:25:46
PostgreSQL
sumrakx, 2018-04-10 14:25:46

How to implement nested Postgresql tables?

Hi everyone, On the database side, there was a need to implement a nested date structure.
Where on the client side he chooses step by step from the drop-down menu "Year-> Month-> day" and the required table is loaded from the database. What are the convenient mechanisms?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
res2001, 2018-04-10
@res2001

A database with a table for every day is not correct.
I had to work with one software product, where every day a new table was generated in the database (more precisely, not one, but several). After some time of using the software (2-3 years, if I'm not mistaken), the database stopped working. the number of tables became so large that the database engine refused to work with it. I had to manually delete the old tables in order to revive the software.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question