As for the index on the status, it's because we have a job that runs every night that deals with conversations in specific statuses. Having a low cardinality index that changes frequently seems prone to mis-use by the system. -> What would be an alternative ?
One option would be a partial index on another field used in that query where status in ( list_of_uncommon_statuses_queried_nightly )
Sequential scan may be perfectly fine for a nightly script though.
From:
M Tarkeshwar Rao Date: Subject:
RE: Need information on how MM frees up disk space (vaccum) after scheduled DB cleanup by BGwCronScript/BGwLogCleaner
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.