ITPub博客

首页 > 数据库 > > 数据库管理工具-gs_testclustercuid

数据库管理工具-gs_testclustercuid

作者:GaussDB_数据库 时间:2020-01-10 09:20:48 0 删除 编辑

GaussDB 100提供了gs_testclustercuid脚本进行数据库拨测。脚本内部执行数据库DDL和DML等操作,以确定其功能是否正常。仅支持分布式部署模式下使用。

语法

  • 执行收集集群运行信息
    gs_testclustercuid [-l LOGFILE]
    显示帮助信息
  • gs_testclustercuid { -? | --help }
    显示版本信息
  • gs_testclustercuid { -V | --version }
    参数说明

gs_testclustercuid参数可以分为如下几类:

  • 通用参数:
    • -l

      指定日志文件及存放路径。

      默认值:$GAUSSLOG/om/gs_testclustercuid.log

    • -?,--help

      显示帮助信息。

    • -V,--version

      显示版本号信息。

示例

  • 查看gs_testclustercuid的帮助信息。
    omm@plat1:/opt/software/gaussdb/script> gs_testclustercuid -?
    gs_checkclusterinfo is a utility to collection cluster's running information.
    Usage:
    gs_testclustercuid [-l LOGFILE]
    General options:
    -l Path of log file, default in cluster log path.
    -?, --help Show help information for this utility, and exit the command line mode.
  • 执行拨测。
    omm@plat1:/opt/software/gaussdb/script> gs_testclustercuid
    Start doing dial test.
    Create test table.
    Successfully create test table.
    Create table's indexes.
    Successfully create table's indexes.
    Insert data into test table.
    Successfully insert data into test table.
    Update data into test table.
    Successfully update data into test table.
    Do query test in test table.
    Successfully doing query test in test table.
    Delete test data.
    Successfully delete test data.
    Add partition in test table.
    Successfully add partition in test table.
    Drop partition in test table.
    Successfully drop partition in test table.
    Drop test table.
    Successfully drop test table.
    Successfully doing dial test.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/69959250/viewspace-3121577/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2020-01-06

  • 博文量
    2907
  • 访问量
    19305