Merge pull request #597 from openziti/v0.4.27_store_indexes

Performance Indexes
This commit is contained in:
Michael Quigley 2024-04-16 14:39:58 -04:00 committed by GitHub
commit 503c91151b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 14 additions and 0 deletions

View File

@ -4,6 +4,8 @@
CHANGE: Update to OpenZiti SDK (`github.com/openziti/sdk-golang`) at `v0.23.22`. CHANGE: Update to OpenZiti SDK (`github.com/openziti/sdk-golang`) at `v0.23.22`.
CHANGE: Added indexes to `environments`, `shares`, and `frontends` tables to improve overall query performance on both PostgreSQL and Sqlite.
FIX: Also update the Python SDK to include the permission mode and access grants fields on the `ShareRequest` (https://github.com/openziti/zrok/issues/432) FIX: Also update the Python SDK to include the permission mode and access grants fields on the `ShareRequest` (https://github.com/openziti/zrok/issues/432)
FIX: Add a way to find the username on Linux when /etc/passwd and stdlib can't resolve the UID (https://github.com/openziti/zrok/issues/454) FIX: Add a way to find the username on Linux when /etc/passwd and stdlib can't resolve the UID (https://github.com/openziti/zrok/issues/454)

View File

@ -0,0 +1,6 @@
-- +migrate Up
create index environments_account_id_idx on environments (account_id);
create index shares_token_perf_idx on shares (token);
create index shares_environment_id_idx on shares (environment_id);
create index frontends_environment_id_idx on frontends (environment_id);

View File

@ -0,0 +1,6 @@
-- +migrate Up
create index environments_account_id_idx on environments (account_id);
create index shares_token_perf_idx on shares (token);
create index shares_environment_id_idx on shares (environment_id);
create index frontends_environment_id_idx on frontends (environment_id);