satetsu888 / sql-query-stats

This Gem adds some useful SQL query stats to your Rails logs

Home Page:https://rubygems.org/gems/sql-query-stats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sql Query Stats

This Gem adds some useful SQL query stats to your Rails logs.

Reported stats include

  • Query count
  • Query cache used
  • Slowest query
  • Slowest query duration
  • Total query duration

Installation & usage

Add this line to your application's Gemfile:

gem 'sql-query-stats'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sql-query-stats

License

The gem is available as open source under the terms of the MIT License.

About

This Gem adds some useful SQL query stats to your Rails logs

https://rubygems.org/gems/sql-query-stats

License:MIT License


Languages

Language:Ruby 78.5%Language:HTML 16.1%Language:JavaScript 3.3%Language:CSS 2.1%