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

可以

相关专题

更多
菜鸟裹裹入口以及教程汇总
菜鸟裹裹入口以及教程汇总

本专题整合了菜鸟裹裹入口地址及教程分享,阅读专题下面的文章了解更多详细内容。

0

2026.01.22

Golang 性能分析与pprof调优实战
Golang 性能分析与pprof调优实战

本专题系统讲解 Golang 应用的性能分析与调优方法,重点覆盖 pprof 的使用方式,包括 CPU、内存、阻塞与 goroutine 分析,火焰图解读,常见性能瓶颈定位思路,以及在真实项目中进行针对性优化的实践技巧。通过案例讲解,帮助开发者掌握 用数据驱动的方式持续提升 Go 程序性能与稳定性。

9

2026.01.22

html编辑相关教程合集
html编辑相关教程合集

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

56

2026.01.21

三角洲入口地址合集
三角洲入口地址合集

本专题整合了三角洲入口地址合集,阅读专题下面的文章了解更多详细内容。

51

2026.01.21

AO3中文版入口地址大全
AO3中文版入口地址大全

本专题整合了AO3中文版入口地址大全,阅读专题下面的的文章了解更多详细内容。

397

2026.01.21

妖精漫画入口地址合集
妖精漫画入口地址合集

本专题整合了妖精漫画入口地址合集,阅读专题下面的文章了解更多详细内容。

118

2026.01.21

java版本选择建议
java版本选择建议

本专题整合了java版本相关合集,阅读专题下面的文章了解更多详细内容。

3

2026.01.21

Java编译相关教程合集
Java编译相关教程合集

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

16

2026.01.21

C++多线程相关合集
C++多线程相关合集

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

11

2026.01.21

热门下载

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

精品课程

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

共48课时 | 7.6万人学习

MySQL 教程
MySQL 教程

共48课时 | 1.9万人学习

TypeScript 教程
TypeScript 教程

共19课时 | 2.4万人学习

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

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