Merge pull request #9 from kidd/fix-pg_flame-query

postgres-workspace - fix pg_flame query
This commit is contained in:
alnoda 2022-03-14 06:29:29 -04:00 committed by GitHub
commit 7cea6c1e59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -577,7 +577,7 @@ Now you can push these docks push to Github.
### pg_flame
[pg_flame](https://github.com/mgartner/pg_flame) - a flamegraph generator for Postgres EXPLAIN ANALYZE output.
```
psql usda -qAtc 'SELECT *
psql usda -qAtc 'EXPLAIN (ANALYZE, FORMAT JSON) SELECT *
FROM nut_data N
JOIN food_des F ON F.ndb_no = N.ndb_no
JOIN datsrcln D ON D.nutr_no = N.nutr_no