FAQs

  1. What aspects must be checked in case of a connection failure?

    A: Check the following:

    • Verify the Connection Properties, to check whether the input to the connection properties is correct.
    • Check whether the server and client versions are compatible.
    • Check whether database\pg_hba.conf file is configured properly. Refer to the server manual for more details.
    • Check whether Data Studio.ini file is configured properly.
  2. When I try to establish a second connection with a different server using the same SSL certificates, why is the connection successful?

    A: If the same SSL certificates are used by different server, then the second connection will be successful because the certificates are cached.

    When you try to establish a second connection with a different server using different SSL certificates, the connection will fail because of a certificate mismatch.

  3. When I right-click on the function/procedure and perform 'Refresh' in the Object Browser, the function/procedure is not visible. What can be the reason?

    A: This may happen when you drop a function/procedure and recreate it. In this case, refresh the parent folder to view the function/procedure in the Object Browser.

  4. What action must be taken if a critical error occurs in a database session and is unable to proceed?

    A: Critical error can occur in some of the following cases. Check whether:

    • The connection is left idle for long time and has timed out.
    • The server is running or not.
    • There is enough memory available on the server and no "out of memory" is reported on the server.
  5. What is a constraint?

    A: Constraints are used to restrict the insertion of unwanted data in columns. You can create constraints on single or multiple columns of any table. It maintains the data integrity of the table.

    There are three types of constraints supported:

    • Primary Key constraint
    • Unique Key constraint
    • Check constraint
  6. What is an index?

    A: An index is a copy of select columns of data from a table that can be searched very efficiently. It also includes a low level disk block address or a direct link to the complete row of data it was copied from.

  7. What is the default encoding for Data Studio's files?

    A: Exported, imported, and system files are encoded with the system's default encoding as configured in Settings > Preferences. The default encoding is UTF-8.

  8. When I try to open another instance of Data Studio multiple instances of Data Studio is not supported message displays. Why do I get this error message?

    A: Opening multiple instances of Data Studio by the same user is not supported.

  9. When I try to perform DDL operation on an object, the task keeps running indefinitely and cannot be canceled. What could be the reason?

    A: This can happen if there is another active DML/DDL operation being performed on the same object. Close all active DML/DDL operations on the object and try again. If the problem still persists, it could be that another user might be performing a DML/DDL operation on that object. Try after sometime.

  10. Why is the exported query result different from the data available in the Results tab?

    A: For export result set data, the query is re-executed using a new connection. Hence the exported result may differ from the data shown in the Results tab.

  11. Why does last login information show "Last login details not available"?

    A: Last login details not available is shown, when you are connected to the older version of the database server or you have logged into the database for the first time after the database has been created.

  12. Why is the error marked incorrectly in the SQL Terminal?

    A: This happens when server returns the incorrect line number. Review the error message in Messages tab and navigate to the corresponding line number to fix the error.

  13. Do "Show DDL and Export DDL" display dropped column information?

    A: Yes, Show DDL and Export DDL operation will display the dropped column information.

  14. Why does Data Studio not launch after I have modified the -Xmx parameter?

    A: This happens if the value defined for -Xmx parameter is invalid. Refer to Installing and Configuring Data Studio.

  15. How can I access a terminal quicker if I have opened multiple terminals or tabs?

    A: After the number of opened Terminals or tabs reaches a certain limit based on screen resolution an icon () displays with a drop-down option at the end of the Terminal list. Click the icon and select the required Terminal from the drop-down list. If the is not available, then use the tooltip to identify the Terminal or tab. Terminal name can be searched by typing the search value above the list of SQL Terminal names.

    Example:

    • *s, this displays all Terminal names that starts with s.
    • test, this displays all Terminal names that starts with test.
    • *2, this displays all Terminal names that contains 2 in them.
  16. Why does the language not change after I change the language setting and restart Data Studio?

    A: Sometimes the language may not reflect the selected change post restart. Manually restart DS to open the tool in selected language.

  17. Why does the last login details information not display?

    A: At times the server returns an error while trying to fetch last login details. In such scenarios the last login pop-up message does not display.

  18. When viewing/exporting DDL, why does the Chinese text not show properly?

    A: This happens if the SQL, DDL, object names or data contains Chinese text and the Data Studio file encoding is not set to GBK. To solve this, go to Settings > Preferences > Environment > File Encoding Preference... and set the encoding to GBK.

    The supported combinations of Database and Data Studio encoding for export operation are shown in Table1 Supported combinations of file encoding.

    To open/view the exported files in Windows Explorer: Files exported with UTF-8 encoding can be opened/viewed by double-clicking it or by right-clicking on the file and selecting Open. Files exported with GBK encoding must be opened in MS-Excel® using the import external data feature (Data > Get External Data > From Text).

    Table 1 Supported combinations of file encoding used in the Database and Data Studio

    Database Encoding

    Data Studio File Encoding

    Support for Chinese Text in Table Names

    Support for English Text in Table Names

    GBK

    GBK

    Yes

    Yes

    GBK

    UTF-8

    No - Incorrect details

    No - Incorrect details

    UTF-8

    GBK

    No - Export Fails

    No - Incorrect details

    UTF-8

    UTF-8

    Yes

    Yes

    UTF-8

    LATIN1

    No - Export Fails

    Yes

    SQL_ASCII

    GBK

    Yes

    Yes

    SQL_ASCII

    UTF-8

    No - Incorrect details

    No - Incorrect details

  19. Why do I get the error message "Conversion between GBK and LATIN1 is not supported"?

    A: This message occurs if the Data Studio and Database encoding selected are incompatible. To solve this, select the compatible encoding. Compatible encoding is shown in Table 2.

    Table 2 Compatible Encoding Formats

    Data Studio Encoding

    Database Encoding

    Compatible

    UTF-8

    GBK

    Yes

    LATIN1

    Yes

    SQL_ASCII

    Yes

    GBK

    UTF-8

    Yes

    LATIN1

    No

    SQL_ASCII

    Yes

    SQL_ASCII

    UTF-8

    Yes

    LATIN1

    Yes

    GBK

    Yes

  20. Why is the PL/SQL procedure I compiled and executed is saved as PL/SQL function?

    A: The database does not differentiate between PL/SQL function and procedure. According to the database all procedures are functions. Hence PL/SQL procedure is saved as PL/SQL function.

  21. Why is that I am not able to edit the distribution key?

    A: The database allows you to edit the distribution key only for the first insert operation.

  22. While editing table data if I do not enter a value for default value column, will the value be added by the database server?

    A: Yes, the database server will add the value but the value will not be visible after save in the Edit Table Data tab. Use the refresh option from the Edit Table Data tab or re-open the table again to view the added default value(s).

  23. While modifying/deleting table data why do I get a pop-up stating that more than one matching row found?

    A: This happens because there are additional rows detected for modification/deletion based on Custom Unique Key or All Columns selection. If Custom Unique Key is selected, then it will delete/modify the rows that have exact match of the data in the column selected for deletion/modification. If All Columns is selected, then it will delete/modify the rows that match data in all columns. Hence this duplicate records matching the Custom Unique Key or All Columns will be deleted/modified if Yes is selected. If No is selected, the row that is not saved will be marked for correction.

  24. When I right-click on a text box I see additional context menu options. Why does this happen?

    A: The additional context menu options like Right to left Reading order, Show Unicode control characters and so on are provided by Windows 7 in case the keyboard you are using supports right to left and left to right input.

  25. What are the objects that are not supported for batch export DDL & DDL and Data operations?

    A: Following objects are not supported for DDL & DDL and Data operations.

    Export DDL:

    Connection, database, tablespace, foreign table, sequence, column, index, constraint, partition, function/procedure group, regular tables group, views group, schemas group, and catalogs group.

    Export DDL and Data:

    Connection, database, tablespace, foreign table, sequence, column, index, constraint, partition, function/procedure, view, regular tables group, schemas group, and catalogs group.

  26. Will the queries in SQL Terminal commit if the resultset is modified and saved with Reuse Connection On and Auto Commit Off?

    A: No. Queries will only be committed when COMMIT command is executed in the Terminal.

    Auto Commit

    Reuse Connection

    Resultset Save

    On

    On

    Commit

    On

    Off

    Commit

    Off

    On

    Does not commit

    Off

    Off

    Not supported

  27. When I query a temp table from a new SQL Terminal the resultset displays incorrect table details. Why does this happen?

    A: When you query a temp table from a new SQL Terminal or with the Reuse Connection Off, the resultset displays information of a regular/partition/foreign table, if a table with the same name as the temp table exists.

    If the Reuse Connection is On, the resultset displays information of the temp table even if another table with the same name exists.

  28. Which are the operations that are performed on a locked object does not run in the background but needs to be manually closed?
    A: Following are the operations that do not run in background while the object is locked in another operation:

    Operations

    Renaming table

    Creating constraint

    Setting schema on table

    Creating index

    Setting tablespace in table

    Renaming schema

    Setting description in table

    Adding column

    Renaming partition

    -

  29. Do we have a limit on the column and row size while exporting table data to excel?

    A: Yes, xlsx format supports maximum of 1 million rows and 16384 columns and xls format supports maximum of 64,000 rows and 256 columns.