文档首页
MySQL 8.4 参考手册
8.4 中文镜像

MySQL 8.4 参考手册 · 中文镜像

正文为中文,英文原文默认隐藏。点击任意中文段落即可展开 / 收起对应英文原文。

打开官方英文原文 ↗

译文由机器翻译生成,仅供理解参考;有疑问请以官方英文原文为准。

MySQL 8.4 参考手册 / 25 MySQL NDB 集群 8.4 / 25.5 NDB 集群程序 / 25.5.21 ndb_print_sys_file — 打印 NDB 系统文件内容
中文点击中文段落可显示 / 隐藏英文原文本页译文覆盖 100%

25.5.21 ndb_print_sys_file — 打印 NDB 系统文件内容25.5.21 ndb_print_sys_file — Print NDB System File Contents

ndb_print_sys_file 从 NDB 集群系统文件获取诊断信息。ndb_print_sys_file obtains diagnostic information from an NDB Cluster system file.

用法Usage

ndb_print_sys_file file_name

file_name 是集群系统文件(sysfile)的名称。集群系统文件位于数据节点的数据目录中(DataDir);该目录下系统文件的路径模式为 ndb_#_fs/D#/DBDIH/P#.sysfile。在每种情况下,# 表示一个数字(不一定相同)。有关更多信息,请参阅 NDB Cluster 数据节点文件系统目录。file_name is the name of a cluster system file (sysfile). Cluster system files are located in a data node's data directory (DataDir); the path under this directory to system files matches the pattern ndb_#_fs/D#/DBDIH/P#.sysfile. In each case, the # represents a number (not necessarily the same number). For more information, see NDB Cluster Data Node File System Directory.

像 ndb_print_backup_file 和 ndb_print_schema_file(与大多数其他 NDB 工具不同,这些工具通常在管理服务器主机上运行或连接到管理服务器),ndb_print_backup_file 必须在集群数据节点上运行,因为它直接访问数据节点的文件系统。由于它不使用管理服务器,因此当管理服务器未运行时,甚至当集群已完全关闭时,也可以使用此工具。Like ndb_print_backup_file and ndb_print_schema_file (and unlike most of the other NDB utilities that are intended to be run on a management server host or to connect to a management server) ndb_print_backup_file must be run on a cluster data node, since it accesses the data node file system directly. Because it does not make use of the management server, this utility can be used when the management server is not running, and even when the cluster has been completely shut down.

附加选项Additional Options

无。None.