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

MySQL 8.4 参考手册 · 中文镜像

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

打开官方英文原文 ↗

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

MySQL 8.4 参考手册 / 25 MySQL NDB 集群 8.4 / 25.5 NDB 集群程序 / 25.5.18 ndb_print_file — 打印 NDB 磁盘数据文件内容
中文点击中文段落可显示 / 隐藏英文原文本页译文覆盖 67%

25.5.18 ndb_print_file — 打印 NDB 磁盘数据文件内容25.5.18 ndb_print_file — Print NDB Disk Data File Contents

ndb_print_file 从 NDB 集群磁盘数据文件中获取信息。ndb_print_file obtains information from an NDB Cluster Disk Data file.

用法Usage

ndb_print_file [-v] [-q] file_name+

file_name 是 NDB 集群磁盘数据文件的名称。可以接受多个文件名,用空格分隔。file_name is the name of an NDB Cluster Disk Data file. Multiple filenames are accepted, separated by spaces.

像 ndb_print_schema_file 和 ndb_print_sys_file(与大多数其他 NDB 实用程序不同,这些实用程序通常在管理服务器主机上运行或连接到管理服务器),ndb_print_file 必须在 NDB 集群数据节点上运行,因为它直接访问数据节点文件系统。由于它不使用管理服务器,因此当管理服务器未运行,甚至当集群已完全关闭时,也可以使用此实用程序。Like ndb_print_schema_file and ndb_print_sys_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_file must be run on an NDB 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.

选项Options

ndb_print_file 支持以下选项:ndb_print_file supports the following options:

  • --file-key, -K

    命令行格式Command-Line Format --file-key=hex_data

    从 stdin、tty 或 my.cnf 文件提供文件系统加密或解密密钥。Supply file system encryption or decryption key from stdin, tty, or a my.cnf file.

  • --file-key-from-stdin

    命令行格式Command-Line Format --file-key-from-stdin
    类型Type 布尔Boolean
    默认值Default Value FALSE
    有效值Valid Values TRUE

    从 stdin 提供文件系统加密或解密密钥。Supply file system encryption or decryption key from stdin.

  • --help, -h, -?

    命令行格式Command-Line Format --help--help

    打印帮助信息并退出。Print help message and exit.

  • --quiet, -q

    命令行格式Command-Line Format --quiet

    抑制输出(安静模式)。Suppress output (quiet mode).

  • --usage, -?

    命令行格式Command-Line Format --usage

    打印帮助信息并退出。Print help message and exit.

  • --verbose, -v

    命令行格式Command-Line Format --verbose--verbose

    使输出详细。Make output verbose.

  • --version, -v

    命令行格式Command-Line Format --version

    打印版本信息并退出。Print version information and exit.

有关更多信息,请参见 第 25.6.11 节,“NDB Cluster 磁盘表”。For more information, see Section 25.6.11, “NDB Cluster Disk Data Tables”.