mysql update

INSERT INTO 表明 (id, xid, son,type,d1) VALUES (NULL, 7, 12345678, 'p', 0) ON DUPLICATE KEY UPDATE d1 = d1+1



per_connection_memory =
read_buffer_size +
read_rnd_buffer_size +
sort_buffer_size +
thread_stack +
join_buffer_size
per_server_memory =
tmp_table_size +
max_heap_table_size +
key_buffer_size +
innodb_buffer_pool_size +
innodb_additional_mem_pool_size +
innodb_log_buffer_size +
query_cache_size


mysql性能调优工具:

top, iostat -d -c -x 2, mysqltuner.pl

你可能感兴趣的:(mysql,update,d1)