How To Install mariadb-bench.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install mariadb-bench.x86_64
on Amazon Linux 2.
What is mariadb-bench.x86_64
MariaDB is a multi-user, multi-threaded SQL database server. This package contains benchmark scripts and data for use when benchmarking MariaDB. MariaDB is a community developed branch of MySQL.
We can use yum
to install mariadb-bench.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install mariadb-bench.x86_64.
Install mariadb-bench.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install mariadb-bench.x86_64
using yum
by running the following command:
sudo yum -y install mariadb-bench.x86_64
How To Uninstall mariadb-bench.x86_64 on Amazon Linux 2
To uninstall only the mariadb-bench.x86_64
package we can use the following command:
sudo yum remove mariadb-bench.x86_64
mariadb-bench.x86_64 Package Contents on Amazon Linux 2
/usr/share/sql-bench
/usr/share/sql-bench/Data
/usr/share/sql-bench/Data/ATIS
/usr/share/sql-bench/Data/ATIS/aircraft.txt
/usr/share/sql-bench/Data/ATIS/airline.txt
/usr/share/sql-bench/Data/ATIS/airport.txt
/usr/share/sql-bench/Data/ATIS/airport_service.txt
/usr/share/sql-bench/Data/ATIS/city.txt
/usr/share/sql-bench/Data/ATIS/class_of_service.txt
/usr/share/sql-bench/Data/ATIS/code_description.txt
/usr/share/sql-bench/Data/ATIS/compound_class.txt
/usr/share/sql-bench/Data/ATIS/connect_leg.txt
/usr/share/sql-bench/Data/ATIS/date_day.txt
/usr/share/sql-bench/Data/ATIS/day_name.txt
/usr/share/sql-bench/Data/ATIS/dual_carrier.txt
/usr/share/sql-bench/Data/ATIS/fare.txt
/usr/share/sql-bench/Data/ATIS/fconnection.txt
/usr/share/sql-bench/Data/ATIS/flight.txt
/usr/share/sql-bench/Data/ATIS/flight_class.txt
/usr/share/sql-bench/Data/ATIS/flight_day.txt
/usr/share/sql-bench/Data/ATIS/flight_fare.txt
/usr/share/sql-bench/Data/ATIS/food_service.txt
/usr/share/sql-bench/Data/ATIS/ground_service.txt
/usr/share/sql-bench/Data/ATIS/month_name.txt
/usr/share/sql-bench/Data/ATIS/restrict_carrier.txt
/usr/share/sql-bench/Data/ATIS/restrict_class.txt
/usr/share/sql-bench/Data/ATIS/restriction.txt
/usr/share/sql-bench/Data/ATIS/state.txt
/usr/share/sql-bench/Data/ATIS/stop.txt
/usr/share/sql-bench/Data/ATIS/stop1.txt
/usr/share/sql-bench/Data/ATIS/time_interval.txt
/usr/share/sql-bench/Data/ATIS/time_zone.txt
/usr/share/sql-bench/Data/ATIS/transport.txt
/usr/share/sql-bench/Data/Wisconsin
/usr/share/sql-bench/Data/Wisconsin/onek.data
/usr/share/sql-bench/Data/Wisconsin/tenk.data
/usr/share/sql-bench/README
/usr/share/sql-bench/bench-count-distinct
/usr/share/sql-bench/bench-init.pl
/usr/share/sql-bench/compare-results
/usr/share/sql-bench/copy-db
/usr/share/sql-bench/crash-me
/usr/share/sql-bench/graph-compare-results
/usr/share/sql-bench/innotest1
/usr/share/sql-bench/innotest1a
/usr/share/sql-bench/innotest1b
/usr/share/sql-bench/innotest2
/usr/share/sql-bench/innotest2a
/usr/share/sql-bench/innotest2b
/usr/share/sql-bench/limits
/usr/share/sql-bench/limits/Adabas.cfg
/usr/share/sql-bench/limits/Informix.cfg
/usr/share/sql-bench/limits/access.cfg
/usr/share/sql-bench/limits/access_odbc.cfg
/usr/share/sql-bench/limits/db2.cfg
/usr/share/sql-bench/limits/empress.cfg
/usr/share/sql-bench/limits/frontbase.cfg
/usr/share/sql-bench/limits/interbase-dialect1.cfg
/usr/share/sql-bench/limits/interbase-dialect3.cfg
/usr/share/sql-bench/limits/interbase-superserver.cfg
/usr/share/sql-bench/limits/interbase.cfg
/usr/share/sql-bench/limits/mimer.cfg
/usr/share/sql-bench/limits/ms-sql.cfg
/usr/share/sql-bench/limits/ms-sql65.cfg
/usr/share/sql-bench/limits/msql.cfg
/usr/share/sql-bench/limits/mysql-3.22.cfg
/usr/share/sql-bench/limits/mysql-3.23.cfg
/usr/share/sql-bench/limits/mysql-4.0.cfg
/usr/share/sql-bench/limits/mysql-4.1.cfg
/usr/share/sql-bench/limits/mysql.cfg
/usr/share/sql-bench/limits/oracle.cfg
/usr/share/sql-bench/limits/pg.cfg
/usr/share/sql-bench/limits/solid-nt4.cfg
/usr/share/sql-bench/limits/solid.cfg
/usr/share/sql-bench/limits/sybase.cfg
/usr/share/sql-bench/myisam.cnf
/usr/share/sql-bench/run-all-tests
/usr/share/sql-bench/server-cfg
/usr/share/sql-bench/test-ATIS
/usr/share/sql-bench/test-alter-table
/usr/share/sql-bench/test-big-tables
/usr/share/sql-bench/test-connect
/usr/share/sql-bench/test-create
/usr/share/sql-bench/test-insert
/usr/share/sql-bench/test-select
/usr/share/sql-bench/test-table-elimination
/usr/share/sql-bench/test-transactions
/usr/share/sql-bench/test-wisconsin
References
Summary
In this tutorial we learn how to install mariadb-bench.x86_64
on Amazon Linux 2 using yum.