]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add index for port
authorshihanzhang <shihanzhang@huawei.com>
Tue, 31 Mar 2015 08:14:12 +0000 (16:14 +0800)
committershihanzhang <shihanzhang@huawei.com>
Fri, 3 Apr 2015 00:55:13 +0000 (08:55 +0800)
commitf93007952e40a7ae7cb2d4f3588059acf42ea209
tree8e7880ae1a5e0e8af78e38b5d6e4f0d49b9f28cd
parent3f45031d685a60abc3df293430db1ca458bc5620
Add index for port

This patch will speed up SELECTs Port with filters by
'network_id + device_owner' and 'network_id + mac_address'.

Closes-bug: #1421089

Change-Id: Ied90b6304df971a6049871f65df3e1aaee624647
neutron/db/migration/alembic_migrations/versions/20c469a5f920_add_index_for_port.py [new file with mode: 0644]
neutron/db/migration/alembic_migrations/versions/HEAD
neutron/db/models_v2.py