fuel-stats/collector/collector/api/db/migrations/versions
Alexander Kislitsky 820770807f DB fields added to action_logs for SQL speedup
On the 1M number of rows in the table JSON index begins to
work too slow. We are copy action_name and action_type values
from action_logs.body to separate indexed columns in the
action_logs table.

Redundant JSON serialization/deserealization on the python
level is removed by changing column 'structure' type from
TEXT to JSON in the InstallationStrurcure model. We already
had JSON data in 'structure' in the DB, thus only SQLAlchemy
model is changed.

Change-Id: I415f4fe607f44ac670f63f961af7fb4998f75dd6
Closes-Bug: #1540289
2016-02-05 15:32:10 +03:00
..
2ec36f35eeaa_action_type_action_name_columns_added.py DB fields added to action_logs for SQL speedup 2016-02-05 15:32:10 +03:00
4da2da15ec42_oswl_stats_db_structure.py Fix for fuel-stats DB migration 2015-02-24 12:05:37 +03:00
4f46e2c07565_version_info_added.py Version info handled for OSWLs 2015-12-16 13:58:27 +03:00
558f628a238_collector_db_schema.py Migration from PostgreSQL to Elasticsearch 2014-10-28 14:44:20 +03:00
567ac5955ca3_filtering_by_release_added.py Installation info filtering rules added to collector 2015-05-21 11:45:54 +03:00
278885b460cd_create_indexes_on_action_logs_body.py Indexes added on action_logs.body 2015-08-24 16:32:24 +03:00