aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/statement_cache.rb
diff options
context:
space:
mode:
authortsukasaoishi <tsukasa.oishi@gmail.com>2014-08-07 22:41:23 +0900
committertsukasaoishi <tsukasa.oishi@gmail.com>2014-08-07 22:41:23 +0900
commit8aead812baaacb962c15d0ab27bdaf4c388b7d59 (patch)
treebf078e1343d46d846770809a300452cafccb5b92 /activerecord/lib/active_record/statement_cache.rb
parent9a0e0594ab919b5b1a3a85bbe90f4a44922b1d84 (diff)
downloadrails-8aead812baaacb962c15d0ab27bdaf4c388b7d59.tar.gz
rails-8aead812baaacb962c15d0ab27bdaf4c388b7d59.tar.bz2
rails-8aead812baaacb962c15d0ab27bdaf4c388b7d59.zip
Tables existence check query is executed in large quantities
When Rails starts, tables existence check query is executed number of models. In case of mysql, SHOW TABLES LIKE 'table1'; SHOW TABLES LIKE 'table2'; SHOW TABLES LIKE 'table3'; ... SHOW TABLES LIKE 'table999'; Add process to get the names of all tables by one query.
Diffstat (limited to 'activerecord/lib/active_record/statement_cache.rb')
0 files changed, 0 insertions, 0 deletions