we have a table with many layers of hierarchy information (child-
parent-grandparent-grandgrandparen t-grandgrandgrand parent-...).
Relationship built based on two columns (ID, and Parent_ID columns)
While the data model correct and allows us have data like this,
performance of the sql queries is very bad. All the thing that final
users want is faster performance. Can anyone suggest alternate table
design for having hierarchy information?
Thanks!
parent-grandparent-grandgrandparen t-grandgrandgrand parent-...).
Relationship built based on two columns (ID, and Parent_ID columns)
While the data model correct and allows us have data like this,
performance of the sql queries is very bad. All the thing that final
users want is faster performance. Can anyone suggest alternate table
design for having hierarchy information?
Thanks!
Comment