2026-03-12 21:01:38

This commit is contained in:
2026-03-12 22:01:38 +01:00
parent 3bd1db26cc
commit 26296b6d6a
336 changed files with 27507 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
> Author home page: [dominicgiles.com](http://www.dominicgiles.com)
>
Install JDK
```bash
dnf install java-1.8.0-openjdk.x86_64
```
Create linux user and directories for Data Generator & Swing Bench
```bash
groupadd orabench
useradd orabench -g orabench -G orabench
mkdir -p /app/datagenerator
mkdir -p /app/swingbench
chown -R orabench:orabench /app/datagenerator /app/swingbench
```
Download and run Data Generator
```bash
su - orabench
wget http://www.dominicgiles.com/swingbench/datageneratorlatest.zip
unzip datageneratorlatest.zip
rm -rf datageneratorlatest.zip
mv datagenerator stable
export DISPLAY=<your_X_server_IP>:0.0
/app/datagenerator/stable/bin/datagenerator
```
Depending of schemas to install, create corresponding schemas/tablespaces
```sql
create bigfile tablespace SH datafile size 64M autoextend ON next 64M;
create user SH identified by SH default tablespace SH;
grant connect,resource to SH;
create bigfile tablespace SOE datafile size 64M autoextend ON next 64M;
create user SOE identified by SOE default tablespace SOE;
grant connect,resource to SOE;
```
Download and run Swing Bench
```bash
cd /app/swingbench/
wget https://github.com/domgiles/swingbench-public/releases/download/production/swingbenchlatest.zip
unzip swingbenchlatest.zip
rm -rf swingbenchlatest.zip
mv swingbench stable
/app/swingbench/stable/bin/swingbench
```