Speed up database table structure analysis