I have annoying problem with SHOW TABLES in my Rails 2.3.2 APP – it is slowing my APP very deep. The question is, how to get rid of SHOW TABLES usage and where it is used in Rails framework? From APP logs I can see that it is being used all the time.
Thank you!
config/environments/production.rb:
config.cache_classes = true
config.action_controller.consider_all_requests_local = false
config.action_controller.perform_caching = true
config.action_mailer.raise_delivery_errors = true
config.action_mailer.delivery_method = :smtp
“SHOW TABLES” is ORM-dependent SQL query, it fires with every action to provide classes reload in development mode. How much time does the query take?