Public bug reported:

The Nonce model needs a (ideally unique) index on (token_key,
consumer_key, key).

Aside from granting there to be only one entry for each combination, the
index will speed up search for nonces when API calls are performed.

Given Nonce entries are never deleted, the table can grow quite big, and
doing a full scan to find if there's a matching entry becomes
increasingly more costly.

** Affects: django-piston3 (Ubuntu)
     Importance: Undecided
         Status: In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1842043

Title:
  The Nonce model needs an index

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/django-piston3/+bug/1842043/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to