Google Cloud MySQL (Edge)

Last updated on Dec 13, 2024

Edge Pipeline is currently available under Early Access. You can request access to evaluate and test its features.

Google Cloud SQL offers MySQL as a fully-managed web service. You can use Google Cloud SQL to host your MySQL database in Google Cloud Platform, and let Google Cloud handle administrative tasks such a replication, patch management, and database management for it.

You can ingest data from your Google Cloud MySQL database using Hevo Pipelines and replicate it to a Destination of your choice.


Data Type Mapping

Hevo maps the MySQL Source data type internally to a unified data type, referred to as the Hevo Data Type, in the table below. This data type is used to represent the Source data from all supported data types in a lossless manner.

The following table lists the supported MySQL data types and the corresponding Hevo data type to which they are mapped:

MySQL Data Type Hevo Data Type
- BIT(1)
- BOOLEAN
- TINYINT(1)
- TINYINT UNSIGNED(1)
BOOLEAN
- TINYINT(>1)
- SMALLINT
- TINYINT UNSIGNED(>1)
SHORT
- INT
- MEDIUMINT
- SMALLINT UNSIGNED
- MEDIUMINT UNSIGNED
- YEAR
INTEGER
- BIGINT
- INT UNSIGNED
- BIGINT UNSIGNED
LONG
- FLOAT(0-23) FLOAT
- REAL
- DOUBLE
- FLOAT(24-53)
DOUBLE
- NUMERIC
- DECIMAL
DECIMAL
- CHAR
- VARCHAR
- TINYTEXT
- TEXT
- MEDIUMTEXT
- LONGTEXT
- JSON
- ENUM
- SET
VARCHAR
- TIMESTAMP TIME_TZ
- DATE DATE
- TIME TIME
- DATETIME TIMESTAMP
- BIT(>1)
- BINARY
- VARBINARY
- TINYBLOB
- BLOB
- MEDIUMBLOB
- LONGBLOB
BYTEARRAY

At this time, the following MySQL data types are not supported by Hevo:

  • GEOMETRY

  • LINESTRING

  • POLYGON

  • MULTIPOINT

  • MULTILINESTRING

  • MULTIPOLYGON

  • GEOMETRYCOLLECTION

  • Any other data type not listed in the table above.

Note: If any of the Source objects contain data types that are not supported by Hevo, they are marked as unsupported during object configuration in the Pipeline.


Source Considerations

  • MySQL does not generate log entries for cascading deletes. So, Hevo cannot capture these deletes for log-based Pipelines.

Limitations

  • Hevo only fetches tables from the MySQL database. It does not fetch other entities such as functions, stored procedures, views, and triggers.

  • Hevo does not set the metadata column __hevo_is_deleted__ to True for data deleted from the Source table using the TRUNCATE command. This action could result in a data mismatch between the Source and Destination tables.

Tell us what went wrong