1. Could our database support multi-database under one single instance? 2. Could we support temporary table? 3. Could we support view? 4. Could we support stored procedure and functions? 5. Could eXtremeDB be integrated into BI app like Mi

> 1. Could our database support multi-database under one single instance?

>

> 2. Could we support temporary table?

>

> 3. Could we support view?

>

> 4. Could we support stored procedure and functions?

>

> 5. Could eXtremeDB be integrated into BI app like Microstrategy ?

>

> 6. Could we support Architeture like MPP so that all the data could be distributed onto different nodes evenly.

>

> 7. What is the average compression ratio or ratio range typically ? Could we reach the ratio of 10:1

1. Yes, eXtremeDB can open and maintain connections to multiple databases from a single task or process. Each database will require its own "database connection" (the database connection is a way to identify the database to the application)

2. The eXtremeDB databases are normally defined statically with the schema. eXtremeDB does not support temporary tables in the normal SQL meaning of the word (tables that exist within a session). That's said, there is a limited support for "create table" statement to create in memory tables (or persistent tables. The in-mmeory tables created via the create statement will only exists during the current session, so essentially they are the same as "normal" temporary tables

3. There is a limited support for views (see the eXtremeSQL User's Guide)

In order to create a view , the application must have the "Views" class defined in the schema:

class Views

{

string name;

string body;

treepk;

};

Only the name of the table and the names of fields are essential. "name" contains the name of the view and the body contains the text of view expression.

View are created in standard SQL manner:

CREATE VIEW name AS select-expression;

XSQL>create view SV as select sid from S; insert into S (sid,sname)

XSQL>values (1,1); select * from SV;

sid

------------------------------------------------------------------------------

1

XSQL>drop view SV;

Things to be aware about

a. Views are implemented as nested select so the query above will be translated to

select * from (select sid from S);

The xsql optimizer is not always smart enough to efficiently transform nested queries. So sometimes query with views will be less efficient than one written manually without views. I can not give you precise example now or give you some estimation how much presence of view can degrade performance of query.

b. The information about created views is stored in Views table. If you want view definition to be persistent , you should define table Views as "persistent". Certainly it is relevant for disk database only.

c. Views are read-only. Updateable views are not supported. It means it is not possible to do something like:

insert into SV (sid) values (1);

4. Storage procedures are not supported since the eXtremeDB is an embedded database as opposed to a server-type database. SQL Support for functions in SQL is limited to the API -- functions are not stored. SQL supports a number of built-in string and math functions as well as user-defined functions that can be used in SQL statements. For example

static String* dateformat( McoSql::Value* date) { char str[64]; int date_val = (int)date->intValue(); int yy = date_val / 10000; int mm = date_val / 100 % 100; int dd = date_val % 100; // Format dd.mm.yyyy assuming all dates are after 2000 eXtremeSQL User Guide version 4.5 page 33

sprintf( str, "%d.%d.20%02d", dd, mm, yy ); return String::create( str ); } static SqlFunctionDeclaration udf( tpString, // tpInt is the return value of the UDF "dateformat", // the name of the function as we’ll use it in a query (void*)dateformat, // the function pointer

1 // the number of arguments to the UDF ); The UDF can then be called in a normal SQL select statement. For example, the following statement formats the date values in the result set by calling the UDF:

select dateformat(date_val) from Contributions;

5. There is currently no integration between the eXtremeDB data source and MicroStrategy BI environment. However we are considering the integration of the FE with a number of platforms, including the MicroStrategy Intelligence Server

6. Again, sharding (as a tool within the MPP database architecture) is not currently supported. We are in the process adding sharding and will be happy to consider requirements

7. Compression is supported for the large data data sets (sequences) through RLE. Its not possible to quantify the compression rate as not depends on the data being compressed. By the same token there is no "typical" compression rate.

本文原创发布php中文网,转载请注明出处,感谢您的尊重!

extremedb同步mysql_eXtremeDB相关问题解答(3)相关推荐

  1. extremedb同步mysql_eXtremeDB相关问题解答(2)

    1,Howto set the XML policy? 如何设置xml的策略? 参加下列各参数定义,下列的结果为默认设置 The policy switches ignore_autoid andig ...

  2. 更新失败无法连接更新服务器未响应,逆水寒客户端更新失败_长时间停滞未响应相关问题解答[图]...

    逆水寒每周四就会进行例行维护,很多小伙伴的电脑在每次更新中都会出现各种各样的相关问题,像一些基本的逆水寒客户端更新失败,长时间停滞未响应相关问题,我们一起来看看官方是如何解答的吧! 一.逆水寒客户端更 ...

  3. 与同步传递相关的获取-释放序列

    与同步传递相关的获取-释放序列 为了考虑传递顺序,你至少需要三个线程.第一个线程用来修改共享变量,并且对其中一个 做"存储-释放"处理.然后第二个线程使用"加载-获取&q ...

  4. 腾讯云主体信息相关问题解答教程

    腾讯云网站备案类的主体信息相关问题还是很多的,不断有人在操作中遇到各种情况.但是无论怎么提问也还是都是围绕着网站备案.准备资料.备案过程这几个核心的,所以老魏继续总结了一些主体信息相关问题解答汇总,分 ...

  5. LabVIEW开发软件著作权申请1-写在前面(相关问题解答)

    LabVIEW开发软件著作权申请1-写在前面(相关问题解答) 关于本文及后文 LabVIEW作为图形化编程,可以申请软著吗? LabVIEW图形化编程源代码既不是C语言,也不是其他常用语言,能受理并通 ...

  6. 太阳能念佛机相关问题解答

    念佛机相关问题解答 太阳能念佛机有什么使用注意事项? 太阳能念佛机是一款将自然界中的光能转化为电能来播放经文的产品,具有节能.环保.使用寿命长的特点,不需要充电,只需找到一个向阳的地方,打开开关,放置 ...

  7. 抖音聚合账户开通步骤,关于抖音聚合账户的相关问题解答

    抖音聚合账户是支付宝.钱包支付(余额和银行卡支付)等的综合账户.用于帮助商家完成货款的接收和提现.抖音聚合账户优势在于一次开通多个账户,商家支持用户通过支付宝.钱包支付(余额和银行卡支付)等方式支付商 ...

  8. 腾讯云网站备案咨询:主体信息相关问题解答

    腾讯云网站备案类的主体信息相关问题还是很多的,不断有人在操作中遇到各种情况.但是无论怎么提问也还是都是围绕着网站备案.准备资料.备案过程这几个核心的,所以老魏继续总结了一些主体信息相关问题解答汇总,分 ...

  9. eXtremeDB相关问题解答(1)

    这些问题基于eXtremeDB 4.5 1776 1, Ifthe asynchonous event happened 100 times in a short period, would all ...

最新文章

  1. Xamarin Android开发实战(上册)
  2. Hyper-V P2V转换遇到的问题
  3. 05-JDBC连接MySQL数据库【删除数据】
  4. 服务器上的电脑登不上oracle,Oracle服务器改计算机名后报错之解决方法
  5. 【项目升级】单库、多库、读写分离 · 任你选
  6. BZOJ 1673 [Usaco2005 Dec]Scales 天平:dfs 启发式搜索 A*搜索
  7. 经典的CSS代码(转)
  8. 【BZOJ 3531 Sdoi2014】旅行【动态开点线段树+树链剖分】
  9. cmd字体推荐-更纱黑体
  10. devops学习(三) K8环境部署jenkins
  11. 中国机读目录格式(CNMARC)
  12. Dfinity(icp)参考命令及规范-7
  13. linux 卸载mono,Linux系统(centos7.6)安装mono3.8
  14. 游戏开发资源列表 (转)
  15. 2022支付宝集五福 生肖卡添福红包活动攻略
  16. Java爬取12306
  17. VALUE DATE
  18. matlab 图案 柱状图_值得收藏 | 如何用matlab做出酷炫的图像
  19. [面经整理] 机器/深度学习补充篇
  20. 小明加密通道进入_德州人行通道闸哪个牌子好

热门文章

  1. VRAY:控制溢色、速度和质量平衡蓝海创意云
  2. 微信小程序 思维导图
  3. 2020阿里天猫精灵笔试
  4. 2018湘南学院计算机分数线,2018年湘南学院艺术类本科专业录取分数线
  5. 电商直播真的只是电视购物的升级吗?
  6. 基于jsp,ssm校园失物招领管理平台(带论文)
  7. 大佬手把手教你如何仿写出大厂的APP,知乎上转疯了!
  8. 大话说github for linux客户端基本操作(三)之月光宝盒
  9. 行动瑜伽:何谓不执的行动
  10. DEVOPS架构师 -- 02Kubernetes落地实践之旅