안녕하세요.
vacuum 옵션 중 full관련하여 문의 드립니다.
다음과 같은 글을 찾게 되었는데요..
FREEZE is a special-purpose option that causes tuples to be marked "frozen" as soon as possible, rather than waiting until they are quite old. If this is done when there are no other open transactions in the same database, then it is guaranteed that all tuples in the database are "frozen" and will not be subject to transaction ID wraparound problems, no matter how long the database is left unvacuumed. FREEZE is not recommended for routine use. Its only intended usage is in connection with preparation of user-defined template databases, or other databases that are completely read-only and will not receive routine maintenance VACUUM operations. See Chapter 22 for details.
제가 알고 있기로는 full옵션을 사용하는동안 table들이 lock되어 data를 사용할 수 없다고 알고 있는데요..
저 위의 freeze와 frozen이 lock된다는 말로 해석하면 되는지요...
죄송하지만 주기적인 analyze를 사용한 vacuum이 full 옵션을 사용하는것보다 좋은건 알겠는데요.. full옵션이 왜 안좋은지 정리가 안되네요..
알려주세요^^ |