-
Notifications
You must be signed in to change notification settings - Fork 44
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
v0.5.0 #96
Merged
Merged
v0.5.0 #96
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
138bc1d
to
228a033
Compare
228a033
to
d95d2e2
Compare
lossyrob
reviewed
Apr 7, 2022
lossyrob
reviewed
Apr 7, 2022
lossyrob
reviewed
Apr 7, 2022
lossyrob
reviewed
Apr 7, 2022
lossyrob
approved these changes
Apr 13, 2022
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[v0.5.0]
Version 0.5.0 is a major refactor of how data is stored. It is recommended to start a new database from scratch and to move data over rather than to use the inbuilt migration which will be very slow for larger amounts of data.
Fixed
Changed
The partition layout has been changed from being hardcoded to a partition to week to using nested partitions. The first level is by collection, for each collection, there is an attribute partition_trunc which can be set to NULL (no temporal partitions), month, or year.
CQL1 and Query Code have been refactored to translate to CQL2 to reduce duplicated code in query parsing.
Unused functions have been stripped from the project.
Pypgstac has been changed to use Fire rather than Typer.
Pypgstac has been changed to use Psycopg3 rather than Asyncpg to enable easier use as both sync and async.
Indexing has been reworked to eliminate indexes that from logs were not being used. The global json index on properties has been removed. Indexes on individual properties can be added either globally or per collection using the new queryables table.
Triggers for maintaining partitions have been updated to reduce lock contention and to reflect the new data layout.
The data pager which optimizes "order by datetime" searches has been updated to get time periods from the new partition layout and partition metadata.
Tests have been updated to reflect the many changes.
Added