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
82aa5753
Commit
82aa5753
authored
Dec 12, 2014
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into releases/tokudb-7.5
parents
a25c436a
71764ccb
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
38 additions
and
38 deletions
+38
-38
mysql-test/suite/tokudb/t/bf_create_select.test
mysql-test/suite/tokudb/t/bf_create_select.test
+4
-4
mysql-test/suite/tokudb/t/bf_create_select_hash_part.test
mysql-test/suite/tokudb/t/bf_create_select_hash_part.test
+4
-4
mysql-test/suite/tokudb/t/bf_create_select_range_part.test
mysql-test/suite/tokudb/t/bf_create_select_range_part.test
+4
-4
mysql-test/suite/tokudb/t/bf_create_temp_select.test
mysql-test/suite/tokudb/t/bf_create_temp_select.test
+4
-4
mysql-test/suite/tokudb/t/bf_delete.test
mysql-test/suite/tokudb/t/bf_delete.test
+3
-4
mysql-test/suite/tokudb/t/bf_insert_select.test
mysql-test/suite/tokudb/t/bf_insert_select.test
+3
-3
mysql-test/suite/tokudb/t/bf_insert_select_dup_key.test
mysql-test/suite/tokudb/t/bf_insert_select_dup_key.test
+4
-4
mysql-test/suite/tokudb/t/bf_replace_select.test
mysql-test/suite/tokudb/t/bf_replace_select.test
+4
-3
mysql-test/suite/tokudb/t/bf_select_hash_part.test
mysql-test/suite/tokudb/t/bf_select_hash_part.test
+4
-4
mysql-test/suite/tokudb/t/bf_select_range_part.test
mysql-test/suite/tokudb/t/bf_select_range_part.test
+4
-4
No files found.
mysql-test/suite/tokudb/t/bf_create_select.test
View file @
82aa5753
...
...
@@ -65,8 +65,8 @@ while ($i < $maxq) {
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# Check that the time with bulk fetch off is
at least twice that wh
ith bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 2 *
$time_elapsed_on`
;
# Check that the time with bulk fetch off is
greater that w
ith bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
index
$verdict
$time_elapsed_on
$time_elapsed_off
;
}
if
(
!
$verdict
)
{
echo
index
$time_elapsed_on
$time_elapsed_off
;
}
...
...
@@ -94,8 +94,8 @@ while ($i < $maxq) {
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# Check that the time with bulk fetch off is
at least twice that wh
ith bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 2 *
$time_elapsed_on`
;
# Check that the time with bulk fetch off is
greater that w
ith bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
range
$verdict
$time_elapsed_on
$time_elapsed_off
;
}
if
(
!
$verdict
)
{
echo
range
$time_elapsed_on
$time_elapsed_off
;
}
...
...
mysql-test/suite/tokudb/t/bf_create_select_hash_part.test
View file @
82aa5753
...
...
@@ -65,8 +65,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that bulk fetch on is
at least 1.5 times fas
ter than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 1.5 *
$time_elapsed_on`
;
# check that bulk fetch on is
grea
ter than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
index
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
index
$time_elapsed_off
$time_elapsed_on
;
}
...
...
@@ -93,8 +93,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that bulk fetch on is
at least 1.5 times fas
ter than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 1.5 *
$time_elapsed_on`
;
# check that bulk fetch on is
grea
ter than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
range
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
range
$time_elapsed_off
$time_elapsed_on
;
}
...
...
mysql-test/suite/tokudb/t/bf_create_select_range_part.test
View file @
82aa5753
...
...
@@ -72,8 +72,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that bulk fetch on is
at least 2 times fas
ter than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 2 *
$time_elapsed_on`
;
# check that bulk fetch on is
grea
ter than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
index
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
index
$time_elapsed_off
$time_elapsed_on
;
}
...
...
@@ -100,8 +100,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that bulk fetch on is
at least 2 times fas
ter than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 2 *
$time_elapsed_on`
;
# check that bulk fetch on is
grea
ter than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
range
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
range
$time_elapsed_off
$time_elapsed_on
;
}
...
...
mysql-test/suite/tokudb/t/bf_create_temp_select.test
View file @
82aa5753
...
...
@@ -65,8 +65,8 @@ while ($i < $maxq) {
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# Check that the time with bulk fetch off is
at least twice that wh
ith bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 2 *
$time_elapsed_on`
;
# Check that the time with bulk fetch off is
greater that w
ith bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
index
$verdict
$time_elapsed_on
$time_elapsed_off
;
}
if
(
!
$verdict
)
{
echo
index
$time_elapsed_on
$time_elapsed_off
;
}
...
...
@@ -94,8 +94,8 @@ while ($i < $maxq) {
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# Check that the time with bulk fetch off is
at least twice that wh
ith bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 2 *
$time_elapsed_on`
;
# Check that the time with bulk fetch off is
greater than w
ith bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
range
$verdict
$time_elapsed_on
$time_elapsed_off
;
}
if
(
!
$verdict
)
{
echo
range
$time_elapsed_on
$time_elapsed_off
;
}
...
...
mysql-test/suite/tokudb/t/bf_delete.test
View file @
82aa5753
# Verify that index scans for delete statements use bulk fetch and are
# at least twice as fast
# Verify that index scans for delete statements use bulk fetch are faster than when not using bulk fetch
source
include
/
have_tokudb
.
inc
;
source
include
/
big_test
.
inc
;
...
...
@@ -62,8 +61,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_bf_off
=
`select unix_timestamp() - $s`
;
# verify that a delete scan with bulk fetch ON is
at least 2 times fas
ter than with bulk fetch OFF
let
$verdict
=
`select $time_elapsed_bf_on > 0 && $time_elapsed_bf_off >
= 2 *
$time_elapsed_bf_on`
;
# verify that a delete scan with bulk fetch ON is
grea
ter than with bulk fetch OFF
let
$verdict
=
`select $time_elapsed_bf_on > 0 && $time_elapsed_bf_off > $time_elapsed_bf_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
range
$verdict
$time_elapsed_bf_on
$time_elapsed_bf_off
;
}
if
(
!
$verdict
)
{
echo
range
$time_elapsed_bf_on
$time_elapsed_bf_off
;
}
...
...
mysql-test/suite/tokudb/t/bf_insert_select.test
View file @
82aa5753
...
...
@@ -66,8 +66,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that
bulk fetch on is at least 2 times faster than
bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 2 *
$time_elapsed_on`
;
# check that
the time with bulk fetch on is greater than with
bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
index
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
index
$time_elapsed_off
$time_elapsed_on
;
}
...
...
@@ -92,7 +92,7 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 2 *
$time_elapsed_on`
;
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
range
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
range
$time_elapsed_off
$time_elapsed_on
;
}
...
...
mysql-test/suite/tokudb/t/bf_insert_select_dup_key.test
View file @
82aa5753
...
...
@@ -70,8 +70,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that bulk fetch on is
at least 2 times faster than
bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 2 *
$time_elapsed_on`
;
# check that bulk fetch on is
greater than with
bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
index
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
index
$time_elapsed_off
$time_elapsed_on
;
}
...
...
@@ -96,8 +96,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that bulk fetch on is
at least 2 times fas
ter than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 2 *
$time_elapsed_on`
;
# check that bulk fetch on is
grea
ter than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
range
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
range
$time_elapsed_off
$time_elapsed_on
;
}
...
...
mysql-test/suite/tokudb/t/bf_replace_select.test
View file @
82aa5753
...
...
@@ -66,8 +66,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that
bulk fetch on is at least 2 times faster than
bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 2 *
$time_elapsed_on`
;
# check that
the time with bulk fetch on is greater than with
bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
index
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
index
$time_elapsed_off
$time_elapsed_on
;
}
...
...
@@ -92,7 +92,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >= 2 * $time_elapsed_on`
;
# check that the time with bulk fetch on is greater than with bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
range
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
range
$time_elapsed_off
$time_elapsed_on
;
}
...
...
mysql-test/suite/tokudb/t/bf_select_hash_part.test
View file @
82aa5753
...
...
@@ -65,8 +65,8 @@ let $time_bf_off = `select unix_timestamp() - $s`;
if
(
$debug
)
{
echo
index
scans
took
$time_bf_off
.
;
}
# check that the scan time with bulk fetch off is
at least 1.5 times as long as
with bulk fetch on
let
$verdict
=
`select $time_bf_on > 0 && $time_bf_off >
= 1.5 *
$time_bf_on`
;
# check that the scan time with bulk fetch off is
greater than
with bulk fetch on
let
$verdict
=
`select $time_bf_on > 0 && $time_bf_off > $time_bf_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
index
$verdict
$time_bf_on
$time_bf_off
;
}
if
(
!
$verdict
)
{
echo
index
$time_bf_on
$time_bf_off
;
}
...
...
@@ -93,8 +93,8 @@ let $time_bf_off = `select unix_timestamp() - $s`;
if
(
$debug
)
{
echo
range
scans
took
$time_bf_off
.
;
}
# check that the scan time with bulk fetch off is
at least 1.5 times as long as
with bulk fetch on
let
$verdict
=
`select $time_bf_on > 0 && $time_bf_off >
= 1.5 *
$time_bf_on`
;
# check that the scan time with bulk fetch off is
greater than
with bulk fetch on
let
$verdict
=
`select $time_bf_on > 0 && $time_bf_off > $time_bf_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
range
$verdict
$time_bf_on
$time_bf_off
;
}
if
(
!
$verdict
)
{
echo
range
$time_bf_on
$time_bf_off
;
}
...
...
mysql-test/suite/tokudb/t/bf_select_range_part.test
View file @
82aa5753
...
...
@@ -70,8 +70,8 @@ while ($i < $maxq) {
}
let
$time_bf_off
=
`select unix_timestamp() - $s`
;
# check that the scan time with bulk fetch off is
at least 1.5 times as long as
with bulk fetch on
let
$verdict
=
`select $time_bf_on > 0 && $time_bf_off >
= 1.5 *
$time_bf_on`
;
# check that the scan time with bulk fetch off is
greater than
with bulk fetch on
let
$verdict
=
`select $time_bf_on > 0 && $time_bf_off > $time_bf_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
index
$verdict
$time_bf_on
$time_bf_off
;
}
if
(
!
$verdict
)
{
echo
index
scan
$time_bf_on
$time_bf_off
;
}
...
...
@@ -94,8 +94,8 @@ while ($i < $maxq) {
}
let
$time_bf_off
=
`select unix_timestamp() - $s`
;
# check that the scan time with bulk fetch off is
at least 1.5 times as long as
with bulk fetch on
let
$verdict
=
`select $time_bf_on > 0 && $time_bf_off >
= 1.5 *
$time_bf_on`
;
# check that the scan time with bulk fetch off is
greater than
with bulk fetch on
let
$verdict
=
`select $time_bf_on > 0 && $time_bf_off > $time_bf_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
range
$verdict
$time_bf_on
$time_bf_off
;
}
if
(
!
$verdict
)
{
echo
range
$time_bf_on
$time_bf_off
;
}
...
...
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