DistributedProofreaders / dproofreaders

Distributed Proofreaders is a web application intended to ease the process of converting public domain books into e-texts.
https://www.pgdp.net
GNU General Public License v2.0
46 stars 28 forks source link

Add primary key to temp table #1238

Closed cpeel closed 1 week ago

cpeel commented 2 weeks ago

During automodify we create a temporary table for each round, populate it, query against it joining on projectid, and then delete it. This creates the table with an index so the join doesn't have to do a table scan for every evaluation.

Can confirm this works by comparing the automodify log output in the sandbox to that on TEST as there should be no functional change.