Let me start by saying pgAdmin 4 is a great tool for PostgreSQL.  It makes a lot of the admin and monitoring work easier.  It’s also cross-platform, and it’s free.  On the other hand, SQL Multi Select is just a query tool, that runs only on Windows.  Well, it runs on Ubuntu using Wine, and on Fedora via PlayOnLinux.    The Basic Edition is free, and here are some reasons you may want to use SQL Multi Select as your PostgreSQL query tool instead of pgAdmin.  Note that pgAdmin 4 (1.4) was used for this comparison.

Multiple server targets

You can run queries on multiple PostgreSQL databases simultaneously with SQL Multi Select.  For example, say you want to run a script that returns every databases’ size.  Just set up a group containing the databases you want to run the query on:

Set up the scripts on run on each of those databases:

Run the script, and you’ll see the results for each of those databases, across all servers in the server group.

 

Multiple result sets

When you run the following in pgAdmin:

only the last result set is returned.

In SQL Multi Select, the same script returns multiple result sets.

To make things clearer, you can place comments before each individual script:

and SQL Multi Select will use those comments to identify the result sets instead of arbitrary numbers.

 

Image display

In bytea columns storing images, pgAdmin displays the hex values.

SQL Multi Select displays a thumbnail of the image (gif, jpeg, png, bmp, dicom), and some image properties.  Note that SQL Multi Select inspects the bytea values and identifies the image format automatically.  There is no need to provide another column that tells SQL Multi Select the image format.

 

Blob data identification

In bytea columns containing files, pgAdmin displays the hex values.

SQL Multi Select displays details of the data contained in those columns.  Note that SQL Multi Select inspects the bytea values and identifies the data type accordingly.

Result sets containing bytea columns return very slow

If your query returns bytea columns a few MBs in size, pgAdmin takes an extremely long time to return the result set when compared to SQL Multi Select.  For e.g. this query returns a single bytea column that contains a 13 Mb zip file.  pgAdmin takes 7 minutes to display the single row:

SQL Multi Select returns the same result set in 1 second.

 

Search function

In SQL Multi Select, you can search for a value in the result sets.  You can also use a regular expression to search for values.

pgAdmin is still great for administrative tasks, but as a query tool, SQL Multi Select may be better in some cases.  Download SQL Multi Select and give it a try now.  The 14-day trial will be automatically converted to the FREE Basic Edition once the trial period has elapsed.

Related blogs:

Leave a Comment

Your email address will not be published. Required fields are marked *