eXtremeDB相关问题解答(1)
这些问题基于eXtremeDB 4.5 1776 1, Ifthe asynchonous event happened 100 times in a short period, would all the 100events would be handled sequentially? 100个异步event同时发生是否都能被处理(即若一个异步事件还在响应中,又来了数个新的异步事
这些问题基于eXtremeDB 4.5 1776
1, Ifthe asynchonous event happened 100 times in a short period, would all the 100events would be handled sequentially?
100个异步event同时发生是否都能被处理(即若一个异步事件还在响应中,又来了数个新的异步事件,后来的事件是否会丢失)
Eventshave a semantics and behavior of a a unix-style signals。如果没有处理,就会丢失,可以考虑TL选项来协同处理。
2,Dothe XML interface have any specific requirements about the data precision? CouldeXtremeDB support the XSD ?
XML的相关数据精度要求,是否支持XSD(导入导出浮点数的方式)
暂时不支持。
3, How is the sniffer recover the dead transaction? What is theprocedure?
发现有hang的事务后,Sniffer怎么恢复事务?
This function inspects the state of allconnections to the database using the
provided user's callback function. Itperforms database recovery if dead
connections were detected. The callbackuser defined function must implement
logic (using OS, timeout, watchdogs,...) todetect dead database connections. If
this callback returns MCO_S_DEAD_CONNECTIONthen recovery of the
database will be performed according to thesniffer policy specified.
The following enum defines sniffer policy(when sniffer should call user's
callback to check status of connection):
typedef enum mco_sniffer_policy {
MCO_SNIFFER_INSPECT_ACTIVE_CONNECTIONS,
MCO_SNIFFER_INSPECT_ACTIVE_TRANSACTIONS,
MCO_SNIFFER_INSPECT_HUNG_TRANSACTIONS
} mco_sniffer_policy;
The following typedef defines the usercallback which detects dead connections:
typedef MCO_RET (*mco_sniffer_callback_t)
(mco_db_h db,
void* context,
mco_trans_counter_t trans_no);
Nothing should be done to affect the inputparameters. These parameters are:
db: database connection handle.
context: user defined connection context.From the eXtremeDB point of view
this is opaque data of size MCO_CFG_CONNECTION_CONEXT_SIZEwhich is filled by
mco_db_connect_ctx() function.
trans_no: number of active transaction (0if there is no active transaction) .
It should return MCO_S_DEAD_CONNECTION toforce database recovery or
MCO_S_OK if the connection is ok; any otherreturn code will cause
mco_db_sniffer() to interrupt and returnthis error code.
如果有MCO_S_DEAD_CONNECTION,就会自动调用mco_db_recover( mco_db_h db,mco_db_h recover_db ); Normally adatabase that was not properly closed (perhaps after a system crash) will berecovered automatically during the mco_db_open_dev(). This function allows anapplication to explicitly recover a database.
详情可参考sniffer的源码。
4, Kernelveriosn could support vxworks 653?
Kernel是否可以在vx653上运行
不支持,接下来的版本会考虑这个问题。
5, Whatthe steps need to port th1e eXtremeDB from 3.5 to 4.5?
从3.5移植到4.5需要什么步骤,需要注意什么。
3.5到4.5基本没有太多的接口差异问题,可以从编译,链接等基本步骤做起,目前没有什么需要注意的事项。
6, What is the meaning of Mcocomp –f option?
Mcocomp –f 这个参数什么意思?
声明mco文件名称,默认情况下mco的文件名称可以放在最后,用-f后可以放在其他参数中间。
7, Couldthe database created with eXtremeDB 3.5 be opened by runtime of 4.5?
eXtremeDB3.5创建的数据库是否能被4.5打开。
不可以,需要数据导入到xml等方式进行数据的备份恢复。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



The Linuxext2 file system is a file system used on most Linux operating systems. It uses an efficient disk storage structure to manage the storage of files and directories. Before we delve into the physical storage structure of the Linuxext2 file system, we first need to understand some basic concepts. In the ext2 file system, data is stored in data blocks (blocks), which are the smallest allocable units in the file system. Each data block has a fixed size, usually 1KB, 2KB or 4

Solve the "error:redefinitionofclass'ClassName'" problem in C++ code. In C++ programming, we often encounter various compilation errors. One of the common errors is "error:redefinitionofclass 'ClassName'" (redefinition error of class 'ClassName'). This error usually occurs when the same class is defined multiple times. This article will

The clustering effect evaluation problem in the clustering algorithm requires specific code examples. Clustering is an unsupervised learning method that groups similar samples into one category by clustering data. In clustering algorithms, how to evaluate the effect of clustering is an important issue. This article will introduce several commonly used clustering effect evaluation indicators and give corresponding code examples. 1. Clustering effect evaluation index Silhouette Coefficient Silhouette coefficient evaluates the clustering effect by calculating the closeness of the sample and the degree of separation from other clusters.

Known for its powerful performance and versatile features, the iPhone is not immune to the occasional hiccup or technical difficulty, a common trait among complex electronic devices. Experiencing iPhone problems can be frustrating, but usually no alarm is needed. In this comprehensive guide, we aim to demystify some of the most commonly encountered challenges associated with iPhone usage. Our step-by-step approach is designed to help you resolve these common issues, providing practical solutions and troubleshooting tips to get your equipment back in peak working order. Whether you're facing a glitch or a more complex problem, this article can help you resolve them effectively. General Troubleshooting Tips Before delving into specific troubleshooting steps, here are some helpful

To solve the problem that jQuery.val() cannot be used, specific code examples are required. For front-end developers, using jQuery is one of the common operations. Among them, using the .val() method to get or set the value of a form element is a very common operation. However, in some specific cases, the problem of not being able to use the .val() method may arise. This article will introduce some common situations and solutions, and provide specific code examples. Problem Description When using jQuery to develop front-end pages, sometimes you will encounter

The generalization ability of machine learning models requires specific code examples. With the development and application of machine learning becoming more and more widespread, people are paying more and more attention to the generalization ability of machine learning models. Generalization ability refers to the prediction ability of a machine learning model on unlabeled data, and can also be understood as the adaptability of the model in the real world. A good machine learning model should have high generalization ability and be able to make accurate predictions on new data. However, in practical applications, we often encounter models that perform well on the training set, but fail on the test set or real

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

The label acquisition problem in weakly supervised learning requires specific code examples. Introduction: Weakly supervised learning is a machine learning method that uses weak labels for training. Different from traditional supervised learning, weakly supervised learning only needs to use fewer labels to train the model, rather than each sample needs to have an accurate label. However, in weakly supervised learning, how to accurately obtain useful information from weak labels is a key issue. This article will introduce the label acquisition problem in weakly supervised learning and give specific code examples. Introduction to the label acquisition problem in weakly supervised learning:
