Home Database Mysql Tutorial eXtremeDB相关问题解答(2)

eXtremeDB相关问题解答(2)

Jun 07, 2016 pm 03:55 PM
set th Related FAQ

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是什么意思?

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

可以

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Detailed explanation of the Set tag function in MyBatis dynamic SQL tags Detailed explanation of the Set tag function in MyBatis dynamic SQL tags Feb 26, 2024 pm 07:48 PM

Interpretation of MyBatis dynamic SQL tags: Detailed explanation of Set tag usage MyBatis is an excellent persistence layer framework. It provides a wealth of dynamic SQL tags and can flexibly construct database operation statements. Among them, the Set tag is used to generate the SET clause in the UPDATE statement, which is very commonly used in update operations. This article will explain in detail the usage of the Set tag in MyBatis and demonstrate its functionality through specific code examples. What is Set tag Set tag is used in MyBati

FAQ for pandas reading txt files FAQ for pandas reading txt files Jan 19, 2024 am 09:19 AM

Pandas is a data analysis tool for Python, especially suitable for cleaning, processing and analyzing data. During the data analysis process, we often need to read data files in various formats, such as Txt files. However, some problems will be encountered during the specific operation. This article will introduce answers to common questions about reading txt files with pandas and provide corresponding code examples. Question 1: How to read txt file? txt files can be read using the read_csv() function of pandas. This is because

How to delete elements from set in javascript How to delete elements from set in javascript Jan 12, 2022 am 10:56 AM

Methods to delete elements: 1. Use delete() to delete the specified element from the Set object, the syntax is "setObj.delete(value);"; 2. Use clear() to delete all elements in the Set object, the syntax is "setObj.delete(value);" "setObj.clear();".

Inventory of common uses of dict and set in Python programming Inventory of common uses of dict and set in Python programming Jul 25, 2023 pm 04:52 PM

This article is based on the basics of Python and introduces how to use dict and set. The dict using the key-value storage structure is very useful in Python. It is important to choose an immutable object as the key. The most commonly used key is a string.

PyCharm Professional Edition Activation FAQ PyCharm Professional Edition Activation FAQ Feb 20, 2024 pm 02:57 PM

PyCharm is a very popular Python integrated development environment (IDE) with rich functions and powerful tools, providing developers with a convenient development experience. PyCharm is divided into professional version and free version. The professional version provides more advanced features, but requires paid activation. When using PyCharm Professional Edition, you often encounter some activation-related problems. Below are answers to some common questions and specific code examples. Question 1: How to activate PyCharm Professional Edition? answer

Comparison of Java Map and other collection frameworks: advantages and disadvantages analysis and application scenario guide Comparison of Java Map and other collection frameworks: advantages and disadvantages analysis and application scenario guide Feb 19, 2024 pm 10:24 PM

1. Overview of the Map Collection Framework The Map collection framework is a key-value pair data structure that allows you to use keys to find and store values. Each key in the Map is unique and can only be associated with one value. Common implementations in the Map collection framework include HashMap, TreeMap and LinkedHashMap. 1.HashMapHashMap is the most widely used Map implementation in Java. It stores data based on hash tables. HashMap has excellent performance, and the time complexity of search and insertion operations is O(1), but it does not guarantee the order of elements. Demo code: Mapmap=newHashMap

What does th mean in html? What does th mean in html? Nov 17, 2021 pm 05:02 PM

In HTML, th means "header" and is a label element used to define the header cell in the table. The text inside the th element is usually rendered as centered bold text; the th element needs to be defined in the tr element Internally, the syntax is "<tr><th>Header data</th></tr>".

What is the difference between the set method and the add method in List in java? What is the difference between the set method and the add method in List in java? Apr 19, 2023 pm 07:49 PM

Preface There are two very similar methods in the commonly used collection interface List in Java: Eset(intindex,Eelement); voidadd(intindex,Eelement); both of these methods insert specified elements at specified positions in the collection, then What is the difference between these two methods? Next, let’s take a look at the differences and similarities between these two methods through ArrayList, our commonly used collection implementation. First, let’s take a look at the similarities between these two methods in ArrayList. They will insert new elements at specified positions in the collection, such as the following Example: #Insert an F in the 2nd position of the collection #Insert Listlist= through the add method

See all articles