![]() |
VOOZH | about |
Integrate connectivity to AlloyDB data into your enterprise reporting capabilities. The CData ODBC Driver for AlloyDB enables you to access live AlloyDB data in business intelligence tools like Tableau Server. Connectivity to AlloyDB APIs enables you to monitor changes to your data in real time. Other members of your organization can access your dashboards from a Web browser and get updates from their mobile phone.
This article explains how to configure a DSN on the client and server machines, publish a data source for AlloyDB to Tableau Server, and publish an entire Workbook to Tableau Server (including the data source). If you publish a data source, you will be able to create new, refreshable workbooks in Tableau Server.
To create a data source or workbook in Tableau Desktop and publish the data source or workbook to Tableau server, you will need to configure a DSN on each machine (Desktop and Server), specifying connection properties and creating DSNs using the same name on each machine. Information for connecting to AlloyDB follows, along with different instructions for configuring a DSN in Windows and Linux environments.
The following connection properties are usually required in order to connect to AlloyDB.
You can also optionally set the following:
Standard authentication (using the user/password combination supplied earlier) is the default form of authentication.
No further action is required to leverage Standard Authentication to connect.
There are additional methods of authentication available which must be enabled in the pg_hba.conf file on the AlloyDB server.
Find instructions about authentication setup on the AlloyDB Server here.
This authentication method must be enabled by setting the auth-method in the pg_hba.conf file to md5.
This authentication method must be enabled by setting the auth-method in the pg_hba.conf file to scram-sha-256.
The authentication with Kerberos is initiated by AlloyDB Server when the β is trying to connect to it. You should set up Kerberos on the AlloyDB Server to activate this authentication method. Once you have Kerberos authentication set up on the AlloyDB Server, see the Kerberos section of the help documentation for details on how to authenticate with Kerberos.
When you configure the DSN, you may also want to set the Max Rows connection property. This will limit the number of rows returned, which is especially helpful for improving performance when designing reports and visualizations.
If you are installing the CData ODBC Driver for AlloyDB on Windows, DSN configuration is the last step of the driver installation. If you already have the driver installed, or you wish to configure new DSNs, you can use the Microsoft ODBC Data Source Administrator.
If you are installing the CData ODBC Driver for AlloyDB in a Linux environment, the driver installation predefines a system DSN. You can modify the DSN by editing the system data sources file (/etc/odbc.ini) and defining the required connection properties.
[CData AlloyDB Source] Driver = CData ODBC Driver for AlloyDB Description = My Description User = alloydb Password = admin Database = alloydb Server = 127.0.0.1 Port = 5432
For specific information on using these configuration files, please refer to the help documentation (installed and found online).
With the connections to AlloyDB data configured, you are ready to publish a AlloyDB data source on Tableau, ready to be leveraged by users in your organization to create workbooks based on AlloyDB data.
In the Connect pane, click More -> Other Databases (ODBC). Select CData AlloyDB Sys, the system DSN.
The driver installation automatically creates matching user and system DSNs: The system DSN is needed to connect from Tableau Server.
π The connection to the DSN. (Salesforce is shown.)You and other users in your organization can now create and share workbooks based on the published data source.
π Connectivity to your data source from the Web authoring environment in Tableau Server. (Salesforce is shown.)With a system DSN configured on the client (Tableau Desktop) machine and server (Tableau Server) machine, you can refresh workbooks connected to the AlloyDB data source. From the Web interface for Tableau Sever, click Data -> (YOUR DATA SOURCE) -> Refresh.
π Refresh the data extract on demand from Tableau Desktop. (Salesforce is shown.)If you have a specific Workbook that you wish to share with your organization, you can create the Workbook on Tableau Desktop and publish the Workbook directly to Tableau Server.
You and other users in your organization can now review the published workbook from Tableau Server.
π Connectivity to your published Workbook from the Web authoring environment in Tableau Server. (Salesforce is shown.)Download a free trial of the AlloyDB ODBC Driver to get started:
Download NowLearn more:
π AlloyDB IconThe AlloyDB ODBC Driver is a powerful tool that allows you to connect with live data from AlloyDB, directly from any applications that support ODBC connectivity.
Access AlloyDB data like you would a database - read, write, and update AlloyDB 0, etc. through a standard ODBC Driver interface.