Google Cloud SQL PostgreSQL

Import data from Google Cloud SQL PostgreSQL

If you have your data stored online in the Google Cloud SQL PostgresSQL database, then you can seamlessly import your data into Zoho Analytics for reporting and analysis. You can also easily set up schedules to periodically fetch the latest data from your Google Cloud SQL PostgreSQL database. 

  1. Preamble: Why should I whitelist Zoho Analytics IP addresses and How do I do it?
  2. How do I import data from the Google Cloud SQL PostgreSQL database?
  3. How can I edit the setup?
  4. How long does it take for the data to be imported into Zoho Analytics?
  5. Can I import data from Views created in Google Cloud SQL PostgreSQL (apart from Tables) into Zoho Analytics?
  6. Will foreign keys defined between my tables in Google Cloud SQL PostgreSQL database be linked in Zoho Analytics as well?
  7. Can I change the data-type of the columns in Zoho Analytics?
  8. I have synced data from a database into a table. Can I change the data source of this table?
  9. Can I import data from my Google Cloud SQL PostgreSQL database into an existing Zoho Analytics database?
  10. Can I synchronize the data from my Cloud Database instantly?
  11. How do I remove the Setup?

1. Preamble: Why should I whitelist Zoho Analytics IP addresses and How do I do it?

2. How do I import data from the Google Cloud SQL PostgreSQL database?

3. How can I edit the setup?

4. How long does it take for the data to be imported into Zoho Analytics?

After setup, you might have to wait some time for the initial fetch to happen. This depends upon the amount of data fetched from Google Cloud SQL PostgreSQL database and also the response time of the Google Cloud SQL PostgreSQL server. You will receive an email notification once the import is complete. If you access the Workspace before the initial fetch, it will not display any data.

5. Can I import data from Views created in Google Cloud SQL PostgreSQL (apart from Tables) into Zoho Analytics?

Yes, you can import data from both Views and Tables into Zoho Analytics.

6. Will foreign keys defined between my tables in Google Cloud SQL PostgreSQL database be linked in Zoho Analytics as well?

When importing multiple tables, the foreign keys defined between the tables in Google Cloud SQL PostgreSQL database will be linked in Zoho Analytics. The foreign keys will be created as Look-up columns in Zoho Analytics. 

If you import data from one table at a time (choosing single table option) then the foreign keys will not be defined. However, you can manually link the tables in Zoho Analytics using the Look-up column feature. Click here to learn about the Look-up column feature.

7. Can I change the data-type of the columns imported in Zoho Analytics?

Yes, you can change the datatype of the columns imported into Zoho Analytics. However, it is necessary that the datatype of your column is compatible with the datatype of the column in your Google Cloud SQL PostgreSQL console for successful data synchronizations. It is always recommended that you change the data type in both your Google Cloud SQL PostgreSQL database as well as your Zoho Analytics database.

8. I have synced data from a database into a table. Can I change the data source of this table? 

Yes, you can change the data source of a table, into which the Google Cloud SQL PostgreSQL database has been synced. 

Follow the below steps to import if the source is available in the same Google Cloud SQL PostgreSQL database that is imported into the table. 

  1. Open the Workspace.
  2. Click Import DataImport into this Table.
  3. The Select Data to Import tab of Import wizard will open. 
  4. You can choose to import from a different table using the Select Table option or import using the Custom Query.
​ 

Follow the below steps to import if the source is available in a different local database.

  1. Open the Workspace.
  2. Click Data Source from the left bar. 
  3. All data sources for this Workspace will be listed. Click the data source you want to edit.
  4. The Data Source page will open. Click Edit Connection
  5. In the Cloud Database - Edit Connection dialog that open, modify the data source. You can also change the Databridge that fetches the data. 

9. Can I import data from my Google Cloud SQL PostgreSQL database into an existing Zoho Analytics database?

Yes. Follow the below steps to import data into an existing database:

  • Open the Workspace into which you wish to import the data.
  • Click the Import Data button in the Explorer tab.
  • Click Cloud Databases option. 

Configuring the import will be similar to the steps followed in this presentation.

10. Can I synchronize the data from my Cloud Database instantly?  

Yes, you can synchronize your data from Cloud Database instantly when needed. 

To synchronize your data instantly:

  1. Login to your Zoho Analytics account.
  2. Open the corresponding Workspace.
  3. From the home page, click Data Source tab. The Data Source page will open.
  4. Click Sync Now link.
Note: This option can be used to a maximum of five times per day.

11. How do I remove the Setup?

To remove the setup,

  • Login to your Zoho Analytics account.
  • Open the corresponding Workspace.
  • In the Explorer tab, click Data Sources button.
  • In the Data Sources tab that opens click the Settings icon and select Remove Data Source as shown in the snapshot. 

Please do note that this only removes the connection. You can still continue accessing the Workspace in Zoho Analytics.

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohoanalytics.com