当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
170 Star 234 Fork 1.3K

openGauss/docs
暂停

gs_checkperf 命令帮助无法执行

已验收
缺陷
创建于  
2023-04-28 11:57

官网gs_checkperf工具介绍页面命令无法正常执行:

https://docs.opengauss.org/zh/docs/5.0.0/docs/ToolandCommandReference/gs_checkperf.html

需要更正下openGauss 5.0.0 正确的执行方法和注意事项:

[omm@oracle ~]$ gs_checkperf -i pmk -U omm
[GAUSS-51300] : Failed to execute SQL: /data/openGauss/install/app/bin/gsql -U omm -p 15500 -d postgres -X --variable=ON_ERROR_STOP=on -f "/data/openGauss/install/app/share/postgresql/pmk_schema_bak.sql". Error: 
START TRANSACTION
CREATE SCHEMA
gsql:/data/openGauss/install/app/share/postgresql/pmk_schema_bak.sql:12: NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "pmk_configuration_pkey" for table "pmk_configuration"
CREATE TABLE
gsql:/data/openGauss/install/app/share/postgresql/pmk_schema_bak.sql:22: NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "pmk_snapshot_pkey" for table "pmk_snapshot"
CREATE TABLE
CREATE INDEX
gsql:/data/openGauss/install/app/share/postgresql/pmk_schema_bak.sql:79: NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "pmk_snapshot_datanode_stat_pkey" for table "pmk_snapshot_datanode_stat"
CREATE TABLE
CREATE INDEX
gsql:/data/openGauss/install/app/share/postgresql/pmk_schema_bak.sql:90: NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "pmk_meta_data_pkey" for table "pmk_meta_data"
CREATE TABLE
gsql:/data/openGauss/install/app/share/postgresql/pmk_schema_bak.sql:105: ERROR:  autonomous transaction failed to create autonomous session
DETAIL:  FATAL:  Invalid username/password,login denied.

total time: 244  ms
[omm@oracle ~]$

[omm@oracle ~]$ gsql  -p 15500 -d postgres -U omm -W omm@123456 -r 
gsql ((openGauss 5.0.0 build a07d57c3) compiled at 2023-03-29 03:07:56 commit 0 last mr  )
Non-SSL connection (SSL connection is recommended when requiring high-security)
Type "help" for help.

评论 (6)

戴明明 创建了缺陷 2年前
opengauss-bot 添加了
 
sig/docs
标签
2年前
jiexiao1413 优先级设置为不重要 2年前
jiexiao1413 关联项目设置为openGauss 5.1.0 community 2年前
jiexiao1413 负责人设置为liyang 2年前
Will 添加协作者renchaoqian 2年前
liyang 负责人liyang 修改为未设置 2年前
liyang 取消协作者renchaoqian 2年前
liyang 负责人设置为zhangxubo 2年前
Will 添加协作者renchaoqian 2年前
zhangxubo 添加协作者zhangxubo 2年前
zhangxubo 负责人zhangxubo 修改为liuheng 2年前
zhangxubo 取消协作者zhangxubo 2年前

麻烦在机器上执行下 which gs_checkperf

liuheng 任务状态待办的 修改为已确认 2年前
liuheng 任务状态已确认 修改为修复中 2年前
liuheng 任务状态修复中 修改为已确认 2年前

我这边执行没问题输入图片说明

liuheng 任务状态已确认 修改为已完成 2年前

操作能正常执行:
输入图片说明

回归结论:通过
回归版本:7.0.0-RC1 B009
回归日期:2024/12/19
回归截图:输入图片说明

姚雨驰 任务状态已完成 修改为待回归 5个月前
姚雨驰 任务状态待回归 修改为测试中 5个月前
姚雨驰 任务状态测试中 修改为已验收 5个月前

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(6)
5622128 opengauss bot 1581905080 7504334 heng5938 1646112316 houshaolong-daiguatutu 姚雨驰-lonely-dance 戴明明-cndba renchaoqian-yanzi2021
1
https://gitee.com/opengauss/docs.git
git@gitee.com:opengauss/docs.git
opengauss
docs
docs

搜索帮助