Chinaunix首页 | 论坛 | 博客
  • 博客访问: 62277
  • 博文数量: 33
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 345
  • 用 户 组: 普通用户
  • 注册时间: 2014-08-02 08:41
文章分类

全部博文(33)

文章存档

2015年(13)

2014年(20)

我的朋友

发布时间:2015-03-27 10:28:56

  当使用xSQL命令行工具来创建eXtremeDB数据库或Sharding时候,如果数据库大小小于等于1M,将会出现Runtimeerror,如下所示:  terminate called after throwing an instance of 'McoSql::RuntimeError'   what():  Runtime error: Unknown error code 520022.........【阅读全文】

阅读(516) | 评论(0) | 转发(0)

发布时间:2015-03-16 10:21:56

eXtremeDB支持SQL,也可以使用group by子句,但是在使用group by的过程中,有一些需要注意的地方。1. 在group by子句中,所使用的字段必须是在select子句中出现过的字段。2. 在group by子句中,如果使用表别名来引用字段,需要格外注意。例如:select t1.dmdm,count (t1.dmdm) from rbase t1 group by t1.dmdm limit 10;.........【阅读全文】

阅读(594) | 评论(0) | 转发(0)

发布时间:2015-03-15 12:28:44

  eXtremeDB中没有TO_VARCHAR函数,但是有一个类似功能的函数 FORMAT。其用法如下所示(eXtremeDB区分字母大小写):  点击(此处)折叠或打开XSQL>create table t(dt timestamp);XSQL>insert into t values (now);XSQL>select * from t;.........【阅读全文】

阅读(430) | 评论(0) | 转发(0)

发布时间:2015-03-07 22:32:07

 在eXtremeDB使用SQL时候,必须确保SQL语句符合SQL-89或SQL-92标准,或者遵循eXtremeSQL语法。 eXtremeSQL对字母大小写是敏感的,例如select * from metatable是错误的,必须是select * from Metatable。 当使用创建表时,如果字段非空,且使用索引,那么相应的格式是:create table test(str unicod.........【阅读全文】

阅读(374) | 评论(0) | 转发(0)

发布时间:2015-03-01 17:10:42

 In the eXtremeDB, there is a term Node Quorum Rank refers to an integer value that is used to determine whether enough interconnected nodes are online to work. If the sum of the qrank values for node A and all nodes connected to A is more than half of the sum of the qrank values.........【阅读全文】

阅读(320) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册