RubyGems Navigation menu

columns_on_demand 3.0.1

Lazily loads large columns on demand. By default, does this for all TEXT (:text) and BLOB (:binary) columns, but a list of specific columns to load on demand can be given. This is useful to reduce the memory taken by Rails when loading a number of records that have large columns if those particular columns are actually not required most of the time. In this situation it can also greatly reduce the database query time because loading large BLOB/TEXT columns generally means seeking to other database pages since they are not stored wholly in the record's page itself. Although this plugin is mainly used for BLOB and TEXT columns, it will actually work on all types - and is just as useful for large string fields etc. Compatibility ============= Supports mysql, mysql2, postgresql, and sqlite3. Currently tested against Rails 2.3.14, 3.0.17, 3.1.8, and 3.2.8. Note that 3.0 and 3.1 have ActiveRecord regressions that will affect sqlite users.

Gemfile:
= Copier Copié!

installation:
=

Versions:

  1. 6.0.0 - November 12, 2020 (13,5 ko)
  2. 5.2.0 - January 02, 2018 (13 ko)
  3. 5.1.2 - January 02, 2018 (13 ko)
  4. 5.1.1 - May 09, 2017 (13 ko)
  5. 5.1.0 - April 13, 2017 (12,5 ko)
  6. 3.0.1 - April 20, 2013 (11,5 ko)
Voir toutes les versions (18)

Dépendances de Runtime (1):

Dépendances de Development (5):

mysql >= 0
mysql2 >= 0
pg >= 0
rake >= 0
sqlite3 >= 0

Propriétaires:

Auteurs:

  • Will Bryant

Total de contrôle SHA 256:

0537d61793e9b59c0efaf670242210748d066328b30e6a1e443013d07f2eb230

Total de téléchargements 1 171 787

Pour cette version 3 171

License:

aucune

Version de Ruby requise: None

Liens: