1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00

CHECKSUM TABLE to calculate in multiple column chunks

Checksum implementations contain optimizations for calculating
checksums of larger blocks of memory.

This optimization calls my_checksum on a larger block of memory
rather than calling on multiple adjacent memory as its going though
the table columns for each table row.
This commit is contained in:
Daniel Black
2016-03-18 11:50:41 +11:00
committed by Sergei Golubchik
parent 8b94aec11a
commit 51a66299f3
3 changed files with 34 additions and 1 deletions

View File

@@ -603,6 +603,10 @@ test.t2 3442722830
test.t3 NULL
Warnings:
Error 1146 Table 'test.t3' doesn't exist
alter table t1 add d int default 30, add e bigint default 300000, add f decimal(30) default 442;
checksum table t2;
Table Checksum
test.t2 3442722830
drop table t1,t2;
create table t1 (a int, key (a));
show keys from t1;