登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
31
Star
32
Fork
225
openGauss
/
Plugin
代码
Issues
50
Pull Requests
1
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
【测试类型:工具功能】【测试版本:7.0.0-RC1】【timescaledb】timescaledb插件下执行sql,数据库异常退出
待办的
#IBT3M6
缺陷
guoweibiao
创建于
2025-03-13 15:22
【标题描述】:timescaledb插件下执行sql,数据库异常退出 【测试类型:SQL功能】【测试版本:7.0.0】 问题描述:timescaledb插件下执行sql,数据库异常退出 【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a): Linux sdr-0001 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 【测试环境】(单机/1主x备x级联备): 单机 【被测功能】: sql功能 【测试类型】: 功能测试 【数据库版本】(查询命令: gaussdb -V): gsql (openGauss 7.0.0-RC1 build d47a8b78) compiled at 2025-03-05 00:08:52 commit 0 last mr 【预置条件】: pg兼容库下create database format_pg DBCOMPATIBILITY 'b' encoding='utf8'; postgresql.conf修改参数shared_preload_libraries = '$libdir/timescaledb' 【操作步骤】(请填写详细的操作步骤): 1. 登陆pg兼容库,create extension timescaledb; 2. 创建表 CREATE TABLE business ( "time" timestamp with time zone NOT NULL, protocol integer, request_total bigint, request_a bigint, request_aaaa bigint, request_a6 bigint, request_ptr bigint, request_mx bigint, request_ns bigint, request_cname bigint, request_srv bigint, request_soa bigint, request_any bigint, request_txt bigint, request_other bigint, request_svcb bigint, request_https bigint, response_total bigint, response_noerror bigint, response_servfail bigint, response_nxdomain bigint, response_refused bigint, response_other bigint, filter_total bigint, filter_exception_ip bigint, filter_exception_dns bigint, filter_exception_udp bigint, filter_self_check bigint, filter_limit_ip bigint, filter_limit_domain bigint, filter_limit_acl bigint, filter_limit_source_ip bigint, filter_limit_business_ip bigint, filter_limit_request bigint, filter_limit_notrust_domain bigint, filter_attack_amplify bigint, filter_tcp_flood_sync bigint, filter_tcp_flood_ack bigint, filter_udp_flood bigint, filter_icmp_flood bigint, filter_limit_inter_network_blacklist bigint, business_force bigint, business_cache_answer bigint, business_recursion_delay bigint, business_nxr bigint, business_malicious_domain_hijack bigint, business_smart_resolve bigint, business_othernetwork_resolve bigint, business_recursion_request bigint, business_recursion_answer bigint, business_proxy_request bigint, business_proxy_answer bigint, business_forward_request bigint, business_forward_answer bigint, business_edns_process bigint, business_edns_other bigint, backend_cache_bypass bigint, backend_cache_unhit bigint, backend_cache_smart_update bigint, backend_cache_ttl_update bigint, backend_drop_limit bigint, backend_cache_update_limit bigint, business_edns_process_success bigint, business_othernetwork_resolve_success bigint, business_edns_answer bigint, business_edns_forward_request bigint, business_edns_forward_answer bigint, deviceid integer, nodeid integer, _host text NOT NULL, _raw text NOT NULL, _source text NOT NULL, _time timestamp with time zone DEFAULT now() NOT NULL ) WITH (orientation=row, compression=no); SELECT create_hypertable('business','time',chunk_time_interval => interval '1 day'); CREATE TABLE device_network ( "time" timestamp with time zone NOT NULL, network_in_speed double precision, network_out_speed double precision, deviceid integer, nodeid integer, _host text NOT NULL, _raw text NOT NULL, _source text NOT NULL, _time timestamp with time zone DEFAULT now() NOT NULL ) WITH (orientation=row, compression=no); SELECT create_hypertable('device_network','time',chunk_time_interval => interval '1 day'); 3.执行sql查询: select TIME_BUCKET('1 minute',time::TIMESTAMP) AS timestamp,trunc(SUM(request_total*60)/60) as request_total,trunc(SUM(response_total*60)/60) as response_total,trunc(SUM(business_recursion_request*60)/60) as recursion_request from business WHERE time >= '2025-03-13T10:05:00+08:00' AND time <= '2025-03-13T11:05:00+08:00' AND nodeid in (3,2) group by timestamp order by timestamp asc ; 【预期输出】: 第三步:sql执行无问题 【实际输出】: 第三步:数据库宕机 第一次执行无问题,退出后重新执行宕机  重启后重复执行,宕机  【原因分析】: 1. 这个问题的根因 2. 问题推断过程 3. 还有哪些原因可能造成类似现象 4. 该问题是否有临时规避措施 5. 问题解决方案 6. 预计修复问题时间 【日志信息】(请附上日志文件、截图、coredump信息): 【测试代码】:
【标题描述】:timescaledb插件下执行sql,数据库异常退出 【测试类型:SQL功能】【测试版本:7.0.0】 问题描述:timescaledb插件下执行sql,数据库异常退出 【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a): Linux sdr-0001 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 【测试环境】(单机/1主x备x级联备): 单机 【被测功能】: sql功能 【测试类型】: 功能测试 【数据库版本】(查询命令: gaussdb -V): gsql (openGauss 7.0.0-RC1 build d47a8b78) compiled at 2025-03-05 00:08:52 commit 0 last mr 【预置条件】: pg兼容库下create database format_pg DBCOMPATIBILITY 'b' encoding='utf8'; postgresql.conf修改参数shared_preload_libraries = '$libdir/timescaledb' 【操作步骤】(请填写详细的操作步骤): 1. 登陆pg兼容库,create extension timescaledb; 2. 创建表 CREATE TABLE business ( "time" timestamp with time zone NOT NULL, protocol integer, request_total bigint, request_a bigint, request_aaaa bigint, request_a6 bigint, request_ptr bigint, request_mx bigint, request_ns bigint, request_cname bigint, request_srv bigint, request_soa bigint, request_any bigint, request_txt bigint, request_other bigint, request_svcb bigint, request_https bigint, response_total bigint, response_noerror bigint, response_servfail bigint, response_nxdomain bigint, response_refused bigint, response_other bigint, filter_total bigint, filter_exception_ip bigint, filter_exception_dns bigint, filter_exception_udp bigint, filter_self_check bigint, filter_limit_ip bigint, filter_limit_domain bigint, filter_limit_acl bigint, filter_limit_source_ip bigint, filter_limit_business_ip bigint, filter_limit_request bigint, filter_limit_notrust_domain bigint, filter_attack_amplify bigint, filter_tcp_flood_sync bigint, filter_tcp_flood_ack bigint, filter_udp_flood bigint, filter_icmp_flood bigint, filter_limit_inter_network_blacklist bigint, business_force bigint, business_cache_answer bigint, business_recursion_delay bigint, business_nxr bigint, business_malicious_domain_hijack bigint, business_smart_resolve bigint, business_othernetwork_resolve bigint, business_recursion_request bigint, business_recursion_answer bigint, business_proxy_request bigint, business_proxy_answer bigint, business_forward_request bigint, business_forward_answer bigint, business_edns_process bigint, business_edns_other bigint, backend_cache_bypass bigint, backend_cache_unhit bigint, backend_cache_smart_update bigint, backend_cache_ttl_update bigint, backend_drop_limit bigint, backend_cache_update_limit bigint, business_edns_process_success bigint, business_othernetwork_resolve_success bigint, business_edns_answer bigint, business_edns_forward_request bigint, business_edns_forward_answer bigint, deviceid integer, nodeid integer, _host text NOT NULL, _raw text NOT NULL, _source text NOT NULL, _time timestamp with time zone DEFAULT now() NOT NULL ) WITH (orientation=row, compression=no); SELECT create_hypertable('business','time',chunk_time_interval => interval '1 day'); CREATE TABLE device_network ( "time" timestamp with time zone NOT NULL, network_in_speed double precision, network_out_speed double precision, deviceid integer, nodeid integer, _host text NOT NULL, _raw text NOT NULL, _source text NOT NULL, _time timestamp with time zone DEFAULT now() NOT NULL ) WITH (orientation=row, compression=no); SELECT create_hypertable('device_network','time',chunk_time_interval => interval '1 day'); 3.执行sql查询: select TIME_BUCKET('1 minute',time::TIMESTAMP) AS timestamp,trunc(SUM(request_total*60)/60) as request_total,trunc(SUM(response_total*60)/60) as response_total,trunc(SUM(business_recursion_request*60)/60) as recursion_request from business WHERE time >= '2025-03-13T10:05:00+08:00' AND time <= '2025-03-13T11:05:00+08:00' AND nodeid in (3,2) group by timestamp order by timestamp asc ; 【预期输出】: 第三步:sql执行无问题 【实际输出】: 第三步:数据库宕机 第一次执行无问题,退出后重新执行宕机  重启后重复执行,宕机  【原因分析】: 1. 这个问题的根因 2. 问题推断过程 3. 还有哪些原因可能造成类似现象 4. 该问题是否有临时规避措施 5. 问题解决方案 6. 预计修复问题时间 【日志信息】(请附上日志文件、截图、coredump信息): 【测试代码】:
评论 (
3
)
登录
后才可以发表评论
状态
待办的
待办的
已确认
已答复
已取消
挂起
修复中
已完成
待回归
测试中
已验收
负责人
未设置
lukeman
lukeman
负责人
协作者
+负责人
+协作者
douxin
ywzq1161327784
负责人
协作者
+负责人
+协作者
标签
sig/plugin
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (8)
标签 (11)
master
7.0.0-RC2
6.0.0
5.0.0
7.0.0-RC1
3.0.0
5.1.0
3.1.0
v6.0.2
v6.0.1
v6.0.0
v5.0.3
v5.0.2
v6.0.0-RC1
v5.0.1
v5.1.0
v5.0.0
v3.1.0
v2.1.0
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(2)
1
https://gitee.com/opengauss/Plugin.git
git@gitee.com:opengauss/Plugin.git
opengauss
Plugin
Plugin
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册