]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Improve circ transaction performance by indexing NULL circs (Launchpad 587031)
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 4 Jun 2010 03:54:14 +0000 (03:54 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 4 Jun 2010 03:54:14 +0000 (03:54 +0000)
commita74b415dc62faa2b761e5725a0e98694c1983b9c
treee974042faf44475034e3e95d235751c9692084b8
parent28df5614f0d849c8edb0bca71f9e7dc0107e9344
Improve circ transaction performance by indexing NULL circs (Launchpad 587031)

Creating a unique index on target_copy in the action.circulation table where
the checkin_time is NULL will increase the speed of circ transactions,
particularly on systems with a lot of traffic. The uniqueness also
ensures that a given item will not be able to be checked out multiple times
concurrently.

Thanks to James Fournie from BC Sitka for suggesting the index in Launchpad
bug 587031!

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16589 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/090.schema.action.sql
Open-ILS/src/sql/Pg/upgrade/0292.schema.action-target_copy-index.sql [new file with mode: 0644]