【问题标题】:TimescaleDB on Azure Postgres error when creating continuous aggregation创建连续聚合时 Azure Postgres 上的 TimescaleDB 错误
【发布时间】:2021-10-29 07:18:52
【问题描述】:

我收到以下错误

SQL Error [0A000]: ERROR: functionality not supported under the current license "ApacheOnly", license¶  Hint: Upgrade to a Timescale-licensed binary to access this free community feature 

运行以下命令时:

CREATE VIEW test.weather_metrics_daily
WITH (timescaledb.continuous)
AS
SELECT
   time_bucket('1 day', time) as bucket,
   city_name,
   avg(temp_c) as avg_temp,
   avg(feels_like_c) as feels_like_temp,
   max(temp_c) as max_temp,
   min(temp_c) as min_temp,
   avg(pressure_hpa) as pressure,
   avg(humidity_percent) as humidity_percent,
   avg(rain_3h_mm) as rain_3h,
   avg(snow_3h_mm) as snow_3h,
   avg(wind_speed_ms) as wind_speed,
   avg(clouds_percent) as clouds
FROM
 test.weather_metrics
GROUP BY bucket, city_name;

我正在使用启用了 Timescaledb 的 Azure Database for PostgreSQL 服务器。

SELECT default_version, installed_version FROM pg_available_extensions
where name = 'timescaledb';

I get the version 1.7.4 on both

我正在关注入门文档: https://docs.timescale.com/timescaledb/latest/getting-started/

这是因为 Azure Database for PostgreSQL 服务器不具备所有功能还是其他原因? 谢谢!

【问题讨论】:

标签: database postgresql azure timescaledb


【解决方案1】:

Мелкий https://dba.stackexchange.com/q/298765/185681回答

这是因为 Azure 是一项云服务,因此无法提供 TimescaleDB 的免费“社区”许可。每个 TimescaleDB 常见问题解答:

TimescaleDB 是一个时间序列的关系数据库,有一些 在 Apache 2.0 许可下许可的功能,但许多 您知道和喜爱的功能通过 Timescale 许可证获得许可 (包括连续聚合、压缩、数据保留 策略、操作、多节点等)。 “Apache 2.0”版本 Microsoft、Digital Ocean 等提供的 TimescaleDB 包括 只有 Apache 许可证中的功能。时间刻度许可证 禁止云提供商提供“社区版” TimescaleDB 即服务。

【讨论】:

  • 只是补充一点,如果您使用 Timescale 托管服务,则可以在 AWS、GCP 和 Azure 上使用 TimescaleDB 社区版本。 (披露:我为 Timescale 工作)。
猜你喜欢
  • 2021-04-26
  • 1970-01-01
  • 2021-11-07
  • 2020-12-31
  • 2021-11-21
  • 2023-02-03
  • 2022-08-21
  • 1970-01-01
  • 2021-10-03
相关资源
最近更新 更多