update
This commit is contained in:
parent
01b301b902
commit
eb2cd944d9
2 changed files with 9 additions and 1 deletions
|
@ -77,7 +77,7 @@ databaseIsEmpty (ContentIdentifierHandle _ b) = b
|
||||||
-- ContentIndentifiersKeyRemoteCidIndex speeds up queries like
|
-- ContentIndentifiersKeyRemoteCidIndex speeds up queries like
|
||||||
-- getContentIdentifiers, but it is not used for
|
-- getContentIdentifiers, but it is not used for
|
||||||
-- getContentIdentifierKeys. ContentIndentifiersCidRemoteKeyIndex was
|
-- getContentIdentifierKeys. ContentIndentifiersCidRemoteKeyIndex was
|
||||||
-- added to speed that up.
|
-- addedto speed that up.
|
||||||
share [mkPersist sqlSettings, mkMigrate "migrateContentIdentifier"] [persistLowerCase|
|
share [mkPersist sqlSettings, mkMigrate "migrateContentIdentifier"] [persistLowerCase|
|
||||||
ContentIdentifiers
|
ContentIdentifiers
|
||||||
remote UUID
|
remote UUID
|
||||||
|
|
|
@ -78,3 +78,11 @@ Note that the use of `git cat-file` in union merge is not --buffer
|
||||||
streaming, so is slower than the patch parsing method that was discussed in
|
streaming, so is slower than the patch parsing method that was discussed in
|
||||||
the previous section. So it might be possible to speed up git-annex branch
|
the previous section. So it might be possible to speed up git-annex branch
|
||||||
merging using patch parsing.
|
merging using patch parsing.
|
||||||
|
|
||||||
|
Note that Database.ContentIdentifier and Database.ImportFeed also update
|
||||||
|
by diffing from the old to new git-annex branch (with `git cat-file` to
|
||||||
|
read log files) so could also be sped up by being done at git-annex branch
|
||||||
|
merge time. Those are less expensive than diffing the location logs only
|
||||||
|
because the logs they diff are less often used, and the work is only
|
||||||
|
done when relevant commands are run.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue