updated README.md

pull/2/head
Hari Sekhon 4 years ago
parent 3eaace34f9
commit 73f97c944e

@ -1,10 +1,13 @@
SQL Scripts
===========
You might also be interested in `sqlcase.pl` in the [DevOps Perl tools](https://github.com/harisekhon/devops-perl-tools) repo to autocase your SQL code (I use this a lot and call it via hotkey configured in the `.vimrc` at the top level)
- `aws_athena_cloudtrail_ddl.sql` - [AWS Athena](https://aws.amazon.com/athena/) DDL to setup up integration to query [CloudTrail](https://aws.amazon.com/cloudtrail/) logs from Athena
- `bigquery_billing_*.sql` - [Google BigQuery](https://cloud.google.com/bigquery) billing queries
- `postgres_*.sql` - [PostgreSQL](https://www.postgresql.org/) queries for DBA investigating + performance tuning
You can quickly test these PostgreSQL scripts using `postgres.sh` which boots a docker container and drops in to `psql` shell with this directory mounted at `/sql` for easy sourcing eg. `\i /sql/postgres_query_times.sql`
See Also:
`sqlcase.pl` in the [DevOps Perl tools](https://github.com/harisekhon/devops-perl-tools) repo - autocases your SQL code (I use this a lot and call it via hotkey configured in the `.vimrc` at the top level)
- there are specializations of this for most of the major SQL RDBMS and distributed SQL systems using their specific language keywords

Loading…
Cancel
Save