Why are recursive relationships bad? How do you resolve them?



Why are recursive relationships bad? How do you resolve them?..

Answer / Jitendra Singh Jung

Recursive relationships, where a table references itself directly or indirectly, can lead to inefficiencies and performance issues due to the increased complexity of join operations. To avoid this:
1. Consider normalizing the data schema by splitting the recursive relationship into separate tables.
2. If the recursive relationship is necessary for business reasons, use advanced query optimizations such as recursive common table expressions (CTEs) or materialized views.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle DBA (Database Administration) Interview Questions

How do I become a database administrator?

1 Answers  


What is an artificial (derived) primary key?

1 Answers  


Which dba certification is best?

1 Answers  


If a tablespace has a default pctincrease of zero what will this cause (in relationship to the smon process)?

1 Answers  


What is the difference between truncate and delete? Why is one faster?

1 Answers  


What is the difference between truncate and delete? How would a full table scan behave after?

1 Answers  


What causes the "snapshot too old" error? How can this be prevented or mitigated?

1 Answers  


What is the relation between database and instance?

1 Answers  


What is pct free/pct used/pct increase parameter in segment?

1 Answers  


How much money does a dba make?

1 Answers  


How does one coalesce free space?

1 Answers  


When looking at v$sysstat you see that sorts (disk) is high. Is this bad or good? If bad -how do you correct it?

1 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1803)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)