Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
3670c5c6
Commit
3670c5c6
authored
Sep 25, 2003
by
lenz@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.0
into mysql.com:/space/my/mysql-4.0
parents
94e9e042
e92c823c
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
46 additions
and
56 deletions
+46
-56
sql-bench/as3ap.sh
sql-bench/as3ap.sh
+2
-1
sql-bench/bench-count-distinct.sh
sql-bench/bench-count-distinct.sh
+2
-1
sql-bench/bench-init.pl.sh
sql-bench/bench-init.pl.sh
+3
-18
sql-bench/copy-db.sh
sql-bench/copy-db.sh
+2
-1
sql-bench/crash-me.sh
sql-bench/crash-me.sh
+5
-19
sql-bench/innotest1.sh
sql-bench/innotest1.sh
+2
-1
sql-bench/innotest1a.sh
sql-bench/innotest1a.sh
+2
-1
sql-bench/innotest1b.sh
sql-bench/innotest1b.sh
+2
-1
sql-bench/innotest2.sh
sql-bench/innotest2.sh
+2
-1
sql-bench/innotest2a.sh
sql-bench/innotest2a.sh
+2
-1
sql-bench/innotest2b.sh
sql-bench/innotest2b.sh
+2
-1
sql-bench/run-all-tests.sh
sql-bench/run-all-tests.sh
+2
-1
sql-bench/test-ATIS.sh
sql-bench/test-ATIS.sh
+2
-1
sql-bench/test-alter-table.sh
sql-bench/test-alter-table.sh
+2
-1
sql-bench/test-big-tables.sh
sql-bench/test-big-tables.sh
+2
-1
sql-bench/test-connect.sh
sql-bench/test-connect.sh
+2
-1
sql-bench/test-create.sh
sql-bench/test-create.sh
+2
-1
sql-bench/test-insert.sh
sql-bench/test-insert.sh
+2
-1
sql-bench/test-select.sh
sql-bench/test-select.sh
+2
-1
sql-bench/test-transactions.sh
sql-bench/test-transactions.sh
+2
-1
sql-bench/test-wisconsin.sh
sql-bench/test-wisconsin.sh
+2
-1
No files found.
sql-bench/as3ap.sh
View file @
3670c5c6
...
@@ -21,10 +21,11 @@
...
@@ -21,10 +21,11 @@
##################### Standard benchmark inits ##############################
##################### Standard benchmark inits ##############################
use Cwd
;
use DBI
;
use DBI
;
use Benchmark
;
use Benchmark
;
chomp
(
$pwd
=
`
pwd
`
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
$pwd
=
cwd
(
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
$opt_loop_count
=
1
;
$opt_loop_count
=
1
;
...
...
sql-bench/bench-count-distinct.sh
View file @
3670c5c6
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
#
#
##################### Standard benchmark inits ##############################
##################### Standard benchmark inits ##############################
use Cwd
;
use DBI
;
use DBI
;
use Getopt::Long
;
use Getopt::Long
;
use Benchmark
;
use Benchmark
;
...
@@ -30,7 +31,7 @@ $opt_small_loop_count=10;
...
@@ -30,7 +31,7 @@ $opt_small_loop_count=10;
$opt_regions
=
6
;
$opt_regions
=
6
;
$opt_groups
=
100
;
$opt_groups
=
100
;
chomp
(
$pwd
=
`
pwd
`
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
$pwd
=
cwd
(
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
$columns
=
min
(
$limits
->
{
'max_columns'
}
,500,
(
$limits
->
{
'query_size'
}
-50
)
/24,
$columns
=
min
(
$limits
->
{
'max_columns'
}
,500,
(
$limits
->
{
'query_size'
}
-50
)
/24,
...
...
sql-bench/bench-init.pl.sh
View file @
3670c5c6
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
$benchmark_version
=
"2.15"
;
$benchmark_version
=
"2.15"
;
use Getopt::Long
;
use Getopt::Long
;
use POSIX
;
require
"
$pwd
/server-cfg"
||
die
"Can't read Configuration file:
$!
\n
"
;
require
"
$pwd
/server-cfg"
||
die
"Can't read Configuration file:
$!
\n
"
;
...
@@ -417,24 +418,8 @@ sub machine_part
...
@@ -417,24 +418,8 @@ sub machine_part
sub machine
sub machine
{
{
$name
=
`
uname
-s
-r
-m
`
;
my @name
=
POSIX::uname
()
;
if
(
$?
)
my
$name
=
$name
[
0]
.
" "
.
$name
[
2]
.
" "
.
$name
[
4]
;
{
$name
=
`
uname
-s
-m
`
;
}
if
(
$?
)
{
$name
=
`
uname
-s
`
;
}
if
(
$?
)
{
$name
=
`
uname
`
;
}
if
(
$?
)
{
$name
=
"unknown"
;
}
chomp
(
$name
)
;
$name
=
~ s/[
\n\r
]
//g
;
return
$name
;
return
$name
;
}
}
...
...
sql-bench/copy-db.sh
View file @
3670c5c6
...
@@ -22,12 +22,13 @@
...
@@ -22,12 +22,13 @@
$VER
=
"1.0"
;
$VER
=
"1.0"
;
use Getopt::Long
;
use Getopt::Long
;
use Cwd
;
use DBI
;
use DBI
;
$max_row_length
=
500000
;
# Don't create bigger SQL rows that this
$max_row_length
=
500000
;
# Don't create bigger SQL rows that this
$opt_lock
=
1
;
# lock tables
$opt_lock
=
1
;
# lock tables
chomp
(
$pwd
=
`
pwd
`
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
$pwd
=
cwd
(
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
require
"
$pwd
/server-cfg"
||
die
"Can't read Configuration file:
$!
\n
"
;
require
"
$pwd
/server-cfg"
||
die
"Can't read Configuration file:
$!
\n
"
;
...
...
sql-bench/crash-me.sh
View file @
3670c5c6
...
@@ -41,9 +41,11 @@
...
@@ -41,9 +41,11 @@
$version
=
"1.61"
;
$version
=
"1.61"
;
use Cwd
;
use DBI
;
use DBI
;
use Getopt::Long
;
use Getopt::Long
;
chomp
(
$pwd
=
`
pwd
`
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
use POSIX
;
$pwd
=
cwd
()
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
require
"
$pwd
/server-cfg"
||
die
"Can't read Configuration file:
$!
\n
"
;
require
"
$pwd
/server-cfg"
||
die
"Can't read Configuration file:
$!
\n
"
;
$opt_server
=
"mysql"
;
$opt_host
=
"localhost"
;
$opt_database
=
"test"
;
$opt_server
=
"mysql"
;
$opt_host
=
"localhost"
;
$opt_database
=
"test"
;
...
@@ -3247,24 +3249,8 @@ EOF
...
@@ -3247,24 +3249,8 @@ EOF
sub machine
sub machine
{
{
$name
=
`
uname
-s
-r
-m
`
;
my @name
=
POSIX::uname
()
;
if
(
$?
)
my
$name
=
$name
[
0]
.
" "
.
$name
[
2]
.
" "
.
$name
[
4]
;
{
$name
=
`
uname
-s
-m
`
;
}
if
(
$?
)
{
$name
=
`
uname
-s
`
;
}
if
(
$?
)
{
$name
=
`
uname
`
;
}
if
(
$?
)
{
$name
=
"unknown"
;
}
chomp
(
$name
)
;
$name
=
~ s/[
\n\r
]
//g
;
return
$name
;
return
$name
;
}
}
...
...
sql-bench/innotest1.sh
View file @
3670c5c6
...
@@ -5,12 +5,13 @@
...
@@ -5,12 +5,13 @@
#
#
############################################################################
############################################################################
use Cwd
;
use DBI
;
use DBI
;
use Benchmark
;
use Benchmark
;
$opt_loop_count
=
100000
;
$opt_loop_count
=
100000
;
chomp
(
$pwd
=
`
pwd
`
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
$pwd
=
cwd
()
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
print
"Innotest1: MySQL/InnoDB stress test in Perl
\n
"
;
print
"Innotest1: MySQL/InnoDB stress test in Perl
\n
"
;
...
...
sql-bench/innotest1a.sh
View file @
3670c5c6
...
@@ -5,12 +5,13 @@
...
@@ -5,12 +5,13 @@
#
#
############################################################################
############################################################################
use Cwd
;
use DBI
;
use DBI
;
use Benchmark
;
use Benchmark
;
$opt_loop_count
=
200000
;
$opt_loop_count
=
200000
;
chomp
(
$pwd
=
`
pwd
`
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
$pwd
=
cwd
()
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
print
"Innotest1a: MySQL/InnoDB stress test in Perl
\n
"
;
print
"Innotest1a: MySQL/InnoDB stress test in Perl
\n
"
;
...
...
sql-bench/innotest1b.sh
View file @
3670c5c6
...
@@ -5,12 +5,13 @@
...
@@ -5,12 +5,13 @@
#
#
############################################################################
############################################################################
use Cwd
;
use DBI
;
use DBI
;
use Benchmark
;
use Benchmark
;
$opt_loop_count
=
200000
;
$opt_loop_count
=
200000
;
chomp
(
$pwd
=
`
pwd
`
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
$pwd
=
cwd
()
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
print
"Innotest1b: MySQL/InnoDB stress test in Perl
\n
"
;
print
"Innotest1b: MySQL/InnoDB stress test in Perl
\n
"
;
...
...
sql-bench/innotest2.sh
View file @
3670c5c6
...
@@ -5,12 +5,13 @@
...
@@ -5,12 +5,13 @@
#
#
############################################################################
############################################################################
use Cwd
;
use DBI
;
use DBI
;
use Benchmark
;
use Benchmark
;
$opt_loop_count
=
100000
;
$opt_loop_count
=
100000
;
chomp
(
$pwd
=
`
pwd
`
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
$pwd
=
cwd
()
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
print
"Innotest2: MySQL/InnoDB stress test in Perl for FOREIGN keys
\n
"
;
print
"Innotest2: MySQL/InnoDB stress test in Perl for FOREIGN keys
\n
"
;
...
...
sql-bench/innotest2a.sh
View file @
3670c5c6
...
@@ -5,12 +5,13 @@
...
@@ -5,12 +5,13 @@
#
#
############################################################################
############################################################################
use Cwd
;
use DBI
;
use DBI
;
use Benchmark
;
use Benchmark
;
$opt_loop_count
=
100000
;
$opt_loop_count
=
100000
;
chomp
(
$pwd
=
`
pwd
`
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
$pwd
=
cwd
()
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
print
"Innotest2a: MySQL/InnoDB stress test in Perl for FOREIGN keys
\n
"
;
print
"Innotest2a: MySQL/InnoDB stress test in Perl for FOREIGN keys
\n
"
;
...
...
sql-bench/innotest2b.sh
View file @
3670c5c6
...
@@ -5,12 +5,13 @@
...
@@ -5,12 +5,13 @@
#
#
############################################################################
############################################################################
use Cwd
;
use DBI
;
use DBI
;
use Benchmark
;
use Benchmark
;
$opt_loop_count
=
100000
;
$opt_loop_count
=
100000
;
chomp
(
$pwd
=
`
pwd
`
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
$pwd
=
cwd
()
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
print
"Innotest2b: MySQL/InnoDB stress test in Perl for FOREIGN keys
\n
"
;
print
"Innotest2b: MySQL/InnoDB stress test in Perl for FOREIGN keys
\n
"
;
...
...
sql-bench/run-all-tests.sh
View file @
3670c5c6
...
@@ -34,11 +34,12 @@
...
@@ -34,11 +34,12 @@
# --log ==> puts output in output/RUN-server-machine-cmp-$opt_cmp
# --log ==> puts output in output/RUN-server-machine-cmp-$opt_cmp
use DBI
;
use DBI
;
use Cwd
;
$opt_silent
=
1
;
# Don't write header
$opt_silent
=
1
;
# Don't write header
@ORG_ARGV
=
@ARGV
;
@ORG_ARGV
=
@ARGV
;
chomp
(
$pwd
=
`
pwd
`
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
$pwd
=
cwd
(
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
$opt_silent
=
0
;
$opt_silent
=
0
;
$perl
=
$^
X
;
$perl
=
$^
X
;
...
...
sql-bench/test-ATIS.sh
View file @
3670c5c6
...
@@ -24,12 +24,13 @@
...
@@ -24,12 +24,13 @@
# - skip a couple of the tests in Q4 that Oracle doesn't understand
# - skip a couple of the tests in Q4 that Oracle doesn't understand
################### Standard benchmark inits ##############################
################### Standard benchmark inits ##############################
use Cwd
;
use DBI
;
use DBI
;
use Benchmark
;
use Benchmark
;
$opt_loop_count
=
100
;
# Run selects this many times
$opt_loop_count
=
100
;
# Run selects this many times
chomp
(
$pwd
=
`
pwd
`
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
$pwd
=
cwd
(
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
if
(
$opt_small_test
)
if
(
$opt_small_test
)
...
...
sql-bench/test-alter-table.sh
View file @
3670c5c6
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
#
#
##################### Standard benchmark inits ##############################
##################### Standard benchmark inits ##############################
use Cwd
;
use DBI
;
use DBI
;
use Benchmark
;
use Benchmark
;
...
@@ -29,7 +30,7 @@ $opt_row_count=1000; # Rows in the table
...
@@ -29,7 +30,7 @@ $opt_row_count=1000; # Rows in the table
$opt_field_count
=
1000
;
# Add until this many fields.
$opt_field_count
=
1000
;
# Add until this many fields.
$opt_time_limit
=
10
*
60
;
# Don't wait more than 10 min for some tests
$opt_time_limit
=
10
*
60
;
# Don't wait more than 10 min for some tests
chomp
(
$pwd
=
`
pwd
`
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
$pwd
=
cwd
(
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
$opt_field_count
=
min
(
$opt_field_count
,
$limits
->
{
'max_columns'
}
,
$opt_field_count
=
min
(
$opt_field_count
,
$limits
->
{
'max_columns'
}
,
...
...
sql-bench/test-big-tables.sh
View file @
3670c5c6
...
@@ -21,13 +21,14 @@
...
@@ -21,13 +21,14 @@
##################### Standard benchmark inits ##############################
##################### Standard benchmark inits ##############################
use Cwd
;
use DBI
;
use DBI
;
use Benchmark
;
use Benchmark
;
$opt_loop_count
=
1000
;
# Change this to make test harder/easier
$opt_loop_count
=
1000
;
# Change this to make test harder/easier
$opt_field_count
=
1000
;
$opt_field_count
=
1000
;
chomp
(
$pwd
=
`
pwd
`
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
$pwd
=
cwd
(
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
$opt_field_count
=
min
(
$opt_field_count
,
$limits
->
{
'max_columns'
}
,
$opt_field_count
=
min
(
$opt_field_count
,
$limits
->
{
'max_columns'
}
,
...
...
sql-bench/test-connect.sh
View file @
3670c5c6
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
# by using option --loop_value='what_ever_you_like'.
# by using option --loop_value='what_ever_you_like'.
##################### Standard benchmark inits ##############################
##################### Standard benchmark inits ##############################
use Cwd
;
use DBI
;
use DBI
;
use Benchmark
;
use Benchmark
;
...
@@ -31,7 +32,7 @@ $opt_loop_count=100000; # Change this to make test harder/easier
...
@@ -31,7 +32,7 @@ $opt_loop_count=100000; # Change this to make test harder/easier
$str_length
=
65000
;
# This is the length of blob strings in PART:5
$str_length
=
65000
;
# This is the length of blob strings in PART:5
$max_test
=
20
;
# How many times to test if the server is busy
$max_test
=
20
;
# How many times to test if the server is busy
chomp
(
$pwd
=
`
pwd
`
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
$pwd
=
cwd
(
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
# This is the length of blob strings in PART:5
# This is the length of blob strings in PART:5
...
...
sql-bench/test-create.sh
View file @
3670c5c6
...
@@ -30,13 +30,14 @@
...
@@ -30,13 +30,14 @@
##################### Standard benchmark inits ##############################
##################### Standard benchmark inits ##############################
use Cwd
;
use DBI
;
use DBI
;
use Benchmark
;
use Benchmark
;
$opt_loop_count
=
10000
;
# Change this to make test harder/easier
$opt_loop_count
=
10000
;
# Change this to make test harder/easier
# This is the default value for the amount of tables used in this test.
# This is the default value for the amount of tables used in this test.
chomp
(
$pwd
=
`
pwd
`
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
$pwd
=
cwd
(
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
$create_loop_count
=
$opt_loop_count
;
$create_loop_count
=
$opt_loop_count
;
...
...
sql-bench/test-insert.sh
View file @
3670c5c6
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
#
#
##################### Standard benchmark inits ##############################
##################### Standard benchmark inits ##############################
use Cwd
;
use DBI
;
use DBI
;
use Benchmark
;
use Benchmark
;
use Data::Dumper
;
use Data::Dumper
;
...
@@ -38,7 +39,7 @@ $range_loop_count=$small_loop_count*50;
...
@@ -38,7 +39,7 @@ $range_loop_count=$small_loop_count*50;
$many_keys_loop_count
=
$opt_loop_count
;
$many_keys_loop_count
=
$opt_loop_count
;
$opt_read_key_loop_count
=
$opt_loop_count
;
$opt_read_key_loop_count
=
$opt_loop_count
;
chomp
(
$pwd
=
`
pwd
`
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
$pwd
=
cwd
(
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
if
(
$opt_small_test
)
if
(
$opt_small_test
)
...
...
sql-bench/test-select.sh
View file @
3670c5c6
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
#
#
##################### Standard benchmark inits ##############################
##################### Standard benchmark inits ##############################
use Cwd
;
use DBI
;
use DBI
;
use Getopt::Long
;
use Getopt::Long
;
use Benchmark
;
use Benchmark
;
...
@@ -30,7 +31,7 @@ $opt_small_loop_count=10;
...
@@ -30,7 +31,7 @@ $opt_small_loop_count=10;
$opt_regions
=
6
;
$opt_regions
=
6
;
$opt_groups
=
100
;
$opt_groups
=
100
;
chomp
(
$pwd
=
`
pwd
`
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
$pwd
=
cwd
(
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
$columns
=
min
(
$limits
->
{
'max_columns'
}
,500,
(
$limits
->
{
'query_size'
}
-50
)
/24,
$columns
=
min
(
$limits
->
{
'max_columns'
}
,500,
(
$limits
->
{
'query_size'
}
-50
)
/24,
...
...
sql-bench/test-transactions.sh
View file @
3670c5c6
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
##################### Standard benchmark inits ##############################
##################### Standard benchmark inits ##############################
use Cwd
;
use DBI
;
use DBI
;
use Benchmark
;
use Benchmark
;
#use warnings;
#use warnings;
...
@@ -30,7 +31,7 @@ $opt_groups=27; # Characters are 'A' -> Z
...
@@ -30,7 +31,7 @@ $opt_groups=27; # Characters are 'A' -> Z
$opt_loop_count
=
10000
;
# Change this to make test harder/easier
$opt_loop_count
=
10000
;
# Change this to make test harder/easier
$opt_medium_loop_count
=
100
;
# Change this to make test harder/easier
$opt_medium_loop_count
=
100
;
# Change this to make test harder/easier
chomp
(
$pwd
=
`
pwd
`
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
$pwd
=
cwd
(
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
# Avoid warnings for variables in bench-init.pl
# Avoid warnings for variables in bench-init.pl
...
...
sql-bench/test-wisconsin.sh
View file @
3670c5c6
...
@@ -17,12 +17,13 @@
...
@@ -17,12 +17,13 @@
# MA 02111-1307, USA
# MA 02111-1307, USA
#
#
use Cwd
;
use DBI
;
use DBI
;
use Benchmark
;
use Benchmark
;
$opt_loop_count
=
10
;
$opt_loop_count
=
10
;
chomp
(
$pwd
=
`
pwd
`
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
$pwd
=
cwd
(
)
;
$pwd
=
"."
if
(
$pwd
eq
''
)
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
require
"
$pwd
/bench-init.pl"
||
die
"Can't read Configuration file:
$!
\n
"
;
$into_table
=
""
;
$into_table
=
""
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment