cube-js/cube

Set OLAP Mode for mySQL

Open

#5,850 创建于 2022年12月20日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Rust (1,965 fork)batch import
help wanted

仓库指标

Star
 (19,563 star)
PR 合并指标
 (平均合并 5天 16小时) (30 天内合并 138 个 PR)

描述

Is your feature request related to a problem? Please describe. MySQL and Planetscale, as a result, impose query timeouts when running on OLTP mode. Setting the mode to OLAP via a SQL set query resolves this.

Describe the solution you'd like Cube.js to support the setting of DB-level variables in the config file.

Describe alternatives you've considered I spoke to Rory from cube cloud support, and we tried multiple types of pre-aggregations over days.

Additional context Sample Error: (errno 2013) due to context deadline exceeded, elapsed time: 20.000298157s What I need to execute: SET workload=olap;

贡献者指南