aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/explain_subscriber.rb
diff options
context:
space:
mode:
authorAkira Matsuda & Naoto Koshikawa <ronnie@dio.jp>2016-01-27 17:44:27 +0900
committerAkira Matsuda <ronnie@dio.jp>2016-01-27 18:17:13 +0900
commit42dd2336b31a8d98776d039a2b9fd7f834156a78 (patch)
treedcf28e1b837a08b39b452f98c9e3e14e5f2bd6df /activerecord/lib/active_record/explain_subscriber.rb
parent3844854af109fb9eee75c90bacf8bf87eb2bf968 (diff)
downloadrails-42dd2336b31a8d98776d039a2b9fd7f834156a78.tar.gz
rails-42dd2336b31a8d98776d039a2b9fd7f834156a78.tar.bz2
rails-42dd2336b31a8d98776d039a2b9fd7f834156a78.zip
INSERT INTO schema_migrations in 1 SQL
We found that inserting all 600 schema_migrations for our mid-sized app takes about a minute on a cloud based CI environment. I assume that the original code did not use multi-row-insert because SQLite3 was not supporting the syntax back then, but it's been supported since 3.7.11: http://www.sqlite.org/releaselog/3_7_11.html
Diffstat (limited to 'activerecord/lib/active_record/explain_subscriber.rb')
0 files changed, 0 insertions, 0 deletions