InnoDB insert?????????
???????????? ???????[ 2012/12/17 10:46:43 ] ????????
????3??50???????????????????SQL 80??Σ?
????insert into test(INT_A?? INT_B?? INT_C?? STRING_A?? STRING_B?? STRING_C) values(CEIL(RAND()*100000)?? CEIL(RAND()*100000)?? CEIL(RAND()*100000)?? random_string(CEIL(50*RAND()))?? random_string(CEIL(250*RAND()))?? random_string(CEIL(700*RAND())))
????????????У??????????????????????!??????????????750?????????????????????!?????????????????????buffer???????????????????????????????!
????1??truncate table test
????2??????my.cnf????????£?
????innodb_file_per_table = 0
????innodb_flush_log_at_trx_commit = 2
????innodb_flush_method = O_DIRECT
????innodb_buffer_pool_size = 2G
????innodb_file_io_threads = 4
??????????????????mysqld
????3??50???????????????????SQL 80??Σ?
????insert into test(INT_A?? INT_B?? INT_C?? STRING_A?? STRING_B?? STRING_C) values(CEIL(RAND()*100000)?? CEIL(RAND()*100000)?? CEIL(RAND()*100000)?? random_string(CEIL(50*RAND()))?? random_string(CEIL(250*RAND()))?? random_string(CEIL(700*RAND())))
??????????????????????!??????????ó??????????????????????4000??????????????insert???????????????????δ???????????????С??buffer?????????????????????????????????????????????select???????????????Innodb?????????????ν???????????????????????????????????棬??????????????????????????MySQL????????????????????????????????????????????????????????????????????á?
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11