<body><iframe src="http://www.blogger.com/navbar.g?targetBlogID=8010254895780061626&amp;blogName=lifeofbrian.org&amp;publishMode=PUBLISH_MODE_FTP&amp;navbarType=BLUE&amp;layoutType=CLASSIC&amp;homepageUrl=http%3A%2F%2Fwww.lifeofbrian.org%2Fblog%2F&amp;searchRoot=http%3A%2F%2Fblogsearch.google.com%2F" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" height="30px" width="100%" id="navbar-iframe"></iframe> <div id="space-for-ie"></div>

lifeofbrian
.
org

MySQL to Postgres: SHOW FULL PROCESSLIST
2008-01-18

Over the next few weeks, I'll make an attempt to share a few tips on learning PostgreSQL from a MySQL user's prospective

SHOW FULL PROCESSLIST / SHOW PROCESSLIST

  1. Start up the Postgres shell (psql)

  2. select * from pg_stat_activity;


From here you will see the client details, query, the state of the query, and the timestamp from when it was executed.

Labels:

posted by Brian Mansell @ 9:49:00 AM,




0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home