- ITEM table will, grow, grow, grow (sold items are not deleted)WHERE PRODUCT.SECTION_USED_FK IS NOT NULL AND ITEM.STATUS=1 and (ITEM.KIND=2 or ITEM.KIND=3)
Partial index on item.status ?
- ITEM table will, grow, grow, grow (sold items are not deleted)WHERE PRODUCT.SECTION_USED_FK IS NOT NULL AND ITEM.STATUS=1 and (ITEM.KIND=2 or ITEM.KIND=3)
Partial index on item.status ?