Implement overflow_pages_needed method
Add record_flags field into DbRecord