ndb_size.pl — NDBCLUSTER Size Requirement Estimator • --version Display version information and exit. Only user-created NDB Cluster tables may be accessed from MySQL; system tables such as  SYSTAB_0  are not visible to  mysqld . However, you can examine the contents of system tables using  NDB  API applications such as ndb_select_all  (see Section 23.4.24, “ndb_select_all — Print Rows from an NDB Table” ). Prior to NDB 8.0.20, this program printed  NDBT_ProgramExit -  status  upon completion of its run, due to an unnecessary dependency on the  NDBT  testing library. This dependency has been removed, eliminating the extraneous output. This is a Perl script that can be used to estimate the amount of space that would be required by a MySQL database if it were converted to use the  NDBCLUSTER  storage engine. Unlike the other utilities discussed in this section, it does not require access to an NDB Cluster (in fact, there is no reason for it to do so). However, it does need to access the MySQL server on which the database to be tested resides. Note 23.4.28 ndb_size.pl — NDBCLUSTER Size Requirement Estimator Requirements •A running MySQL server. The server instance does not have to provide support for NDB Cluster. •A working installation of Perl. •The  DBI  module, which can be obtained from CPAN if it is not already part of your Perl installation. (Many Linux and other operating system distributions provide their own packages for this library.) •A MySQL user account having the necessary privileges. If you do not wish to use an existing account, then creating one using  GRANT USAGE ON  db_name .* —where  db_name  is the name of the database to be examined—is sufficient for this purpose. ndb_size.pl  can also be found in the MySQL sources in  storage/ndb/tools . Options that can be used with  ndb_size.pl  are shown in the following table. Additional descriptions follow the table. Table 23.48 Command-line options used with the program ndb_size.pl 4419 Format Description Added, Deprecated, or Removed --database=dbname Database or databases to examine; a comma-delimited list; default is ALL (use all databases found on server) (Supported in all NDB releases based on MySQL 8.0) --hostname[:port] Specify host and optional port as host[:port] (Supported in all NDB releases based on MySQL 8.0) Command-Line Format --version