Commit 5d516c6
authored
Performance / locking fixes/enhancements (#65)
* Use a temp table rather than (slow) json concatenation in search function
* Reduce locks when creating constraints by using "NOT VALID"
* Add logic to remove any cached searches that use data from updated partitions on ingest (Fixes Update where_stats after ingest of new data #62 )
* Add validate_constraints function to validate any constraints constructed with NOT VALID flag
* Fixes issue with docker image startup. Use pypgstac migrate for initializing docker database (Fixes cannot start database service built with pgstac:v0.3.5 #59 )1 parent 2983165 commit 5d516c6
File tree
11 files changed
+2793
-26
lines changed- pypgstac
- pypgstac
- migrations
- scripts/bin
- sql
11 files changed
+2793
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
148 | 152 | | |
149 | 153 | | |
150 | 154 | | |
| |||
0 commit comments