Truncate SHA-1 indexes
authorTim Starling <tstarling@wikimedia.org>
Wed, 26 Sep 2012 04:05:38 +0000 (14:05 +1000)
committerTim Starling <tstarling@wikimedia.org>
Wed, 26 Sep 2012 04:09:38 +0000 (14:09 +1000)
commit0d044e6071614dfdf016d55014b6912a54fb5dd3
tree7419e93f2e6e4c556f3e88d46ed128cd49e2550a
parentf5536e680b49aaf05062f954e39077b18df13a0f
Truncate SHA-1 indexes

Per Asher Feldman's suggestion on wikitech-l, truncate DB indexes which
hold SHA-1 values, so that the space usage is reduced at the expense of
a very small overhead when selecting values that have colliding
truncated hashes.

Change-Id: I059de4f7bba9a949cf0a93a57df32226c41d8ce0
maintenance/archives/patch-img_sha1.sql
maintenance/tables.sql