Opening the upgraded database from 2.8 to 3.0.2 is slow
Description
This is reported in https://couchbasecloud.atlassian.net/browse/CBSE-13748 that opening the upgraded database could take 30 seconds. I have tested with cblite tool built on the lithium branch and it took ~10 - 14 seconds to open on my Macbook M1.
Noted that the database provided in the CBSE ticket is an already upgraded database from 2.8 to 3.0.2.
The next step we should try is to do time profiling.
Build couchbase-lite-net-3.0.12-2 contains couchbase-lite-core commit 1e2cbb4 with commit message: : Opening the upgraded database from 2.8 to 3.0.2 is slow (#1735)
CB robot June 2, 2023 at 8:25 AM
Build couchbase-lite-ios-3.0.7-20 contains couchbase-lite-core commit 1e2cbb4 with commit message: : Opening the upgraded database from 2.8 to 3.0.2 is slow (#1735)
CB robot June 1, 2023 at 8:56 PM
Build couchbase-lite-c-3.0.12-2 contains couchbase-lite-core commit 1e2cbb4 with commit message: : Opening the upgraded database from 2.8 to 3.0.2 is slow (#1735)
CB robot March 30, 2023 at 5:20 PM
Build couchbase-lite-core-3.0.12-2 contains couchbase-lite-core commit 1e2cbb4 with commit message: : Opening the upgraded database from 2.8 to 3.0.2 is slow (#1735)
Jianmin Zhao March 29, 2023 at 6:45 PM
My previous comment is not accurate. That was concluded by reading the master branch. To correct,
V3.0 only engages the HouseKeeper.
V3.1 has both bottle-necks.
Fixed
Pinned fields
Click on the next to a field label to start pinning.
This is reported in https://couchbasecloud.atlassian.net/browse/CBSE-13748 that opening the upgraded database could take 30 seconds. I have tested with cblite tool built on the lithium branch and it took ~10 - 14 seconds to open on my Macbook M1.
Noted that the database provided in the CBSE ticket is an already upgraded database from 2.8 to 3.0.2.
The next step we should try is to do time profiling.