1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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

@ -552,6 +552,8 @@ insert t2 select * from t1;
checksum table t1, t2, t3 quick;
checksum table t1, t2, t3;
checksum table t1, t2, t3 extended;
alter table t1 add d int default 30, add e bigint default 300000, add f decimal(30) default 442;
checksum table t2;
#show table status;
drop table t1,t2;