content_image/871426.jpg content_image/871431.jpg
<img src='content_image/871426.jpg'>

## Usage 

perl ndb_size.pl [--database={ db_name |ALL}] [--hostname= host [: port ]] [--socket= socket ] \ [--user= user ] [--password= password ] \ [--help|-h] [--format={html|text}] \ [--loadqueries= file_name ] [--savequeries= file_name ] 

By default, this utility attempts to analyze all databases on the server. You can specify a single database using the --database  option; the default behavior can be made explicit by using ALL  for the name of the database. You can also exclude one or more databases by using the --excludedbs  option with a comma-separated list of the names of the databases to be skipped. Similarly, you can cause specific tables to be skipped by listing their names, separated by commas, following the optional -- excludetables  option. A host name can be specified using --hostname ; the default is localhost . You can specify a port in addition to the host using host : port  format for the value of --hostname . The default port number is 3306. If necessary, you can also specify a socket; the default is /var/lib/ mysql.sock . A MySQL user name and password can be specified the corresponding options shown. It also possible to control the format of the output using the --format  option; this can take either of the values html  or text , with text  being the default. An example of the text output is shown here: 

shell> ndb_size.pl --database=test --socket=/tmp/mysql.sock ndb_size.pl report for database: ’test’ (1 tables) -------------------------------------------------- Connected to: DBI:mysql:host=localhost;mysql_socket=/tmp/mysql.sock Including information for versions: 4.1, 5.0, 5.1 test.t1 ------- 

<img src='content_image/871431.jpg'>

