MYSQL_FIND_ROWS MySQL Database System MYSQL_FIND_ROWS

2
3
4

NAME

6       mysql_find_rows - extract queries from update log
7

SYNOPSIS

9       mysql_find_rows [options] [file_name ...]
10

DESCRIPTION

12       mysql_find_rows reads update log files and extracts queries that match
13       a given regular expression or that contain USE db_name or SET
14       statements.
15
16       Invoke mysql_find_rows like this:
17
18          shell> mysql_find_rows [options] [file_name ...]
19
20       Each file_name argument should be the name of an updat log file. If no
21       filenames are given, mysql_find_rows reads the standard input.
22
23       Examples:
24
25          mysql_find_rows --regexp=problem_table --rows=20 < update.log
26          mysql_find_rows --regexp=problem_table  update-log.1 update-log.2
27
28       mysql_find_rows supports the following options:
29
30       ·  --help, --Information
31
32          Display a help message and exit.
33
34       ·  --regexp=pattern
35
36          Display queries that match the pattern.
37
38       ·  --rows=N
39
40          Quit after displaying N queries.
41
42       ·  --skip-use-db
43
44          Do not include USE db_name statements in the output.
45
46       ·  --start_row=N
47
48          Start output from this row.
49
51       Copyright 1997-2007 MySQL AB
52
53       This documentation is NOT distributed under a GPL license. Use of this
54       documentation is subject to the following terms: You may create a
55       printed copy of this documentation solely for your own personal use.
56       Conversion to other formats is allowed as long as the actual content is
57       not altered or edited in any way. You shall not publish or distribute
58       this documentation in any form or on any media, except if you
59       distribute the documentation in a manner similar to how MySQL
60       disseminates it (that is, electronically for download on a Web site
61       with the software) or on a CD-ROM or similar medium, provided however
62       that the documentation is disseminated together with the software on
63       the same medium. Any other use, such as any dissemination of printed
64       copies or use of this documentation, in whole or in part, in another
65       publication, requires the prior written consent from an authorized
66       representative of MySQL AB. MySQL AB reserves any and all rights to
67       this documentation not expressly granted above.
68
69       Please email <docs@mysql.com> for more information.
70

SEE ALSO

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

AUTHOR

77       MySQL AB (http://www.mysql.com/).  This software comes with no
78       warranty.
79
80
81

MySQL 5.0 07/04/2007 MYSQL_FIND_ROWS



        
Impressum