See https://github.com/rails/rails/pull/42368 The impact is not quantifiable at the time of this writing but prelimary investigation shows that `SELECT 1` accounts for 0.09 of CPU time on a database. Note that Discourse runs thousands of databases so the small impact may be amplified by the large number of databases that we run. |
||
|---|---|---|
| .. | ||
| active_record_attribute_methods.rb | ||
| active_record_base.rb | ||
| active_record_postgresql_adapter.rb | ||
| ams_include_without_root.rb | ||
| better_handlebars_errors.rb | ||
| ember_handlebars.rb | ||
| fast_pluck.rb | ||
| inflector_backport.rb | ||
| open_uri_redirections.rb | ||
| performance_fixes.rb | ||
| pluck_first.rb | ||
| rails4.rb | ||
| rails_multisite.rb | ||
| raw_handlebars.rb | ||
| safe_buffer.rb | ||
| safe_migrations.rb | ||
| schema_cache_concurrency.rb | ||
| schema_migration_details.rb | ||
| sprockets_patches.rb | ||
| translate_accelerator.rb | ||