deb-ceilometer/ceilometer/storage/sqlalchemy
Ashwin Agate 4b739eeb66 Add index to metadata_hash column of resource table
Resource table's metadata_hash column is not indexed.

Adding index on metadata_hash column reduces number
of rows scanned to one. That is if a resource
(same resource_id) has say n rows in resource table
(due to difference in metadata), with additional index
only one row will have to be scanned.

Change-Id: I2a99bdac88f5fa14ac5f82497d1a12196419ae68
Closes-Bug: #1488544
2015-08-29 01:29:44 +00:00
..
migrate_repo Add index to metadata_hash column of resource table 2015-08-29 01:29:44 +00:00
__init__.py implement sqlalchemy dbengine backend 2012-09-26 21:36:44 +00:00
migration.py Upgrade to hacking 0.10 2015-01-23 17:43:04 +01:00
models.py Add index to metadata_hash column of resource table 2015-08-29 01:29:44 +00:00
utils.py Fix usage of dictionary methods on Python 3 2015-05-28 09:27:30 +02:00