Oracle 5.0 Reference Manual page 201

Table of Contents

Advertisement

To tune the system, the proper parameter values to use depend on the number of users accessing the
application or database and size the of the database (that is, the used buffer pool). The following kernel
parameters can be set with idtune:
(recommended setting: 128MB) and
SHMMAX
have an influence on the MySQL database engine to create user buffer pools.
and
NOFILES
MAXUP
should be set to at least 3000/4000 (depends on number of users) or more.
MAXPROC
• The following formulas are recommended to calculate values for SEMMSL, SEMMNS, and SEMMNU:
SEMMSL = 13
13 is what has been found to be the best for both Progress and MySQL.
SEMMNS = SEMMSL *
number of db servers to be run on the system
Set
to the value of
SEMMNS
you are running on the system at one time.
SEMMNU = SEMMNS
Set the value of
SEMMNU
SEMMNS, but this is a conservative estimate.
You need to at least install the SCO OpenServer Linker and Application Development Libraries or the
OpenServer Development System to use gcc. You cannot use the GCC Dev system without installing
one of these.
You should get the FSU Pthreads package and install it first. This can be found at
moss.csc.ncsu.edu/~mueller/ftp/pub/PART/pthreads.tar.gz. You can also get a precompiled package
from ftp://ftp.zenez.com/pub/zenez/prgms/FSU-threads-3.14.tar.gz.
FSU Pthreads can be compiled with SCO Unix 4.2 with tcpip, or using OpenServer 3.0 or Open
Desktop 3.0 (OS 3.0 ODT 3.0) with the SCO Development System installed using a good port of GCC
2.5.x. For ODT or OS 3.0, you need a good port of GCC 2.5.x. There are a lot of problems without a
good port. The port for this product requires the SCO Unix Development system. Without it, you are
missing the libraries and the linker that is needed. You also need SCO-3.2v4.2-includes.tar.gz.
This file contains the changes to the SCO Development include files that are needed to get MySQL to
build. You need to replace the existing system include files with these modified header files. They can
be obtained from ftp://ftp.zenez.com/pub/zenez/prgms/SCO-3.2v4.2-includes.tar.gz.
To build FSU Pthreads on your system, all you should need to do is run GNU make. The
FSU-threads-3.14.tar.gz is set up to make FSU-threads.
You can run
./configure
This command copies
Makefile.SCO5
To install in the default
directory and run
make
Remember that you must use GNU
Note
If you do not start
open files per process.
With SCO 3.2V4.2, you should use FSU Pthreads version 3.14 or newer. The following
command should work:
Other Unix Notes
should be set to at least 2048.
multiplied by the number of database servers (maximum) that
SEMMSL
to equal the value of SEMMNS. You could probably set this to 75% of
in the
threads/src
to Makefile. Then run make.
directory, log in as root, and then
/usr/include
install.
to build MySQL.
make
mysqld_safe
mysqld
181
(recommended setting: 15). These parameters
SHMSEG
directory and select the SCO OpenServer option.
as root, you should get only the default 110
writes a note about this in the log file.
http://
Makefile
to the
cd
thread/src
configure
in

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents