• Topic
  • Discussion
  • VOS.VirtPGRLinkingObjects(1.1) -- DAVWikiAdmin? , 2017-06-13 05:39:38 Edit WebDAV System Administrator 2017-06-13 05:39:38

    Linking PostgreSQL Database Objects into Virtuoso

    Steps

    1. Start the Virtuoso Web User Interface.



    2. Select the Conductor link in the left frame and login as the dba user.



    3. Select the Databases -> External Data Source -> Data Sources tab menu items.



    4. Select the Connect button for the pg7ma PostgreSQL DSN.



    5. On successful connection, select the Link Objects button to obtain a list of available tables.



    6. Select all the tables that you would like to link.



    7. Change the Catalog for each table to be PGR using the Set All button.



    8. All the catalog names are changed to PGR.



    9. Select the Link button to link the selected tables into Virtuoso.



    10. On completion of the Link process, the tables will be displayed in the External Linked Objects tab.



    11. The linked tables can be queried by clicking on the hyperlink in the Local Name column of the External Linked Objects tab above. This loads the Virtuoso Interactive SQL interface with the required SQL Select for retrieving the remote table data. We shall use the PGR.PGR.Customers table to demonstrate this.



    12. Click the Execute button to run the query and retrieve results from the remote table.



    13. The tables can also be viewed as part of the Virtuoso SQL Schema Objects under the PGR catalog name.



    The Link process is now complete enabling the tables to be queried as if part of the Virtuoso Schema.

    Related

    CategoryDocumentation CategoryVirtuoso CategoryDotNET CategoryEntityFrameworks CategoryWebSite