Quantcast
Channel: Planet PostgreSQL
Viewing all articles
Browse latest Browse all 9977

Andrew Dunstan: Get your own

$
0
0
I have been using depesz's wonderful explain tool a lot lately. But some security conscious people don't like you posting their queries and explain plans on a public web site. Not to worry, you can have your own copy of it, really easily. I got it running inside half an hour on a Fedora 15 machine. All the perl modules it requires can be installed from yum except for two (HOP::Stream and HOP::Lexer), which you can get from CPAN. The code is in two pieces - the module that does the explain magic and the web app that uses them. The web app even comes with its own built-in web server, so running it is as simple as saying "explain.pl daemon" and pointing your web browser at the right port. So now when I go on a client site next week I'll be able to run this right on my laptop, without any requirement to use the Internet.

Viewing all articles
Browse latest Browse all 9977

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>