I have a geographical DB in mysql with more than 15m records so far every record has a field Parent_id
: For example in Tuscany Italy has parent_id
. It is a tree, but it is garbage
Unfortunately this
1 and 2 can be obtained with nested set structure, 4 actual With the structure. I do not know how to deal with the third
Unfortunately the nested set structure is not able to add and add nodes.
So here's the question:
- How do you get it structured?
- Will you keep using mysql? Something better?
- Have you not given any advice about moving the actual DB into the new one?
In addition, DB Infos must also be through this flexible checker, do you think it is better to build and structure DB directly? if so, how?
No comments:
Post a Comment