https://github.com/gorros/redshift-utils
Collection of useful Redshift queries.
https://github.com/gorros/redshift-utils
redshift sql
Last synced: 3 months ago
JSON representation
Collection of useful Redshift queries.
- Host: GitHub
- URL: https://github.com/gorros/redshift-utils
- Owner: gorros
- Created: 2020-03-02T11:45:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-03T07:43:26.000Z (over 6 years ago)
- Last Synced: 2025-01-18T16:57:01.542Z (over 1 year ago)
- Topics: redshift, sql
- Language: PLpgSQL
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# redshift-utils
Collection of useful Redshift queries.
* [Redshift Spectrum queries](select_redshift_spectrum_queries_costs.sql) - Provides information about Redshift Spectrum queries by users and cost of each query
* [User permmissions for tables in a schema](select_permissions_for_user_for_tables_in_schema.sql) - User access for each table in schema.
* [Get load errors](select_load_errors.sql) - Returns error occurured as a result of `COPY` command.
* [Tables' sizes](select_tables_sizes.sql) - Returns sizes of tables in descending order.
* [Long running queries](select_long_running_queries.sql) - Returns longest queries for last day also with usernames.