Cache table_exists