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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
676c9824
Commit
676c9824
authored
Mar 11, 2009
by
Timothy Smith
Browse files
Options
Browse Files
Download
Plain Diff
Up-merge from 5.0
parents
f79cb0de
81e4e1e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
21 deletions
+2
-21
mysql-test/t/type_bit_innodb.test
mysql-test/t/type_bit_innodb.test
+2
-0
sql-bench/TODO
sql-bench/TODO
+0
-21
No files found.
mysql-test/t/type_bit_innodb.test
View file @
676c9824
...
@@ -40,6 +40,8 @@ drop table t1;
...
@@ -40,6 +40,8 @@ drop table t1;
create
table
t1
(
a
bit
)
engine
=
innodb
;
create
table
t1
(
a
bit
)
engine
=
innodb
;
insert
into
t1
values
(
b
'0'
),
(
b
'1'
),
(
b
'000'
),
(
b
'100'
),
(
b
'001'
);
insert
into
t1
values
(
b
'0'
),
(
b
'1'
),
(
b
'000'
),
(
b
'100'
),
(
b
'001'
);
select
hex
(
a
)
from
t1
;
select
hex
(
a
)
from
t1
;
# It is not deterministic which duplicate will be seen first
--
replace_regex
/
(
.*
Duplicate
entry
)
'.*'
(
for
key
.*
)
/
\
1
''
\
2
/
--
error
ER_DUP_ENTRY
--
error
ER_DUP_ENTRY
alter
table
t1
add
unique
(
a
);
alter
table
t1
add
unique
(
a
);
drop
table
t1
;
drop
table
t1
;
...
...
sql-bench/TODO
deleted
100644 → 0
View file @
f79cb0de
When comparing with ms-sql:
Check how to get MySQL faster mysql ms-sql
count_distinct (2000) | 89.00| 39.00|
count_distinct_big (120) | 324.00| 121.00|
count_distinct_group (1000) | 158.00| 107.00|
count_distinct_group_on_key (1000) | 49.00| 17.00|
count_distinct_group_on_key_parts (1| 157.00| 108.00|
order_by_big (10) | 197.00| 89.00|
order_by_big_key (10) | 170.00| 82.00|
order_by_big_key2 (10) | 163.00| 73.00|
order_by_big_key_desc (10) | 172.00| 84.00|
order_by_big_key_diff (10) | 193.00| 89.00|
order_by_big_key_prefix (10) | 165.00| 72.00|
Why is the following slow on NT:
NT Linux
update_of_primary_key_many_keys (256| 560.00| 65.00|
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