ndb_size.pl man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

NDB_SIZE.PL(1)		     MySQL Database System		NDB_SIZE.PL(1)

NAME
       ndb_size.pl - NDBCluster Size Requirement Estimator

SYNOPSIS
       ndb_size.pl arguments

DESCRIPTION
       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 a MySQL 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.

       Requirements:

       ·  A running MySQL server. The server instance does not have to provide
	  support for MySQL Cluster.

       ·  A working installation of Perl.

       ·  The DBI and HTML::Template modules, both of which can be obtained
	  from CPAN if they are not already part of your Perl installation.
	  (Many Linux and other operating system distributions provide their
	  own packages for one or both of these libraries.)

       ·  The ndb_size.tmpl template file, which you should be able to find in
	  the share/mysql directory of your MySQL installation. This file
	  should be copied or moved into the same directory as ndb_size.pl —
	  if it is not there already — before running the script.

       ·  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 and ndb_size.tmpl can also be found in the MySQL sources in
storage/ndb/tools. If these files are not present in your MySQL installation,
you can obtain them from the [1]MySQLForge project page.

Usage:

   perl ndb_size.pl db_name hostname username password > file_name.html

The command shown connects to the MySQL server at hostname using the account
of the user username having the password password, analyses all of the tables
in database db_name, and generates a report in HTML format which is directed
to the file file_name.html. (Without the redirection, the output is sent to
stdout.) This figure shows partial sample output as viewed in a Web browser:

The output from this script includes:

·  Minimum values for the DataMemory, IndexMemory, MaxNoOfTables,
   MaxNoOfAttributes, MaxNoOfOrderedIndexes, MaxNoOfUniqueHashIndexes, and
   MaxNoOfTriggers configuration parameters required to accommodate the tables
   analysed.

·  Memory requirements for all of the tables, attributes, ordered indexes, and
   unique hash indexes defined in the database.

·  The IndexMemory and DataMemory required per table and table row.

COPYRIGHT
       Copyright 2007-2008 MySQL AB

       This documentation is free software; you can redistribute it and/or
       modify it under the terms of the GNU General Public License as
       published by the Free Software Foundation; version 2 of the License.

       This documentation is distributed in the hope that it will be useful,
       but WITHOUT ANY WARRANTY; without even the implied warranty of
       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
       General Public License for more details.

       You should have received a copy of the GNU General Public License along
       with the program; if not, write to the Free Software Foundation, Inc.,
       51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see
       http://www.gnu.org/licenses/.

REFERENCES
       1. MySQLForge project page
	  http://forge.mysql.com/projects/view.php?id=88

SEE ALSO
       For more information, please refer to the MySQL Reference Manual, which
       may already be installed locally and which is also available online at
       http://dev.mysql.com/doc/.

AUTHOR
       MySQL AB (http://www.mysql.com/).

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌────────────────────┬────────────────────────────────────┐
       │  ATTRIBUTE TYPE    │	       ATTRIBUTE VALUE		 │
       ├────────────────────┼────────────────────────────────────┤
       │Availability	    │ SUNWmysqlr, SUNWmysqlu, SUNWmysqlt │
       ├────────────────────┼────────────────────────────────────┤
       │Interface Stability │ Obsolete External			 │
       └────────────────────┴────────────────────────────────────┘
NOTES
       Source for mysql is available in the SUNWmysqlS package.

MySQL 4.1			  04/13/2008			NDB_SIZE.PL(1)
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net