0

0

eXtremeDB相关问题解答(2)

php中文网

php中文网

发布时间:2016-06-07 15:55:12

|

1407人浏览过

|

来源于php中文网

原创

1,howto set the xml policy? 如何设置xml的策略? 参加下列各参数定义,下列的结果为默认设置 The policy switches ignore_autoid andignore_autooid, when set to value MCO_YES, cause the procedure to ignore values forfields of this type in the XM

1,howto set the xml policy?

如何设置xml的策略?

参加下列各参数定义,下列的结果为默认设置

The policy switches ignore_autoid andignore_autooid, when set to value MCO_YES,

cause the procedure to ignore values forfields of this type in the XML stream and

mco_w_xml_create_object() will generate theid values for the newly created

objects just as if they were created bycalling the classname_new() function.

static mco_xml_policy_t default_xml_policy= {

MCO_NUM_DEC, /* int_base is decimal */

MCO_NUM_HEX, /* quad_base is hexadecimal */

MCO_TEXT_ASCII, /* text_coding (strings) are ASCII */

MCO_TEXT_BASE64, /* blob_coding is Base64 */

MCO_FLOAT_EXPONENT, /* float_format isexponential */

MCO_YES, /* text is indented */

MCO_NO, /* all fields must be present in */

/* the incoming XML */

MCO_YES, /* encode special chars (

MCO_YES, /* encode line feeds */

MCO_NO, /* encode national chars (> 127) */

MCO_YES /* truncate trailing spaces */

MCO_NO, /* don't use attributes */

MCO_YES, /* ignore autoid values in input */

MCO_YES /* ignore autooid values in input */

}

2, Ifmain node(who have the quatam of 1) of cluster(qrank1,0,0,0,0,0,0) is down,could the cluster select a new main node?

cluster(qrank1,0,0,0,0,0,0)节点是否在主节点宕机后自动找主节点

不会,集群成为两个独立的集群,都为0的节点不能更新数据库。

3, Whatdoes HA time-awareness mean?

HA的timeawareness是什么意思?

Ztoy网络商铺多用户版
Ztoy网络商铺多用户版

在原版的基础上做了一下修正:增加1st在线支付功能与论坛用户数据结合,vip也可与论坛相关,增加互动性vip会员的全面修正评论没有提交正文的问题特价商品的调用连接问题删掉了2个木马文件去掉了一个后门补了SQL注入补了一个过滤漏洞浮动价不能删除的问题不能够搜索问题收藏时放入购物车时出错点放入购物车弹出2个窗口修正定单不能删除问题VIP出错问题主题添加问题商家注册页导航连接问题添加了导航FLASH源文

下载

The required performance characteristics ofa channel are specified in terms of timeouts, thus the primary attribute of thechannel is its on-time reliability.

4, CouldeXtremeDB Create table dynamically?

支持动态创建数据表么?

不支持。

5, NULL could be supported in 4.5.?

4.5能否支持NULL。

4.5暂不支持,5.0支持。

6, Could regular expression supported in eXtremeDB sql?

Sql是否支持正则表达式。

不支持。

7, Whatis the status of read-write for the HA nodes when it is synchronizing(static,hot) ?

在进行同步(static或者hot)的主备节点读写状态如何?

Static the master is read only, back is notready.

Hot : the master 可读写,备用节点不可用

8, Isthere any limit for the databases created inner a single process?

单进程创建数据库数量是否有限制?

The databases are put into astatic array, 在编译时可以重新定义,除此之外没有限制,

9, 使用SQL引擎时,内存设置大小如何确定?多任务SQL引擎能否支持多任务(McoSqlSession)共享一个StaticAllocator,或者每个任务(McoSqlSession)使用一个自己的StaticAllocator

The amount of memory that the allocator grabs depends on each SQLstatement. The

requirement can vary from several kilobytes to several megabytes (thatmuch memory can be necessary to process queries that select large number ofrecords and, for example, sort them).

多个session共享一个,因为allocator是在Engine背景下工作。

10, 是否支持多核下使用,如何支持?

一般直接通过操作系统实现线程,进程自动调度。

11, mco_db_save/mco_db_load在实现上是否支持大小端转换,即在大端设备上save,然后在小端的PC机上load

可以

相关专题

更多
Java 桌面应用开发(JavaFX 实战)
Java 桌面应用开发(JavaFX 实战)

本专题系统讲解 Java 在桌面应用开发领域的实战应用,重点围绕 JavaFX 框架,涵盖界面布局、控件使用、事件处理、FXML、样式美化(CSS)、多线程与UI响应优化,以及桌面应用的打包与发布。通过完整示例项目,帮助学习者掌握 使用 Java 构建现代化、跨平台桌面应用程序的核心能力。

6

2026.01.14

php与html混编教程大全
php与html混编教程大全

本专题整合了php和html混编相关教程,阅读专题下面的文章了解更多详细内容。

13

2026.01.13

PHP 高性能
PHP 高性能

本专题整合了PHP高性能相关教程大全,阅读专题下面的文章了解更多详细内容。

31

2026.01.13

MySQL数据库报错常见问题及解决方法大全
MySQL数据库报错常见问题及解决方法大全

本专题整合了MySQL数据库报错常见问题及解决方法,阅读专题下面的文章了解更多详细内容。

18

2026.01.13

PHP 文件上传
PHP 文件上传

本专题整合了PHP实现文件上传相关教程,阅读专题下面的文章了解更多详细内容。

10

2026.01.13

PHP缓存策略教程大全
PHP缓存策略教程大全

本专题整合了PHP缓存相关教程,阅读专题下面的文章了解更多详细内容。

6

2026.01.13

jQuery 正则表达式相关教程
jQuery 正则表达式相关教程

本专题整合了jQuery正则表达式相关教程大全,阅读专题下面的文章了解更多详细内容。

3

2026.01.13

交互式图表和动态图表教程汇总
交互式图表和动态图表教程汇总

本专题整合了交互式图表和动态图表的相关内容,阅读专题下面的文章了解更多详细内容。

44

2026.01.13

nginx配置文件详细教程
nginx配置文件详细教程

本专题整合了nginx配置文件相关教程详细汇总,阅读专题下面的文章了解更多详细内容。

5

2026.01.13

热门下载

更多
网站特效
/
网站源码
/
网站素材
/
前端模板

精品课程

更多
相关推荐
/
热门推荐
/
最新课程
PostgreSQL 教程
PostgreSQL 教程

共48课时 | 7.1万人学习

MySQL 教程
MySQL 教程

共48课时 | 1.7万人学习

TypeScript 教程
TypeScript 教程

共19课时 | 2.2万人学习

关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送

Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号