-------------------- | rls Lease | |==================| | lse_s: lease | -------------------- | | | | | | --------------------- | | | req Asset | lse_s | | |===================|<---------------------+ +---------------------------------+ | lse_s: lease | | | unit_s: asset | | --------------------- | | unit_s | | | | --------------------------------------- | | | vrtr_utax Use Tax Released | | | |=====================================| | | asset_s | lse_s: lease | lse_s | +---------------->| asset_s: asset |<----------------+ | | st_s: state | | | | ct_s: county | | | | cy_s: city | | | --------------------------------------- | | | | | | --------------------------------------- | | | vrtr_ptax Property Tax Released | | | |=====================================| | | asset_s | lse_s: lease | lse_s | +---------------->| asset_s: asset |<----------------+ | | st_s: state | | | | ct_s: county | | | | cy_s: city | | | --------------------------------------- | | | | | | --------------------------------------- | | | vrtr_fhut FHUT Released | | | |=====================================| | | asset_s | lse_s: lease | lse_s | +---------------->| asset_s: asset |<----------------+ | st_s: state | | ct_s: county | | cy_s: city | ---------------------------------------
A table join of the rls with a vrtr* table on lse_s is non-indexed and requires a search of the entire vrtr* table.
A table join of the req with a vrtr* table on unit_s/asset_s is indexed and does not require a search of the entire vrtr* table.