How to enable Timeseries support on TiDB #66473
Replies: 4 comments
-
|
Original author: TiDB-AI-Assistant TiDB does not have built-in support for Timeseries data, but it provides a feature called External Storage that allows you to use other storage engines to store and query Timeseries data. You can use TimescaleDB as an external storage engine for TiDB to enable Timeseries support. Here are the steps to enable Timeseries support on TiDB using TimescaleDB:
That’s it! With these steps, you can use TimescaleDB as an external storage engine for TiDB to enable Timeseries support. : Timescale Documentation | Install self-hosted TimescaleDB |
Beta Was this translation helpful? Give feedback.
-
|
Original author: winkyao The answer from bot is not correct. TiDB don’t support Timeseries functions yet. tidb is a general purpose database, just like MySQL. So when you want to migrate data from timescaledb to TiDB, it is same with migrating to MySQL. |
Beta Was this translation helpful? Give feedback.
-
|
Original author: jvmtoamit Can’t we use an alternate functions in TiDB for timeseries functions like time_bucket_gapfill, time_sum, time_min, time_avg, time_bucket, create_continuous_agg etc? |
Beta Was this translation helpful? Give feedback.
-
|
Original author: winkyao
TiDB don’t have such functions. May I know why you want to migrate data from a time series database to TiDB? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Original author: jvmtoamit
Original time: 2023-08-21 18:25:21.55003
Original ID/Slug: 672 / how-to-enable-timeseries-support-on-tidb
Application environment: LAB
TiDB version: TiDB v4.0.11
Problem:
I have use case of timeseries data, I am using Timescale DB and wanted to migrate all data from Timescale DB to TiDB. As per understanding TiDB does not support Timeseries functions by default. Could you please suggest how we can enable timeseries support on TiDB
Beta Was this translation helpful? Give feedback.
All reactions