aurweb/support
Dan McGee e2b3bd1c37 Add multicolumn indexes on votes and notifications tables
To put a long story short, when we do joins on these tables in our
pkg_search_page() function, we always join on both the user ID and package
ID columns. By creating multicolumn indices, we can always get the exact row
we are looking for in the table.

The benefits of adding a unique index should also speak for themselves, as
we previously did not have this on either of these tables.

This is part one of a two-part series to address the fact that this query
was often showing up in our slow query logs.

Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-18 01:47:17 -04:00
..
schema Add multicolumn indexes on votes and notifications tables 2009-06-18 01:47:17 -04:00
scripts Move tupkg scripts to tupkg/scripts. 2008-12-11 10:22:15 -05:00
README.txt initial import 2004-06-13 18:15:49 +00:00

The schema dir contains the AUR database schema file.

The scripts dir will contain any supporting scripts for the AUR such
as the script that handles moving newly uploaded packages via tupkg
to the AUR.