이것은 MySQL 과 PostgreSQL 을 위한 multi-threaded benchmarking tool 입니다. C++ 로 작성되었으며, C/C++ client library 를 제공하는 다른 DBMS 로 손쉽게 포팅이 가능합니다.
다음 글은 프로그램 소스 내에 포함된 Install 문서의 내용입니다.
To build and install super-smack:
./configure --with-mysql --with-pgsql
if you have client libraries for both MySQL and PostgreSQL,
if you don\t, keep only the one you have. You may need to specify the
directory explicitly if your client libraries are installed in some
unusual location, eg
./configure --with-mysql=/opt/mysql
If you want to have different locations for the examples directory and/or
data directory, you should use --with-smacks-dir and --with-datadir
respectively. Defaults are /usr/share/smacks and /var/smack-data.
You will need to do this if you do not have root on the machine.
In that case, you should also use --prefix option to change the installation
directory from /usr/local to some path where you can write.
make
su
make install
You may need to modify ownership and/or permissions on /var/smack-data if
you installed as root with defaults, but are running benchmarks as a
non-root Unix user ( recommended). The user you run super-smack as needs to
be able to write to the super-smack data directory ( /var/smack-data) - not
to be confused with MySQL data directory, which is something completely
different.
The build should go smoothly on Linux, with the exception of RedHat 7 with the
default compiler, which is full of bugs. If you have RedHat 7, uninistall the
supplied gcc (with C++ part), and install gcc 2.95.2 instead (with C++
support).
I have not yet done any specific ports, so it may need some tweaking of
the source to make it work on other platforms. Please email me the patches
that you needed to add for your system. When you are finished with the
build/install, read the tutorial and the manual.
|