Skip to main content

Redis Connections

Redis (Remote Dictionary Server), is a fast, open-source, in-memory key-value data store for use as a database, cache, message broker, and queue. For more information, see https://redis.io/.

Sugerencia

This connection is in early preview. It is read-only and available only in SaaS product editions. For more information on early previews, see Early Preview Connection Types.

Limitations and Requirements

Nota

During normal selection or import of an entire table, you may encounter an error indicating a problem with a specific column. Since some tables require filtering based on a particular column, data from them can only be ingested using custom SQL statements. In this case, the problematic column can be used as a filter in the WHERE clause of a custom SQL statement to ingest the table.

  • For more information, please consult the CData driver documentation for the specific table.

  • For more information on using custom SQL, see Create Dataset with SQL.

Nota

For filtering date columns, this connection type supports a set of literal functions on dates. You can use these to reduce the volume of data extracted from the database using a custom SQL query. For more information, see the pg_dateliteralfunctions.htm page in the driver documentation for this connection type.

  • Only password-based authentication is supported.

Create Connection

via Cloud Portal

When you create the connection, please review the following properties and specify them accordingly:

Connection Property

Description

Host

The host name or IP address of the server hosting the Redis instance.

Port

The port for the Redis database. Default value is 6379.

Password

The password used to authenticate withRedis.

Connect String Options

The following default value sets the connection timeout in seconds:

Timeout=0;

Setting this value to 0 disables timeouts.

Default Column Data Type Inference

Leave this value as Enabled.

For more information, see the driver documentation http://cdn.cdata.com/help/EIG/jdbc/default.htm.

For flattening behavior of different data types in Redis, see http://cdn.cdata.com/help/EIG/jdbc/pg_keysastables.htm.

via API

Depending on your product edition, you can create connections of this type through the APIs. Key information:

"vendor": "redis",
"vendorName": "Redis",
"type": "jdbc"

For more information, see

Coming soon.

Data Type Conversions

For more information, see the driver documentation http://cdn.cdata.com/help/EIG/jdbc/default.htm.