From 6808fd285d54182da5dca9e4190ad9d766c4c783 Mon Sep 17 00:00:00 2001 From: Alex Tatiyants Date: Tue, 5 Jan 2016 21:50:10 -0800 Subject: add about page, multiple UI tweaks --- app/components/about/about.html | 41 +++++++++++++++++++++++++++++++++++++++++ app/components/about/about.ts | 7 +++++++ 2 files changed, 48 insertions(+) create mode 100644 app/components/about/about.html create mode 100644 app/components/about/about.ts (limited to 'app/components/about') diff --git a/app/components/about/about.html b/app/components/about/about.html new file mode 100644 index 0000000..08c913b --- /dev/null +++ b/app/components/about/about.html @@ -0,0 +1,41 @@ +
+

Postgres EXPLAIN Visualizer (Pev)

+

+ Pev is designed to make + Postgres query plans easier to grok. It displays a plan as a tree, with each node representing a step that takes in a row set + and produces another. Pev can show you a number of useful things:

+ + +

You can tweak display options using the menu on the right.

+ +

Usage tips

+

Pev currently accepts only JSON formatted plans. In fact, the get the most out of it, + I recommend generating a query plan using the following line: + EXPLAIN (ANALYZE, COSTS, VERBOSE, BUFFERS, FORMAT JSON). I also recommend submitting a (decently formatted) + SQL query that generated the plan. Doing so will make Pev more useful. +

+ +

Pev will remember the plans you analyzed. They are stored locally and are not submitted to me. This is good + because no one but you will see your queries. It's also bad because you can't share them with others.

+ +

Acknowledgements

+

Pev was inspired and heavily influenced by the excellent explain.depesz.com. Both the + tool and the corresponding help files are a great resource to learn about Postgres and its planner. +

+ +

Help me improve Pev

+

If you want to help, there are multiple ways to contribute:

+ + +
diff --git a/app/components/about/about.ts b/app/components/about/about.ts new file mode 100644 index 0000000..64777fc --- /dev/null +++ b/app/components/about/about.ts @@ -0,0 +1,7 @@ +import {Component} from 'angular2/core'; + +@Component({ + selector: 'about', + templateUrl: './components/about/about.html' +}) +export class About {} -- cgit v1.2.3