Use a temporary table when inserting package metadata entries

To speed up this step, as there is a lot of data.
This commit is contained in:
Christopher Baines 2020-02-04 00:11:47 +00:00
parent a3c5f53fcd
commit 77beb59495
1 changed files with 4 additions and 1 deletions

View File

@ -179,4 +179,7 @@ WHERE packages.id IN (
;; you have one package definition which interits from another, and just
;; overrides the version and the source, the package_metadata entries for
;; both definitions will be the same.
#:delete-duplicates? #t))
#:delete-duplicates? #t
;; There is so much package metadata that it's worth creating a temporary
;; table
#:use-temporary-table? #t))