Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

powersync-sqlite-core 0.3.0 #14

Merged
merged 3 commits into from
Oct 8, 2024
Merged

powersync-sqlite-core 0.3.0 #14

merged 3 commits into from
Oct 8, 2024

Conversation

rkistner
Copy link

@rkistner rkistner commented Oct 8, 2024

Copied release notes from powersync-sqlite-core:

This release removes major performance bottlenecks during incremental sync. Previously, incremental sync would have overhead proportional to the number of synced rows, which typically caused noticeable latency when syncing around 10-100k+ rows. Now, the overhead is only proportional to the number of buckets synced.

The performance improvements required a restructure in the data storage format. Data is migrated automatically, and an app can downgrade back to v0.2.0 or v0.2.1 of powersync-sqlite-core.

Changes:

  • Persist checksums to improve incremental sync performance.
  • Restructure persistence of REMOVE operations to further improve incremental sync performance.
  • Create internal views on powersync_init() instead of extension init, to support SQLCipher.

See: powersync-ja/powersync-sqlite-core#29

@rkistner rkistner merged commit 9c12c81 into master Oct 8, 2024
1 check passed
@rkistner rkistner deleted the release/0.4.0 branch October 8, 2024 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants