插入测试数据 # etcdctl put smith # etcdctl put allen # etcdctl put ward # etcdctl put jones # etcdctl put martin # etcdctl put blake # etcdctl put clark # etcdctl put scott # etcdctl put king # etcdctl put turner # etcdctl put adams # etcdctl put james # e
一.插入数据 说到插入数据,一开始就想到: insert int A values(*******************) 插入多条数据,最多想到:写成这样: insert into A values(**********),(*************),(*****************) 但是在百万数据面前,都太慢了. 1.用脚本的方式 #!/bin/bash strsql="insert into tbl_devaccess8021x (uidrecordid, dtaccessti