fuel-stats/collector/collector/api/resources
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
..
__init__.py Installation struct API call 2014-10-13 19:31:11 +04:00
action_logs.py DB fields added to action_logs for SQL speedup 2016-02-05 15:32:10 +03:00
installation_structure.py DB fields added to action_logs for SQL speedup 2016-02-05 15:32:10 +03:00
oswl.py Collecting OSWL 2015-02-02 16:29:37 +03:00
ping.py Collecting OSWL 2015-02-02 16:29:37 +03:00