Introducing our Snowflake Data Cloud Native Application: AI-Driven Data Quality built into SQL statements! Learn More

Using Interzoid with Google Cloud SQL

Google Cloud SQL is a fully managed Cloud relational database management system. Several of these database offerings are based on PostgreSQL and MySQL, in which case the database access is the same as for those respective platforms, such as PostgreSQL connectivity and MySQL connectivity.

Since Interzoid supports Google Cloud SQL connectivity, that means that database tables in these platforms can be targets of Interzoid analysis and processing, simply by using the appropriate Google Cloud SQL connection string.

There are two ways to work with and process Google Cloud SQL tables: through the Cloud Data Connect Wizard, or via an API call.

Using the Cloud Data Connect Wizard, you simply connect to an instance of Google Cloud SQL (Postgres or MySQL) with a connection string (see below) or providing connection parameters within the form, selecting the database and table you will use as your source. You must also provide the specific column you will be matching on. You need to choose the category of matching you want to perform (company names, individual names, or addresses).

Finally, select the type of matching you want to perform. This can be a match/inconsistency report that shows clusters of similar data, inconsistent, and otherwise matched data. You can also create an output file with a similarity key for every record in the file. You can create a new table that will be created within the source database that will store the similarity keys along with the corresponding value, or you can choose to generate the SQL that allows for the same. Creating a new table to store similarity keys enables you to perform your own custom types of matching using similarity keys as the basis of a join rather than the actual value of the data itself, and also enables matching across tables within your database. This will provide significantly higher match rates than matching on the original data values.

Here is a screen from the Cloud Data Connect Wizard showing a sample configuration. After you select your options, click "Run" and you will shortly have your results.


Google Cloud SQL data matching, data cleansing, and data quality example

You can also access a Google Cloud SQL table programmatically via an API call (showing a PostgreSQL example). Here is an example (place in the URL address bar of your browser and press 'enter'):

                                                            
    https://connect.interzoid.com/run?function=match&apikey=use-your-own-api-key-here&source=postgres&connection=your-specific-connection-string&table=companies&column=company&process=matchreport&category=company
                                                            

For more details and documentation for the parameters of the API call, visit here.


Google Cloud SQL on PostgreSQL Connection string example:

            
    "postgres://postgres:password@{instance-ipaddress}/database?sslmode=disable"
            

A "connection string" provides the parameters necessary to initiate the connection to a specific data source on the Cloud for analysis, enrichment, matching, or whatever data function from Interzoid is selected for use.

A connection string enables connecting to a data source using the Interzoid Cloud Data Connect product.

Here is some additional information on setting up connection strings with Google Cloud SQL data sources.