Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Open Source
>
Other
>
Handbook/Manual/Tutorial
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
170
Star
237
Fork
1.3K
openGauss
/
docs
Code
Issues
1472
Pull Requests
35
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
openGauss带分区的列式存储表创建索引报错
Backlog
#IB72HQ
咨询
swpuchenxinde
Opened this issue
2024-11-26 12:27
CREATE TABLE event_log( ...... ) with (orientation=column) PARTITION BY RANGE (time_stamp) ( PARTITION el_less_than_1731945600 VALUES LESS THAN (1731945600), PARTITION el_less_than_1732032000 VALUES LESS THAN (1732032000), PARTITION el_less_than_maxvalue VALUES LESS THAN (MAXVALUE) ); 建立了张列式存储表,数据量4kw+,单表部分字段简单查询毫秒级,但是一加上排序就得10多秒,想对排序字段添加索引又报错说不允许添加:SQL 错误 [0A000]: [*.*.61.90:57412/*.*.60.108:5432] ERROR: Global partition index does not support column store. 想请教下这种情况如何处理,排序也是常用业务,一排序就性能大低,聚合查询时也很慢,请问是我打开方式不对吗,虚心请教
CREATE TABLE event_log( ...... ) with (orientation=column) PARTITION BY RANGE (time_stamp) ( PARTITION el_less_than_1731945600 VALUES LESS THAN (1731945600), PARTITION el_less_than_1732032000 VALUES LESS THAN (1732032000), PARTITION el_less_than_maxvalue VALUES LESS THAN (MAXVALUE) ); 建立了张列式存储表,数据量4kw+,单表部分字段简单查询毫秒级,但是一加上排序就得10多秒,想对排序字段添加索引又报错说不允许添加:SQL 错误 [0A000]: [*.*.61.90:57412/*.*.60.108:5432] ERROR: Global partition index does not support column store. 想请教下这种情况如何处理,排序也是常用业务,一排序就性能大低,聚合查询时也很慢,请问是我打开方式不对吗,虚心请教
Comments (
2
)
Sign in
to comment
Status
Backlog
Confirmed
Accepted
测试中
待回归
Fixing
Backlog
Doing
已答复
Done
Canceled
Assignees
Not set
jemappellehc
jemappellehc
Assignee
Collaborator
+Assign
+Mention
Labels
sig/docs
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (16)
Tags (5)
master
7.0.0-RC1
6.0.0
5.0.0
website-v2
6.0.0-RC1
3.0.0
5.1.0
1.0.1
2.0.1
2.0.0
3.1.1
3.1.0
2.1.0
1.1.0
1.0.0
v5.1.0
v5.0.0
v3.1.0
v3.0.0
v2.1.0
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(1)
1
https://gitee.com/opengauss/docs.git
git@gitee.com:opengauss/docs.git
opengauss
docs
docs
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register