Table resize and compression