xSky 实验室关注高性能计算,分布式系统/存储,大数据/机器学习
目录
  • 首页
  • 知识┊技术相关
  • 作品┊原创作品
  • 技术┊WEBRTC研究
  • 随笔┊心情日记

xcache系统 操作命令记录

2018-05-24 10:49:51
 以前写的一个NOSQL服务系统的操作日志记录. 由于上个月VPS被重置,导致部署的文件都没有了,把相关的操作日志放在这里,备忘。
mysql> create(table, testtb,map);
Query OK, 1 row affected
 
mysql> test.testtb.insert(kk,111111111);
1399 - can not find table testtb
mysql> show(tables);
1399 - can not find table b
mysql> create(table, testtb,map);
Query OK, 1 row affected
 
mysql> test.testtb.insert(kk,111111111);
1399 - can not find table testtb
mysql> show(tables);
+---------+------+------+
| table   | type | size |
+---------+------+------+
|  testtb | map  | 0    |
+---------+------+------+
1 row in set
 
mysql> create(table, testtb,map);
Query OK, 1 row affected
 
mysql> show(tables);
+---------+------+------+
| table   | type | size |
+---------+------+------+
|  testtb | map  | 0    |
+---------+------+------+
1 row in set
 
mysql> test.testtb.insert(kk,111111111);
1399 - can not find table testtb
mysql> show(tables);
+---------+------+------+
| table   | type | size |
+---------+------+------+
|  testtb | map  | 0    |
+---------+------+------+
1 row in set
 
mysql> test.testtb.insert(kk, 111111111);
1399 - can not find table testtb
mysql> testtb.insert(kk, 111111111);
2003 - Can't connect to MySQL server on '192.168.132.128' (10061)
mysql> test.testtb.insert(kk, 111111111);
2003 - Can't connect to MySQL server on '192.168.132.128' (10061)
mysql> create(table, testtb,map);
Query OK, 1 row affected
 
mysql> create(table,testtb,map);
Query OK, 1 row affected
 
mysql> show(tables);
+---------+------+------+
| table   | type | size |
+---------+------+------+
|  testtb | map  | 0    |
| testtb  | map  | 0    |
+---------+------+------+
2 rows in set
 
mysql> test.testtb.insert(kk, 111111111);
Query OK, 1 row affected
 
mysql> show(tables);
+---------+------+------+
| table   | type | size |
+---------+------+------+
|  testtb | map  | 0    |
| testtb  | map  | 1    |
+---------+------+------+
2 rows in set
 
mysql> test.testtb.insert(k222, 22222222222);
Query OK, 1 row affected
 
mysql> show(tables);
+---------+------+------+
| table   | type | size |
+---------+------+------+
|  testtb | map  | 0    |
| testtb  | map  | 2    |
+---------+------+------+
2 rows in set
 
mysql> test.testtb.find(*);
+------+--------------+
| key  | value        |
+------+--------------+
| k222 |  22222222222 |
| kk   |  111111111   |
+------+--------------+
2 rows in set
 
mysql> test.testtb.size();
+------+
| size |
+------+
| 2    |
+------+
1 row in set
 
mysql> test.testtb.max_size();
+--------------------+
| max_size           |
+--------------------+
| 384307168202282325 |
+--------------------+
1 row in set
 
mysql> test.testtb.empty();
+-------+
| empty |
+-------+
| 0     |
+-------+
1 row in set
 
mysql> test.testtb.erase(kk);
Query OK, 1 row affected
 
mysql> test.testtb.find(*);
+------+--------------+
| key  | value        |
+------+--------------+
| k222 |  22222222222 |
+------+--------------+
1 row in set
 
mysql> create(table,   testtb,map);
Query OK, 1 row affected
 
mysql> show(tables);
+-----------+------+------+
| table     | type | size |
+-----------+------+------+
|    testtb | map  | 0    |
+-----------+------+------+
1 row in set
 
mysql> create(table,   testtb,map);
Query OK, 1 row affected
 
mysql> show(tables);
+-----------+------+------+
| table     | type | size |
+-----------+------+------+
|    testtb | map  | 0    |
+-----------+------+------+
1 row in set
 
mysql> create(table,   testtb,map);
Query OK, 1 row affected
 
mysql> show(tables);
+--------+------+------+
| table  | type | size |
+--------+------+------+
| testtb | map  | 0    |
+--------+------+------+
1 row in set
 
mysql> test.testtb.find(*);
Empty set
 
mysql> test.testtb.insert(k222, 22222222222);
Query OK, 1 row affected
 
mysql> test.testtb.insert(k11,111111111111);
Query OK, 1 row affected
 
mysql> test.testtb.insert(k2,22);
Query OK, 1 row affected
 
mysql> test.testtb.find(*);
+------+--------------+
| key  | value        |
+------+--------------+
| k11  | 111111111111 |
| k2   | 22           |
| k222 |  22222222222 |
+------+--------------+
3 rows in set
 
mysql>
mysql> show(tables);
+--------+------+------+
| table  | type | size |
+--------+------+------+
| testtb | map  | 3    |
+--------+------+------+
1 row in set
 
mysql> test.testtb.find(k2);
+----+
| k2 |
+----+
| 22 |
+----+
1 row in set
 
mysql> test.testtb.find(k11);
+--------------+
| k11          |
+--------------+
| 111111111111 |
+--------------+
1 row in set
 
mysql> test.testtb.find(k222);
+--------------+
| k222         |
+--------------+
|  22222222222 |
+--------------+
1 row in set
 
mysql> create(table,   testtb,map);
1399 -  can not parase Cmd create
mysql> create(table,   testtb,map);
1399 -  can not parase Cmd create
mysql> create(table,   testtb,map);
Query OK, 1 row affected
 
mysql> show(tables);
+--------+------+------+
| table  | type | size |
+--------+------+------+
| testtb | map  | 0    |
+--------+------+------+
1 row in set
 
mysql> test.testtb.insert(k2,22);
Query OK, 1 row affected
 
mysql> test.testtb.insert(k3, 22dsdsds  );
Query OK, 1 row affected
 
mysql> test.testtb.find(*);
+-----+----------+
| key | value    |
+-----+----------+
| k2  | 22       |
| k3  | 22dsdsds |
+-----+----------+
2 rows in set
 
mysql> test.testtb.insert(k4, "ddsf dfgfdg ");
Query OK, 1 row affected
 
mysql> test.testtb.find(*);
+-----+--------------+
| key | value        |
+-----+--------------+
| k2  | 22           |
| k3  | 22dsdsds     |
| k4  | ddsf dfgfdg  |
+-----+--------------+
3 rows in set
 
mysql> create(table,   testtb,map);
Query OK, 1 row affected
 
mysql> test.testtb.insert(k4, "ddsf dfgfdg ");
Query OK, 1 row affected
 
mysql> test.testtb.insert(k2,22);
Query OK, 1 row affected
 
mysql> test.testtb.find(*);
+-----+--------------+
| key | value        |
+-----+--------------+
| k2  | 22           |
| k4  | ddsf dfgfdg  |
+-----+--------------+
2 rows in set
 
mysql> testtb.insert(k5, "5555");
2003 - Can't connect to MySQL server on '192.168.132.128' (10061)
mysql> use(test);
Database changed
mysql> show(tables);
Empty set
 
mysql> create(table,   testtb,map);
Query OK, 1 row affected
 
mysql> show(tables);
+--------+------+------+
| table  | type | size |
+--------+------+------+
| testtb | map  | 0    |
+--------+------+------+
1 row in set
 
mysql> testtb.insert(k5, "5555");
2003 - Can't connect to MySQL server on '192.168.132.128' (10061)
mysql> show(tables);
Empty set
 
mysql> use(test);
Database changed
mysql> show(tables);
Empty set
 
mysql> create(table,   testtb,map);
Query OK, 1 row affected
 
mysql> testtb.insert(k5, "5555");
Query OK, 1 row affected
 
mysql> test.testtb.find(*);
+-----+-------+
| key | value |
+-----+-------+
| k5  | 5555  |
+-----+-------+
1 row in set
 
mysql> testtb.insert(k1, "111 22222222");
Query OK, 1 row affected
 
mysql> testtb.insert(k2, "2222222 fdddd");
Query OK, 1 row affected
 
mysql> testtb.insert(k3, "23333333333333");
Query OK, 1 row affected
 
mysql> test.testtb.find(*);
+-----+----------------+
| key | value          |
+-----+----------------+
| k1  | 111 22222222   |
| k2  | 2222222 fdddd  |
| k3  | 23333333333333 |
| k5  | 5555           |
+-----+----------------+
4 rows in set
 
mysql> test.testtb.de(*);
1399 - fun not allowed de
mysql> 
 
 
 create(table, t_test);
 show databases;
 use test;
 create(table, t_test);
 show databases;
 show databases;
 use test;
 create(table, t_test);
 create(table, t_test);
 create(table, t_test, map);
 show tables;
 t_test.insert(wwwwwww, rrrrrrrrr);
 t_test.find(*);
 show tables;
 show engines;
 show engines map;
 
 INSTALL PLUGIN mapa SONAME libtest.so;
 show engines map;
 show engines;
 create table t_test1 map-a;

By:xSky | 知识┊技术相关 |

  • 分类目录

    • 知识┊技术相关 (46)
    • 作品┊原创作品 (7)
    • 技术┊WEBRTC研究 (2)
    • 随笔┊心情日记 (4)
  • 最新文章

    • xRedis 1.4 版本发布!
    • 我的电子书
    • 史上最全的WebRTC服务器技术选型分析
    • 百亿流量微服务网关的设计与实现
    • 爱奇艺网络协程编写高并发应用实践
    • MySQL 的 crash-safe 原理解析
    • 海量数据,海明距离高效检索(smlar)
    • 开发小技巧备忘
    • Redis 6 新功能提前看!
    • 使用Sysdig监视您的Ubuntu
    • 安装VMware没有虚拟网卡出现解决方法
    • 想要搞懂数据可视化,看这篇就够了!
    • MySQL 数据库铁律
    • 微服务:分布式事务
    • 多队列网卡及网卡中断绑定阐述
    • epoll 的本质是什么?
    • 千万并发不是梦:TCPBurn并发测试
    • 使用R数据进行数据分析
    • 消息中间件选型:Kafka还是RabbitMQ?
    • 一套原创分布式即时通讯(IM)系统理论架构方案
    • 一套高可用、易伸缩、高并发的IM群聊、单聊架构方案设计实践
    • 百度App网络深度优化系列《二》连接优化
    • 百度App网络深度优化系列《一》DNS优化
    • ZooKeeper 一致性协议 ZAB 原理
    • Linux/Unix下ODBC的安装、配置与编程
    • 最适合数据分析师的数据库
    • CentOS6 在线安装PostgreSQL10
    • xChart数据可视化工具使用说明
    • 使用MySQL进行数据统计
    • 倔强的程序员
  • 链接

    • xSky的Blog
    • 我的开源/github
    • 实时监控图表
    • 预印本
    • xredis 在线文档
    • xSkyProxy
    • xChart 数据在线测试
    • 我的电子书
    • xChart 数据可视化系统
    • 树莓派技术圈
    • WebRTC开发者社区
  • 开源项目

    • xReis C++的redis客户端库
    • xBlog-C++ 博客程序
    • xSkyProxy-新的MySQL代理网关
    • 数据可视化平台- xChart
    • xhttpcache 高速数据缓存服务
    • xMonitor-图形监测工具
    • test

Powered By xblog Copyright 0xsky.com All Rights Reserved.

Copyright 0xsky.com All Rights Reserved.