About STUDIO
- What is EMS SQL Management STUDIO for PostgreSQL (STUDIO)?
- The STUDIO embraces rich capabilities, but will I need them all? Is there a simpler product?
- What do I need to start working with the STUDIO?
- Many utilities that are included in the STUDIO are also sold as stand-alone products. What are the advantages of purchasing them within the STUDIO?
- How do I receive updates and upgrades of SQL Studio components?
DB registration and connection
- Can I work with a number of databases simultaneously?
- I use Windows OS, but my remote PostgreSQL server operates on Linux OS. Will I be able to use the STUDIO to work with this server?
- Why does the STUDIO use a single registered database repository?
- What databases the STUDIO can work with?
- What is HTTP tunneling?
- What is SSH tunneling?
- I work behind a firewall (router). Can I use Studio to manage a remote PostgreSQL server?
- Why cannot I connect to PostgreSQL Server?
- I can't tune the connection to PostgreSQL server by SSH. What values do I need to input to the fields on SSH tab of Database Registration dialog?
- I’ve registered the DB, but on trying to open it the “dynamic library libpq.dll not found” message appears.
Object manipulation
- Which database objects will be accessible through the STUDIO?
- I have over a million records in the table, yet the data grid displays only 1,000 of them. What is the problem?
- How can I speed up my work with large tables?
- What can I do with database objects?
- When creating a table like "TestTable" it will get stored as "testtable". This is wrong!
- How can I customize data formats in a grid?
- My database uses a "Greek" codepage. In data grid view all information is displayed at "??????". What is wrong?
- I can‘t modify DDL. Why?
- I have a table with ~ 1000 records only and a large number of fields. Opening this table on Data tab takes too much time.
Query
- I'm new to PostgreSQL and can hardly compose the SQL-statements by hand. Does the STUDIO have a visual query builder like MS ACCESS?
- Can I use the visual query builder in STUDIO to build the complex queries with unions and subqueries?
- Can I save a created query for future use?
- Can I run the query from the command line?
- Can I save a query result into the CVS- or XLS-file?
Report Designer
- How can I create a report?
- How can I create a report based on the query?
- Can I save my report in HTML, EXCEL or WORD?
- I am trying to create a report in Report Designer, I have added Master Data Band but can't get access to the table data: 'Band data source' list is empty.
Data manipulation
- What is the difference between the Export/Import functions in STUDIO and SQL Manager for PostgreSQL?
- I need to import data from CSV file. How can I do it with the help of STUDIO?
- I’m trying to export table, but TEXT fields are not exported.
- How do I change the default directory where exported data will be saved?
- For which purpose are console versions of the utilities for manipulating data included in STUDIO?
- I have a database in MS Access. I want to migrate to the remote PostgreSQL server. How can I do it with the help of STUDIO?
- I have a ODBC data source. Can I migrate from it to PostgreSQL?
- From which databases can I migrate to PostgreSQL with the help of STUDIO?
- I am working on the application. The database structure is already created. How can STUDIO help me to fill the database with test data?
- My database contains many relations between tables and other restrictions. Will STUDIO consider this while generating test data?
Data analysis
- I need to find the differences in the metadata of two databases and then synchronise them. How can STUDIO help me with this task?
- I need to find the differences in the data between the existing database and its yesterday's backup. What shall I do?
- Can I synchronize metadata and data between different PostgreSQL versions?
- Can I start the synchronization of metadata or data from the command line?
- Can STUDIO synchronize PostgreSQL database with MySQL database?
BackUP/Restore
- What BackUp capabilities does STUDIO provide?
- Is it possible to restore the backup on one server while it was created on another one?
Template management
- What are the templates used for example in export/import functions? What are they for?
- Where are the STUDIO templates located?
- When I delete a template from the list in STUDIO will it be deleted from the disk?
- How can I create a new template for the Import?
Scheduler
- I need to perform certain functions on database management (export from one database, import of those data to another one, backup of both databases) outside business hours (at night). Does STUDIO provide any solution for this?
- How do I configure a task so that I receive an e-mail at the indicated address in case of the task failure?
- Can the task process be changed depending on the results of the task steps?
- How can I view the information on the performed tasks?
- What will happen if during the task execution the application run cannot terminate (critical error, does not respond)? Will the tasl execution stop?
- What do I need to work with the Task Scheduler?
- What will happen if after running the computer the Task Scheduler will find the tasks that schould have been executed in the past, but it did not happen?
Log management
- It is important for me to get the information from log files of applications executed by the Task Scheduler. Does STUDIO save these log files?
- The external application that is executed in one of the tasks does not have a log file, but only a screen log. How can I save the data from the screen?
- How long are log files kept in STUDIO?
Localization
Q:
What is EMS SQL Management STUDIO for PostgreSQL (STUDIO)?
A:
EMS SQL Management Studio is a complete solution for database administration and development. The STUDIO is an integrated suite of powerful database management tools united in one easy-to-use work environment. Developers will appreciate its ability to create/edit/drop any database objects and will find DB comparison, data export/import and test data generation tools extremely helpful. Database migration, BackUp and Restore tools will be of great help to DBAs. As will be the Scheduler that will automate a sizeable part of DBA's work.
Q:
The STUDIO embraces rich capabilities, but will I need them all? Is there a simpler product?
A:
This question naturally comes if you are new to database administration and development. It might not be immediately obvious why you would need so many different tools. We would like to point out that your experience will build up day in and day out, you will face new, more complicated tasks and you will need more tools to solve them. The STUDIO embraces ALL must-have tools for DBAs and developers. And it will be in line with your growing expertise! Besides, once you familiarize yourself with the STUDIO tools you'll be able to find the simplest, most suitable and reliable solutions to your tasks! We do realise that our product is used not only by experts, that is why we included plenty of Wisards that will make the job easy and enjoyable even for a newbie. The STUDIO interface is designed so that the component tools are called only when needed in order not to hinder your work. Our experience shows that the majority of our customers get used to our products really fast and we have never received any downgrade requests.
Q:
What do I need to start working with the STUDIO?
A:
In order to start working with the STUDIO you need to download the installation package here. Then run the installaton file on a MS Windows workstation. When the installation is finished, the program is ready to be used in the trial mode. You can evaluate the trial version for 30 days.This is the time for you to make a purchasing decision. You can purchase the STUDIO here. After the payment is complete your will receive your registration information by e-mail. On entering this information (Main Menu/Help/Register) your copy of the STUDIO will become a registered one.
Q:
Many utilities that are included in the STUDIO are also sold as stand-alone products. What are the advantages of purchasing them within the STUDIO?
A:
Indeed, in order to perform some simple task you can purchase a separate EMS utility or a few of them.Yet, if you purchase these utilities within the STUDIO, you receive additional functionalities. First of all, you'll be able to launch the STUDIO components from Task Scheduler. That is, you can set the order to run the tools in, set the parameters to be used, the time and/or time intervals for the task to be performed and go to play a bowling game:) The Task Scheduler will fulfill all your tasks, save the logs for the performed operations and will notify you by e-mail about the successfull/unsuccessful task completion. The Task Scheduler will help you to really automate the majority of your DB service tasks. Secondly, you'll be able to store all registered Databases in one repository. Thus, you will need to register your data source once and will be able to use it in all STUDIO tools. This will save your time and reduce an error chance to the minimum. The third equally important benefit is the pricing. Purchasing the tools within the STUDIO, you pay a lot less, compared to purchasing them as separate products. You will receive up to 40% off the original price!
Q:
How do I receive updates and upgrades of SQL Studio components?
A:
Basically, there are two upgrading options:
1) You should either download the complete Studio package anew and install it on the same workstation as your original version, which will be overwritten. All settings will be saved.
2) Or, you should update SQL Studio components through SQL Studio Direct service (Navigate/SQL Studio Direct main menu item). A pop-up window will tell you about available updates. Click Yes to download these updates (Internet connection is a must). The Refresh icon on SQL Studio Direct toolbar serves the same purpose. You can also set the interval for Automatic polling of the network in search of updates (see the corresponding icon).
The update procedure performed either way will not require any additional registration.
There is a third possibility for updating SQL Manager component only. You can download the Studio edition of the tool from the corresponding SQL Manager download page. You would then need to unpack the archive in the SQL Manager subfolder within SQL Studio installation directory (e.g. C:\Program Files\EMS\SQL Studio for PostgreSQL\SQL Manager).
1) You should either download the complete Studio package anew and install it on the same workstation as your original version, which will be overwritten. All settings will be saved.
2) Or, you should update SQL Studio components through SQL Studio Direct service (Navigate/SQL Studio Direct main menu item). A pop-up window will tell you about available updates. Click Yes to download these updates (Internet connection is a must). The Refresh icon on SQL Studio Direct toolbar serves the same purpose. You can also set the interval for Automatic polling of the network in search of updates (see the corresponding icon).
The update procedure performed either way will not require any additional registration.
There is a third possibility for updating SQL Manager component only. You can download the Studio edition of the tool from the corresponding SQL Manager download page. You would then need to unpack the archive in the SQL Manager subfolder within SQL Studio installation directory (e.g. C:\Program Files\EMS\SQL Studio for PostgreSQL\SQL Manager).
Q:
Can I work with a number of databases simultaneously?
A:
Yes, the STUDIO allows to work with an unlimited number of databases at the same time. You can also operate with any number of databases via SSH and HTTP tunneling. Once the database is registered at the database source repository correctly, you are ready to use it.
Q:
I use Windows OS, but my remote PostgreSQL server operates on Linux OS. Will I be able to use the STUDIO to work with this server?
A:
Yes, that is possible. It doesn't matter what OS the PostgreSQL Server is under, the STUDIO works only in the Windows environment.
Q:
Why does the STUDIO use a single registered database repository?
A:
The single registered database repository allows one database to be accessed with any STUDIO tools. If you earlier purchased our product suites (bundles) you had to enter the database information in every tool you used. That eventually led to massive time wasting and typing errors. Now the problem is solved in the STUDIO with the help of a single registered database repository.
Q:
What databases the STUDIO can work with?
A:
Using our products you can work with PostgreSQL servers located through the named pipes or remotely on any platform (Linux, Unix, Windows, etc.). You can also connect to remote PostgreSQL servers using SSH and HTTP tunneling.
Q:
What is HTTP tunneling?
A:
HTTP tunneling is a method that allows to connect and transmit data between the program and a PostgreSQL server through the HTTP/HTTPS protocols using the 80 port, which is used by a regular internet browser. This method is used to connect to the remote PostgreSQL server of a hosting company when the direct connection is not available because of the security reasons. The HTTP tunnel works the following way: All outgoing queries and commands sent be the client's software are encoded and transmitted through the HTTP\HTTPS protocol using the 80 port to the special script that decodes the received data and sends is to processing PostgreSQL server and sends the result back. This method requires the HTTP server (Apache) and PHP with PostgreSQL to be installed on the remote server. Normally this software is provided by a hosting company that offer the Linux hosting solutions. Also you need to upload the special emsproxy.php script to your web-server to access it remotely (you can place it to the folder with your other PHP scripts). If your web-server complies with the requirements and the script is installed correctly, you'll see the message "EmsProxy v 1.31" (version number can be different) in your browser when opening the http://<yourwebservername>/emsproxy.php page. To register a remote database that will be accessed through the HTTP tunnel you have to enter the following parameters in the Database Registration Wizard of SQL Manager for PostgreSQL:
The First step of the Wizard:
Host is a host where PostgreSQL server is located in point of view HTTP server. Usually HTTP and PostgreSQL server are on the same machine, and it is 'localhost'.
Port is a port of PostgreSQL server on Remote Host, by default it is 5432.
User Name is a PostgreSQL user name.
Password is password of the PostgreSQL user.
Check "Use tunneling" and "SSH tunneling".
The Second step of the Wizard:
URL is a address of emsproxy.php script (e.g. http://mywebserver /emsproxy.php).
The First step of the Wizard:
Host is a host where PostgreSQL server is located in point of view HTTP server. Usually HTTP and PostgreSQL server are on the same machine, and it is 'localhost'.
Port is a port of PostgreSQL server on Remote Host, by default it is 5432.
User Name is a PostgreSQL user name.
Password is password of the PostgreSQL user.
Check "Use tunneling" and "SSH tunneling".
The Second step of the Wizard:
URL is a address of emsproxy.php script (e.g. http://mywebserver /emsproxy.php).
Q:
What is SSH tunneling?
A:
SSH (Secure Shell Host) protocol is used to heighten the computer security when working with Unix systems in Internet. SSH uses several encryption algorithms of different reliability. The spread of the SSH is also connected with the fact that a number of Linux-like OS's (for example FreeBSD) include SSH server in their standard integration. To get more information about this issue, please, visit http://openssh.org. SSH tunneling feature of SQL Manager is a means for secure connection to PostgreSQL servers when working over insecure connection channels. You can also use SSH tunnel to get access to the remote PostgreSQL servers, when port 5432 is closed for external connections due to some reasons. The connection over SSH tunnel works in the following way. First a connection is established and authentication between SSH client built in SQL Manager and remote PostgreSQL server is performed. Then all in and outgoing information between the program and PostgreSQL server is transmitted through SSH server with the help of communication port (usually it is 22), and SSH server transfers this information directly to PostgreSQL server. To register a database to which one connects through SSH tunnel, you should set the following parameters in Database Registration Wizard of SQL Manager for PostgreSQL:
On the first step:
Host is a host where PostgreSQL server is located in point of view SSH server. If SSH and PostgreSQL server are on the same machine, it is equal to SSH Host, or may be 'localhost'.
Port is a port of PostgreSQL server on Remote Host, by default it is 5432.
User Name is a PostgreSQL user name.
Password is password of the PostgreSQL user.
Please, note that PostgreSQL host name should be set relatively to the SSH server in this case. For example, if both of PostgreSQL and SSH servers are located on the same computer, you should specify localhost as Host name instead of server's external host name or IP address.
Please, do not forget to choose Use tunneling and SSH tunneling
On the second step:
SSH host name is a host where SSH server is activated.
SSH port is a port where SSH server is activated.
SSH user name is a user on Linux machine. (It is a Linux user. It is not a user of PostgreSQL server.)
SSH password is a Linux user password.
On the first step:
Host is a host where PostgreSQL server is located in point of view SSH server. If SSH and PostgreSQL server are on the same machine, it is equal to SSH Host, or may be 'localhost'.
Port is a port of PostgreSQL server on Remote Host, by default it is 5432.
User Name is a PostgreSQL user name.
Password is password of the PostgreSQL user.
Please, note that PostgreSQL host name should be set relatively to the SSH server in this case. For example, if both of PostgreSQL and SSH servers are located on the same computer, you should specify localhost as Host name instead of server's external host name or IP address.
Please, do not forget to choose Use tunneling and SSH tunneling
On the second step:
SSH host name is a host where SSH server is activated.
SSH port is a port where SSH server is activated.
SSH user name is a user on Linux machine. (It is a Linux user. It is not a user of PostgreSQL server.)
SSH password is a Linux user password.
Q:
I work behind a firewall (router). Can I use Studio to manage a remote PostgreSQL server?
A:
If due to the security policy accepted in your corporate network or by your host provider you cannot connect to your PostgreSQL server directly through TCP/IP (for example a firewall prevents this), you can use SSH or HTTP tunneling feature of SQL Manager to fulfill your task.
Q:
Why cannot I connect to PostgreSQL Server?
A:
1. Make sure that there is a record for your client PC in pg_hba.conf file on PostgreSQL server. This file can be found in database cluster's data directory.
2. If you connect to the remote server, then the TCP/IP connections should be allowed on the remore server. In this case you need to edit file postgresql.conf on the server: just add the name or TCP/IP of the client PC in the listen_addresses list. Or you can as well put * character; in this case the connection from any host will be allowed. You can get the same result if you run the server with -i option, which is the same as listen_addresses = '*'.
3. Make sure that you enter the correct login/password.
4. You use password authentication, but it is not supoorted in STUDIO.
2. If you connect to the remote server, then the TCP/IP connections should be allowed on the remore server. In this case you need to edit file postgresql.conf on the server: just add the name or TCP/IP of the client PC in the listen_addresses list. Or you can as well put * character; in this case the connection from any host will be allowed. You can get the same result if you run the server with -i option, which is the same as listen_addresses = '*'.
3. Make sure that you enter the correct login/password.
4. You use password authentication, but it is not supoorted in STUDIO.
Q:
I can't tune the connection to PostgreSQL server by SSH. What values do I need to input to the fields on SSH tab of Database Registration dialog?
A:
To setup SSH connection correctly, input the following values to the corresponding fields:
On SSH page/tab:
SSH host name is a host where SSH server is activated.
SSH port is a port where SSH server is activated.
SSH user name is a user on Linux machine. (It is a Linux user. It is not a user of PostgreSQL server.)
SSH password is a Linux user password.
On Connection properties/General page/tab:
Host is a host where PostgreSQL server is located from the point of view of SSH server. If SSH and PostgreSQL server are on the same machine, it is equal to SSH Host, or may be 'localhost'.
Port is a port of PostgreSQL server on Remote Host, by default it is 5432.
User Name is a PostgreSQL user name.
Password is a password of the PostgreSQL user.
Please note that PostgreSQL host name should be set relatively to the SSH server in this case. For example, if both PostgreSQL and SSH servers are located on the same computer, you should specify localhost as Host name instead of server's external host name or IP address.
On SSH page/tab:
SSH host name is a host where SSH server is activated.
SSH port is a port where SSH server is activated.
SSH user name is a user on Linux machine. (It is a Linux user. It is not a user of PostgreSQL server.)
SSH password is a Linux user password.
On Connection properties/General page/tab:
Host is a host where PostgreSQL server is located from the point of view of SSH server. If SSH and PostgreSQL server are on the same machine, it is equal to SSH Host, or may be 'localhost'.
Port is a port of PostgreSQL server on Remote Host, by default it is 5432.
User Name is a PostgreSQL user name.
Password is a password of the PostgreSQL user.
Please note that PostgreSQL host name should be set relatively to the SSH server in this case. For example, if both PostgreSQL and SSH servers are located on the same computer, you should specify localhost as Host name instead of server's external host name or IP address.
Q:
I’ve registered the DB, but on trying to open it the “dynamic library libpq.dll not found” message appears.
A:
You receive this error message because the program can not find the libpq.dll client library that is essential to work with PostgreSQL server. The libpq.dll file is included in the Studio installation package. You might have deleted this file accidentally or moved the exe file to another folder. In order to solve the problem you need to reinstall the Studio (all your settings will be saved) or copy the libpq.dll file from the installation folder to the folder with the exe file.





