binlog 查看是否开启了binlog mysql> show variables like 'log_bin'; +---------------+-------+ | Variable_name | Value | +---------------+-------+ | log_bin | OFF
@Test public void testDistributeLock() throws InterruptedException { final CountDownLatch cdl = new CountDownLatch(10); long time = System.currentTimeMillis(); RedissonClient redisson = Redisson.create(); final RLock rLock = redisson.getLock("hello-lock"); final Map<String, Integer> map
create table new_table_name like old_table_name; alter table new_table_name add column new_column int not null default 0 comment 'your comment'; insert into new_table_name (col1, col2, col3...) select (col1, col2, col3...) from