views:

43

answers:

4

The name pretty much says it all. Right now I'm using Squirrel - it crashes frequently and suffers from memory problems (I've tried increasing the heap size). I don't need anything particularly fancy or full-featured - just something that won't take up 2.4 GB of RAM to store a 1.5 million line, 8 column result set.

+1  A: 

Try official pgAdmin. http://www.pgadmin.org/download/windows.php

jozefsevcik
A: 

One option would be to use phpPgAdmin on the server. It’s a web app, but it’s lightweight and easy to install.

It can paginate results, so it can handle large result sets. It can’t do everything that pgAdmin can do, but for everyday use I prefer it.

Nate
+1  A: 

Use PgAdmin.

However - I don't think you'll find much that won't use a large amount of memory when you have a result set with 1.5 million rows...

PgAdmin has the ability to limit automatically the number of rows returned - so you can get an overview, but not sit for an hour waiting for your results to turn up. If you write a query to return that many rows though, than you are going to have problems.

(You can also look at the limit SQL command, to restrict how many results you get back)

RodeoClown
Thanks for the suggestion - I'll check it out. Out of curiosity, why would a result set that size cause memory problems for the client?
alex
Not going to necessarily cause memory problems, but if you are returning huge result sets, there is necessarily more memory required. Both in what is required for the data itself, plus any overhead for the row information + (it sounds like) memory leaks if you run this more than once...
RodeoClown
Oh, and returning over a million rows is definitely going to take some time to run. You usually won't need to see all million+ every time you test a query :)
RodeoClown
A: 

NOTE: This is the same answer I gave this duplicate question.

I haven't tried it yet myself, but others have recommended dbVis. The client runs on Mac, Windows and Linux and supports a variety of database servers, including PostgreSQL.

jwfearn