manila/manila/db
silvacarloss 8263f911be Fix pagination does not speed up queries bug
This patch modifies the database api layer to fix the pagination
slowness bug, which causes a delay while the administrator tries
to list shares using the `--limit` option.
This change was tested in a very busy environment with 800 shares.
Before the change, the operation took about 25 seconds to be
finished. Now, the operation takes about 3 seconds in the same
environment.

Change-Id: I89659452b0e033631f1318a2eabb7e120c9e5743
Closes-bug: #1795463
(cherry picked from commit 57edcbd1da)
(cherry picked from commit 462b0e7461)
(cherry picked from commit bad03feea9)
2019-10-18 23:22:33 +00:00
..
migrations DB Migration: fix downgrade in 579c267fbb4d 2018-06-29 17:43:54 +00:00
sqlalchemy Fix pagination does not speed up queries bug 2019-10-18 23:22:33 +00:00
__init__.py Remove vim headers 2014-10-06 15:00:27 +02:00
api.py Destroy type quotas when a share type is deleted 2019-03-19 14:34:27 +00:00
base.py Reuse 'periodic_task' from oslo_service 2015-07-20 19:38:19 +03:00
migration.py Remove vim headers 2014-10-06 15:00:27 +02:00