Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dbscan(1) [centos man page]

DBSCAN(1)						      General Commands Manual							 DBSCAN(1)

NAME
dbscan - scans a Directory Server database index file and dumps the contents SYNOPSIS
dbscan -f <filename> [-R] [-t <size>] [-K <entry_id>] [-k <key>] [-l <size>] [-G <n>] [-n] [-r] [-s] DESCRIPTION
Scans a Directory Server database index file and dumps the contents. OPTIONS
A summary of options is included below: -f <filename> specify db file -R dump as raw data -t <size> entry truncate size (bytes) entry file options: -K <entry_id> lookup only a specific entry id index file options: -k <key> lookup only a specific key -l <size> max length of dumped id list (default 4096; 40 bytes <= size <= 1048576 bytes) -G <n> only display index entries with more than <n> ids -n display ID list lengths -r display the conents of ID list -s Summary of index counts USAGE
Sample usages: Dump the entry file: dbscan -f id2entry.db4 Display index keys in cn.db4: dbscan -f cn.db4 Display index keys and the count of entries having the key in mail.db4: dbscan -r -f mail.db4 Display index keys and the IDs having more than 20 IDs in sn.db4: dbscan -r -G 20 -f sn.db4 Display summary of objectclass.db4: dbscan -f objectclass.db4 AUTHOR
dbscan was written by the 389 Project. REPORTING BUGS
Report bugs to http://bugzilla.redhat.com. COPYRIGHT
Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. Copyright (C) 2008 Red Hat, Inc. This manual page was written by Michele Baldessari <michele@pupazzo.org>, for the Debian project (but may be used by others). This is free software. You may redistribute copies of it under the terms of the Directory Server license found in the LICENSE file of this software distribution. This license is essentially the GNU General Public License version 2 with an exception for plug-in distribution. May 18, 2008 DBSCAN(1)

Check Out this Related Man Page

MYISAM_FTDUMP(1)					       MySQL Database System						  MYISAM_FTDUMP(1)

NAME
myisam_ftdump - display full-text index information SYNOPSIS
myisam_ftdump [options] tbl_name index_num DESCRIPTION
myisam_ftdump displays information about FULLTEXT indexes in MyISAM tables. It reads the MyISAM index file directly, so it must be run on the server host where the table is located. Before using myisam_ftdump, be sure to issue a FLUSH TABLES statement first if the server is running. myisam_ftdump scans and dumps the entire index, which is not particularly fast. On the other hand, the distribution of words changes infrequently, so it need not be run often. Invoke myisam_ftdump like this: shell> myisam_ftdump [options] tbl_name index_num The tbl_name argument should be the name of a MyISAM table. You can also specify a table by naming its index file (the file with the .MYI suffix). If you do not invoke myisam_ftdump in the directory where the table files are located, the table or index file name must be preceded by the path name to the table's database directory. Index numbers begin with 0. Example: Suppose that the test database contains a table named mytexttablel that has the following definition: CREATE TABLE mytexttable ( id INT NOT NULL, txt TEXT NOT NULL, PRIMARY KEY (id), FULLTEXT (txt) ); The index on id is index 0 and the FULLTEXT index on txt is index 1. If your working directory is the test database directory, invoke myisam_ftdump as follows: shell> myisam_ftdump mytexttable 1 If the path name to the test database directory is /usr/local/mysql/data/test, you can also specify the table name argument using that path name. This is useful if you do not invoke myisam_ftdump in the database directory: shell> myisam_ftdump /usr/local/mysql/data/test/mytexttable 1 You can use myisam_ftdump to generate a list of index entries in order of frequency of occurrence like this: shell> myisam_ftdump -c mytexttable 1 | sort -r myisam_ftdump supports the following options: o --help, -h -? Display a help message and exit. o --count, -c Calculate per-word statistics (counts and global weights). o --dump, -d Dump the index, including data offsets and word weights. o --length, -l Report the length distribution. o --stats, -s Report global index statistics. This is the default operation if no other operation is specified. o --verbose, -v Verbose mode. Print more output about what the program does. COPYRIGHT
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc. This documentation is free software; you can redistribute it and/or modify it only 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/. 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
Sun Microsystems, Inc. (http://www.mysql.com/). MySQL 5.1 04/06/2010 MYISAM_FTDUMP(1)
Man Page