keystone/keystone/common
Clint Byrum 2414bab51d list_revoked_tokens sql speedup for havana
This consists of the following 3 patches:

    Narrow columns used in list_revoked_tokens sql

    Currently the SQL backend lists revoked tokens by selecting all of the
    columns, including the massive "extra" column. This places a significant
    burden on the client library and wastes resources. We only need the
    id/expired columns to satisfy the API call.

    In tests this query was several orders of magnitude faster with just two
    thousand un-expired revoked tokens.
    (cherry picked from commit ab7221246a)

    Add index to cover revoked token list

    The individual expires and valid indexes do not fully cover the most
    common query, which is the one that lists revoked tokens.

    Because valid is only ever used in conjunction with expires, we do not
    need it to have its own index now that there is a covering compound
    index for expires and valid.

    Note that he expires index is still useful alone for purging old tokens
    as we do not filter for valid in that case.
    (cherry picked from commit dd2c80c566)

    Remove unused token.valid index

    Because valid is only ever used in conjunction with expires, we do not
    need it to have its own index now that there is a covering compound
    index for expires and valid.

    Note that he expires index is still useful alone for purging old tokens
    as we do not filter for valid in that case.
    (cherry picked from commit 5d8a1a4142)

Change-Id: I04d62b98d5d760a3fbc3c8db61530f7ebccb0a48
Closes-Bug: #1253755
2014-01-30 13:29:59 +01:00
..
cache Handle unicode at the caching layer more elegantly 2013-10-14 09:56:37 -07:00
environment Monkey patch select in environment 2013-09-20 00:23:31 +00:00
ldap Eliminate type error on search_s 2013-09-27 11:08:15 -05:00
sql list_revoked_tokens sql speedup for havana 2014-01-30 13:29:59 +01:00
__init__.py establish basic structure 2012-01-18 20:06:27 -08:00
cms.py Bump hacking to 0.7 2013-08-29 09:30:55 +09:00
config.py sync oslo policy 2013-09-25 11:33:35 -07:00
controller.py Validate token calls return 404 on invalid tokens 2013-09-26 15:12:21 -07:00
dependency.py Optional dependency injection 2013-09-16 16:00:49 -05:00
extension.py Changed header from LLC to Foundation based on trademark policies 2013-09-05 15:03:32 -05:00
kvs.py Changed header from LLC to Foundation based on trademark policies 2013-09-05 15:03:32 -05:00
manager.py Changed header from LLC to Foundation based on trademark policies 2013-09-05 15:03:32 -05:00
models.py Cleanup of tenantId, tenant_id, and default_project_id 2013-09-22 17:36:02 -07:00
openssl.py Merge "Remove CA key password from cert setup" 2013-09-12 15:37:53 +00:00
router.py Changed header from LLC to Foundation based on trademark policies 2013-09-05 15:03:32 -05:00
serializer.py Changed header from LLC to Foundation based on trademark policies 2013-09-05 15:03:32 -05:00
systemd.py notify calling process we are ready to serve 2012-09-19 00:28:19 +02:00
utils.py Don't use default value in LimitingReader 2013-10-09 10:00:18 -05:00
wsgi.py Changed header from LLC to Foundation based on trademark policies 2013-09-05 15:03:32 -05:00