git-annex/doc/bugs/importtree_spends_hours_reading_cidsdb
Joey Hess a0ab425c95
add ContentIndentifiersCidRemoteKeyIndex
Optimise database to further speed up importing large trees from special
remotes.

See comment for details of why the other index didn't help cid queries.

It would probably be better to manually create an index on only cid, rather
than adding a second uniqueness constraint that is a larger index. But
persitent does not support creating indexes, and an attempt to manually add
it to the migration failed.

Sponsored-by: Nicholas Golder-Manning on Patreon
2023-06-09 15:12:33 -04:00
..
comment_1_41ca70e65a59d620cedc7cf46a8305fc._comment
comment_2_8f609e231fdf315d2b658d30d708d471._comment avoid import writing to cidsdb initially 2023-05-30 17:05:28 -04:00
comment_3_d54f2c81763b4119c881e283cff80d44._comment
comment_4_76fe32e5ecbf37b0f173de987c59e39f._comment Added a comment 2023-05-30 20:58:21 +00:00
comment_5_512996afefabc75a0b2258fc05ccbfdd._comment comment 2023-06-01 14:21:55 -04:00
comment_6_1b6ff858daf39dd84d4ef39a162ca914._comment Added a comment 2023-06-01 21:26:23 +00:00
comment_6_b8b3eb5fff4ad3478dfbbd2120d4b00a._comment comment 2023-06-01 18:43:17 -04:00
comment_8_1389db945973ed42b8ddd0de3cc8889c._comment comment 2023-06-02 12:13:50 -04:00
comment_8_58155dba65976fd92cd212e13f87b888._comment Added a comment 2023-06-02 03:25:27 +00:00
comment_10_a2724ab85bc91fba3bb6e55d2b1e3878._comment comment 2023-06-02 13:11:24 -04:00
comment_11_a3fc6b67529ddce9e79c0e72996259ad._comment Added a comment 2023-06-02 21:44:54 +00:00
comment_12_c1865c88d23873eb4b32489fc387f40c._comment comment 2023-06-05 14:08:12 -04:00
comment_13_6043be5152ba2d44fb9aac4063060b56._comment Added a comment 2023-06-05 19:32:29 +00:00
comment_14_e961d2b508e3260670bb61a5ae51d109._comment cache negative lookups of global numcopies and mincopies 2023-06-06 14:43:25 -04:00
comment_15_35d233db5f7410048bd0cf9f5b4fd5cc._comment cache negative lookups of global numcopies and mincopies 2023-06-06 14:43:25 -04:00
comment_16_d0a7af6aecf8cb070c34edec1b3e2ecb._comment comment 2023-06-06 14:45:48 -04:00
comment_17_8fe8c0747a69ea977942a399ac929e77._comment update 2023-06-07 11:32:53 -04:00
comment_18_b5ea8e5a761b254672171c3ab41e09f9._comment update exportdb tree in getImportableContents 2023-06-08 18:36:24 -04:00
comment_19_238c26c1a3f4ab7dd6ea3b2f26febaef._comment update exportdb tree in getImportableContents 2023-06-08 18:36:24 -04:00
comment_20_d6d3db42bda1fe094140d54a458157b1._comment add ContentIndentifiersCidRemoteKeyIndex 2023-06-09 15:12:33 -04:00