Redis practice a migration of database data into the database b

Thinking

1, access all the key from a redis

2, the type of key is determined

3, depending on the type of key is determined using the set / hset type

4, set in the b redis (b redis are written to)

 

Guess you like

Origin www.cnblogs.com/wangyajuanjuan/p/11795973.html