Consistency cleanup (no space before a % percentage).

Little language/grammar fixup.
parent 12f9623b
...@@ -9052,7 +9052,7 @@ kernel 2.2.13-SMP, Compaq C compiler (V6.2-504) and Compaq C++ compiler ...@@ -9052,7 +9052,7 @@ kernel 2.2.13-SMP, Compaq C compiler (V6.2-504) and Compaq C++ compiler
You can find the above compilers at You can find the above compilers at
@uref{http://www.support.compaq.com/alpha-tools/}). By using these compilers, @uref{http://www.support.compaq.com/alpha-tools/}). By using these compilers,
instead of gcc, we get about 9-14 % better performance with MySQL. instead of gcc, we get about 9-14% better performance with MySQL.
Note that the configure line optimised the binary for the current CPU; this Note that the configure line optimised the binary for the current CPU; this
means you can only use our binary if you have an Alpha EV6 processor. We also means you can only use our binary if you have an Alpha EV6 processor. We also
...@@ -9761,7 +9761,7 @@ CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" \ ...@@ -9761,7 +9761,7 @@ CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" \
./configure --prefix=/usr/local/mysql --with-low-memory --enable-assembler ./configure --prefix=/usr/local/mysql --with-low-memory --enable-assembler
@end example @end example
If you have an UltraSPARC, you can get 4 % more performance by adding If you have an UltraSPARC, you can get 4% more performance by adding
"-mcpu=v8 -Wa,-xarch=v8plusa" to CFLAGS and CXXFLAGS. "-mcpu=v8 -Wa,-xarch=v8plusa" to CFLAGS and CXXFLAGS.
If you have Sun Workshop (Fortre) 5.3 (or newer) compiler, you can If you have Sun Workshop (Fortre) 5.3 (or newer) compiler, you can
...@@ -9773,7 +9773,7 @@ CXX=CC CXXFLAGS="-noex -xO4 -mt" \ ...@@ -9773,7 +9773,7 @@ CXX=CC CXXFLAGS="-noex -xO4 -mt" \
./configure --prefix=/usr/local/mysql --enable-assembler ./configure --prefix=/usr/local/mysql --enable-assembler
@end example @end example
In the MySQL benchmarks, we got a 6 % speedup on an UltraSPARC when In the MySQL benchmarks, we got a 6% speedup on an UltraSPARC when
using Sun Workshop 5.3 compared to using gcc with -mcpu flags. using Sun Workshop 5.3 compared to using gcc with -mcpu flags.
If you get a problem with @code{fdatasync} or @code{sched_yield}, If you get a problem with @code{fdatasync} or @code{sched_yield},
...@@ -17767,7 +17767,7 @@ The different check types stand for the following: ...@@ -17767,7 +17767,7 @@ The different check types stand for the following:
@item @code{FAST} @tab Only check tables which haven't been closed properly. @item @code{FAST} @tab Only check tables which haven't been closed properly.
@item @code{CHANGED} @tab Only check tables which have been changed since last check or haven't been closed properly. @item @code{CHANGED} @tab Only check tables which have been changed since last check or haven't been closed properly.
@item @code{MEDIUM} @tab Scan rows to verify that deleted links are okay. This also calculates a key checksum for the rows and verifies this with a calcualted checksum for the keys. @item @code{MEDIUM} @tab Scan rows to verify that deleted links are okay. This also calculates a key checksum for the rows and verifies this with a calcualted checksum for the keys.
@item @code{EXTENDED} @tab Do a full key lookup for all keys for each row. This ensures that the table is 100 % consistent, but will take a long time! @item @code{EXTENDED} @tab Do a full key lookup for all keys for each row. This ensures that the table is 100% consistent, but will take a long time!
@end multitable @end multitable
For dynamically sized @code{MyISAM} tables a started check will always For dynamically sized @code{MyISAM} tables a started check will always
...@@ -26844,7 +26844,7 @@ would be available. Some of the cases where this happens are: ...@@ -26844,7 +26844,7 @@ would be available. Some of the cases where this happens are:
@itemize @bullet @itemize @bullet
@item @item
If the use of the index would require MySQL to access more If the use of the index would require MySQL to access more
than 30 % of the rows in the table. (In this case a table scan is than 30% of the rows in the table. (In this case a table scan is
probably much faster, as this will require us to do much fewer seeks.) probably much faster, as this will require us to do much fewer seeks.)
Note that if such a query uses @code{LIMIT} to only retrieve Note that if such a query uses @code{LIMIT} to only retrieve
part of the rows, MySQL will use an index anyway, as it can part of the rows, MySQL will use an index anyway, as it can
...@@ -27326,7 +27326,7 @@ use the compiler option that you want the resulting code to be working on ...@@ -27326,7 +27326,7 @@ use the compiler option that you want the resulting code to be working on
all x586 type processors (like AMD). all x586 type processors (like AMD).
By just using a better compiler and/or better compiler options you can By just using a better compiler and/or better compiler options you can
get a 10-30 % speed increase in your application. This is particularly get a 10-30% speed increase in your application. This is particularly
important if you compile the SQL server yourself! important if you compile the SQL server yourself!
We have tested both the Cygnus CodeFusion and Fujitsu compilers, but We have tested both the Cygnus CodeFusion and Fujitsu compilers, but
...@@ -27352,7 +27352,7 @@ performance. ...@@ -27352,7 +27352,7 @@ performance.
@item @item
If you strip your @code{mysqld} binary with @code{strip libexec/mysqld}, If you strip your @code{mysqld} binary with @code{strip libexec/mysqld},
the resulting binary can be up to 4 % faster. the resulting binary can be up to 4% faster.
@item @item
If you connect using TCP/IP rather than Unix sockets, the result is 7.5% If you connect using TCP/IP rather than Unix sockets, the result is 7.5%
...@@ -27361,27 +27361,27 @@ MySQL will, by default, use sockets.) ...@@ -27361,27 +27361,27 @@ MySQL will, by default, use sockets.)
@item @item
If you connect using TCP/IP from another computer over a 100M Ethernet, If you connect using TCP/IP from another computer over a 100M Ethernet,
things will be 8-11 % slower. things will be 8-11% slower.
@item @item
When running our benchmark with secure connections (all data encrypted When running our benchmark tests using secure connections (all data
with internal ssl support) things where 55 % slower. encrypted with internal SSL support) things were 55% slower.
@item @item
If you compile with @code{--with-debug=full}, then you will loose 20 % If you compile with @code{--with-debug=full}, then you will loose 20%
for most queries, but some queries may take substantially longer (The for most queries, but some queries may take substantially longer (The
MySQL benchmarks ran 35 % slower) MySQL benchmarks ran 35% slower)
If you use @code{--with-debug}, then you will only loose 15 %. If you use @code{--with-debug}, then you will only loose 15%.
By starting a @code{mysqld} version compiled with @code{--with-debug=full} By starting a @code{mysqld} version compiled with @code{--with-debug=full}
with @code{--skip-safemalloc} the end result should be close to when with @code{--skip-safemalloc} the end result should be close to when
configuring with @code{--with-debug}. configuring with @code{--with-debug}.
@item @item
On a Sun SPARCstation 20, SunPro C++ 4.2 is 5 % faster than @code{gcc} 2.95.2. On a Sun SPARCstation 20, SunPro C++ 4.2 is 5% faster than @code{gcc} 2.95.2.
@item @item
Compiling with @code{gcc} 2.95.2 for UltraSPARC with the option Compiling with @code{gcc} 2.95.2 for UltraSPARC with the option
@code{-mcpu=v8 -Wa,-xarch=v8plusa} gives 4 % more performance. @code{-mcpu=v8 -Wa,-xarch=v8plusa} gives 4% more performance.
@item @item
On Solaris 2.5.1, MIT-pthreads is 8-12% slower than Solaris native On Solaris 2.5.1, MIT-pthreads is 8-12% slower than Solaris native
...@@ -27389,7 +27389,7 @@ threads on a single processor. With more load/CPUs the difference should ...@@ -27389,7 +27389,7 @@ threads on a single processor. With more load/CPUs the difference should
get bigger. get bigger.
@item @item
Running with @code{--log-bin} makes @strong{[MySQL} 1 % slower. Running with @code{--log-bin} makes @strong{[MySQL} 1% slower.
@item @item
Compiling on Linux-x86 using gcc without frame pointers Compiling on Linux-x86 using gcc without frame pointers
...@@ -27775,7 +27775,7 @@ option. That makes it skip the updating of the last access time in the ...@@ -27775,7 +27775,7 @@ option. That makes it skip the updating of the last access time in the
inode and by this will avoid some disk seeks. inode and by this will avoid some disk seeks.
@item @item
On Linux, you can get much more performance (up to 100 % under load is On Linux, you can get much more performance (up to 100% under load is
not uncommon) by using hdpram to configure your disk's interface! The not uncommon) by using hdpram to configure your disk's interface! The
following should be quite good hdparm options for MySQL (and following should be quite good hdparm options for MySQL (and
probably many other applications): probably many other applications):
...@@ -37121,7 +37121,7 @@ compression. ...@@ -37121,7 +37121,7 @@ compression.
Internal handling of one @code{AUTO_INCREMENT} column. @code{MyISAM} Internal handling of one @code{AUTO_INCREMENT} column. @code{MyISAM}
will automatically update this on @code{INSERT/UPDATE}. The will automatically update this on @code{INSERT/UPDATE}. The
@code{AUTO_INCREMENT} value can be reset with @code{myisamchk}. This @code{AUTO_INCREMENT} value can be reset with @code{myisamchk}. This
will make @code{AUTO_INCREMENT} columns faster (at least 10 %) and old will make @code{AUTO_INCREMENT} columns faster (at least 10%) and old
numbers will not be reused as with the old @code{ISAM}. Note that when an numbers will not be reused as with the old @code{ISAM}. Note that when an
@code{AUTO_INCREMENT} is defined on the end of a multi-part-key the old @code{AUTO_INCREMENT} is defined on the end of a multi-part-key the old
behavior is still present. behavior is still present.
...@@ -38081,7 +38081,7 @@ innodb_data_home_dir = c:\ibdata ...@@ -38081,7 +38081,7 @@ innodb_data_home_dir = c:\ibdata
# Datafiles must be able to # Datafiles must be able to
# hold your data and indexes # hold your data and indexes
innodb_data_file_path = ibdata1:2000M;ibdata2:2000M innodb_data_file_path = ibdata1:2000M;ibdata2:2000M
# Set buffer pool size to 50 - 80 % # Set buffer pool size to 50 - 80%
# of your computer's memory # of your computer's memory
set-variable = innodb_buffer_pool_size=70M set-variable = innodb_buffer_pool_size=70M
set-variable = innodb_additional_mem_pool_size=10M set-variable = innodb_additional_mem_pool_size=10M
...@@ -38092,7 +38092,7 @@ innodb_log_arch_dir = c:\iblogs ...@@ -38092,7 +38092,7 @@ innodb_log_arch_dir = c:\iblogs
innodb_log_archive=0 innodb_log_archive=0
set-variable = innodb_log_files_in_group=3 set-variable = innodb_log_files_in_group=3
# Set the log file-size to about # Set the log file-size to about
# 15 % of the buffer pool size # 15% of the buffer pool size
set-variable = innodb_log_file_size=10M set-variable = innodb_log_file_size=10M
set-variable = innodb_log_buffer_size=8M set-variable = innodb_log_buffer_size=8M
# Set ..flush_log_at_trx_commit to # Set ..flush_log_at_trx_commit to
...@@ -38181,7 +38181,7 @@ innodb_data_home_dir = / ...@@ -38181,7 +38181,7 @@ innodb_data_home_dir = /
# Datafiles must be able to # Datafiles must be able to
# hold your data and indexes # hold your data and indexes
innodb_data_file_path = ibdata/ibdata1:2000M;dr2/ibdata/ibdata2:2000M innodb_data_file_path = ibdata/ibdata1:2000M;dr2/ibdata/ibdata2:2000M
# Set buffer pool size to 50 - 80 % # Set buffer pool size to 50 - 80%
# of your computer's memory, but # of your computer's memory, but
# make sure on Linux x86 total # make sure on Linux x86 total
# memory usage is < 2 GB # memory usage is < 2 GB
...@@ -38194,7 +38194,7 @@ innodb_log_arch_dir = /dr3/iblogs ...@@ -38194,7 +38194,7 @@ innodb_log_arch_dir = /dr3/iblogs
innodb_log_archive=0 innodb_log_archive=0
set-variable = innodb_log_files_in_group=3 set-variable = innodb_log_files_in_group=3
# Set the log file-size to about # Set the log file-size to about
# 15 % of the buffer pool size # 15% of the buffer pool size
set-variable = innodb_log_file_size=50M set-variable = innodb_log_file_size=50M
set-variable = innodb_log_buffer_size=8M set-variable = innodb_log_buffer_size=8M
# Set ..flush_log_at_trx_commit to # Set ..flush_log_at_trx_commit to
...@@ -38241,11 +38241,11 @@ Typical values which suit most users are: ...@@ -38241,11 +38241,11 @@ Typical values which suit most users are:
set-variable = max_connections=200 set-variable = max_connections=200
set-variable = record_buffer=1M set-variable = record_buffer=1M
set-variable = sort_buffer=1M set-variable = sort_buffer=1M
# Set key_buffer to 5 - 50 % # Set key_buffer to 5 - 50%
# of your RAM depending on how # of your RAM depending on how
# much you use MyISAM tables, but # much you use MyISAM tables, but
# keep key_buffer + InnoDB # keep key_buffer + InnoDB
# buffer pool size < 80 % of # buffer pool size < 80% of
# your RAM # your RAM
set-variable = key_buffer=... set-variable = key_buffer=...
@end example @end example
...@@ -38315,7 +38315,7 @@ archive InnoDB log files. ...@@ -38315,7 +38315,7 @@ archive InnoDB log files.
The size of the memory buffer InnoDB uses to cache data and indexes of The size of the memory buffer InnoDB uses to cache data and indexes of
its tables. The bigger you set this the less disk I/O is needed to its tables. The bigger you set this the less disk I/O is needed to
access data in tables. On a dedicated database server you may set this access data in tables. On a dedicated database server you may set this
parameter up to 80 % of the machine physical memory size. Do not set it parameter up to 80% of the machine physical memory size. Do not set it
too large, though, because competition of the physical memory may cause too large, though, because competition of the physical memory may cause
paging in the operating system. paging in the operating system.
@item @code{innodb_additional_mem_pool_size} @tab @item @code{innodb_additional_mem_pool_size} @tab
...@@ -38495,7 +38495,7 @@ After all data has been inserted you can rename the tables. ...@@ -38495,7 +38495,7 @@ After all data has been inserted you can rename the tables.
During the conversion of big tables you should set the InnoDB During the conversion of big tables you should set the InnoDB
buffer pool size big buffer pool size big
to reduce disk I/O. Not bigger than 80 % of the physical memory, though. to reduce disk I/O. Not bigger than 80% of the physical memory, though.
You should set InnoDB log files big, and also the log buffer large. You should set InnoDB log files big, and also the log buffer large.
Make sure you do not run out of tablespace: InnoDB tables take a lot Make sure you do not run out of tablespace: InnoDB tables take a lot
...@@ -39113,12 +39113,12 @@ SELECT * FROM t LOCK IN SHARE MODE; ...@@ -39113,12 +39113,12 @@ SELECT * FROM t LOCK IN SHARE MODE;
@strong{1.} @strong{1.}
If the Unix @file{top} or the Windows @file{Task Manager} shows that If the Unix @file{top} or the Windows @file{Task Manager} shows that
the CPU usage percentage with your workload is less than 70 %, the CPU usage percentage with your workload is less than 70%,
your workload is probably your workload is probably
disk-bound. Maybe you are making too many transaction commits, or the disk-bound. Maybe you are making too many transaction commits, or the
buffer pool is too small. buffer pool is too small.
Making the buffer pool bigger can help, but do not set Making the buffer pool bigger can help, but do not set
it bigger than 80 % of physical memory. it bigger than 80% of physical memory.
@strong{2.} @strong{2.}
Wrap several modifications into one transaction. InnoDB must Wrap several modifications into one transaction. InnoDB must
...@@ -40032,7 +40032,7 @@ maintaining this in a separate segment in each BDB table. If you don't ...@@ -40032,7 +40032,7 @@ maintaining this in a separate segment in each BDB table. If you don't
issue a lot of @code{DELETE} or @code{ROLLBACK} statements, this number issue a lot of @code{DELETE} or @code{ROLLBACK} statements, this number
should be accurate enough for the MySQL optimiser, but as MySQL should be accurate enough for the MySQL optimiser, but as MySQL
only stores the number on close, it may be incorrect if MySQL dies only stores the number on close, it may be incorrect if MySQL dies
unexpectedly. It should not be fatal even if this number is not 100 % unexpectedly. It should not be fatal even if this number is not 100%
correct. One can update the number of rows by executing @code{ANALYZE correct. One can update the number of rows by executing @code{ANALYZE
TABLE} or @code{OPTIMIZE TABLE}. @xref{ANALYZE TABLE} . @xref{OPTIMIZE TABLE} or @code{OPTIMIZE TABLE}. @xref{ANALYZE TABLE} . @xref{OPTIMIZE
TABLE}. TABLE}.
...@@ -46991,7 +46991,7 @@ mf_format.o(.text+0x201): undefined reference to `__lxstat' ...@@ -46991,7 +46991,7 @@ mf_format.o(.text+0x201): undefined reference to `__lxstat'
@end example @end example
it usually means that your library is compiled on a system that is not it usually means that your library is compiled on a system that is not
100 % compatible with yours. In this case you should download the 100% compatible with yours. In this case you should download the
latest MySQL source distribution and compile this yourself. latest MySQL source distribution and compile this yourself.
@xref{Installing source}. @xref{Installing source}.
...@@ -50345,7 +50345,7 @@ Fixed core dump when using @code{CREATE ... FULLTEXT} keys with other table ...@@ -50345,7 +50345,7 @@ Fixed core dump when using @code{CREATE ... FULLTEXT} keys with other table
handlers than @code{MyISAM}. handlers than @code{MyISAM}.
@item @item
Don't use @code{signal()} on Windows because this appears to not be Don't use @code{signal()} on Windows because this appears to not be
100 % reliable. 100% reliable.
@item @item
Fixed bug when doing @code{WHERE col_name=NULL} on an indexed column Fixed bug when doing @code{WHERE col_name=NULL} on an indexed column
that had @code{NULL} values. that had @code{NULL} values.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment