index is longer than the query and deletion time, so we should first look at the insert performance. A simple table is used to complete all subsequent tests. The table contains only two fields: INTEGER intKey and VARCHAR strKey. The test platform is Windows 7 32bit System (Evaluation Copy 7127) and the compiler is VC6 SP6. Run on the DELL target instance 640m. the CPU is Intel Core 2 CPU T5500 @ 1.66 GHZ and the memory is 2.5 GB.
For FastDB (in disk
Compared with traditional disk databases, a memory database fully loads data to the memory to manage data in the memory, the improvements have been made in data synchronization, data transmission, transaction processing, and parallel operations, allowing the memory database to process data much faster than the disk database, it can effectively solve the high response requirements of the system in the billing system, such as credit control and real-time accounting.
The project decided to use the
Error reported when the cli_autoincrement auto-Increment Variable is defined in Fastdb, fastdbcli
I recently tried to use fastdb for development. The test in c ++ version is basically OK. Because the project team adopts C # development, I switched to C # To develop fastdb. The results showed that C # versions were castrated, if the custom variable is auto-increm
FASTDB Study Notes
These days have been learning the use of FASTDB, will be some of the learning experience and notes written for everyone to reference!
The 1,register_in () macro cannot be used in the main function; 2, UPDATE and delete the cursor is updatecurrsor, the other is the general currsor; 3, the current value of the cursor is the object of the current query. 4, the Client server infrastructur
recently trying to use Fastdb for development, C + + version under test basic OK , since the project team adopted C # development, so the switch C # Development Fastdb , the results found C # version of a variety of castration, if the definition of variable self-increment, then a type definition error occurs, a trace down found in Fastdb not defined when value is
Tags: fastdb C # Chinese character bufferFastdb the C # version, if the field type is defined as CLI. Fieldtype.cli_asciiz, the use of the process of inserting the Chinese character set will appear garbled situation, Tracing code discovery is in the process of Copybufferdata the string buffer directly fastdb directly using the s.length to obtain the number of characters, rather than get the number of bytes,
Take Fastdb as an example, there are many demo Fastdb examples to use, c++demo how to use ..., with Visual Studio 2013To the familiar person is too simple, unfamiliar person is childs ... Don't talk nonsense, on the steps ...Material Preparation:Fastdb source:http://www.garret.ru/fastdb.htmlTools: Visual Studio 2013Open the Fastdb folder you will see there are Fa
Fastdb's Chinese Character truncation error
In Fastdb C #, if the field type is defined as CLI. FieldType. cli_asciiz, garbled characters may occur when the Chinese character set is inserted,
Tracing code found that during the CopyBufferData process of the string buffer, fastdb directly uses s. length gets the number of characters, rather than the number of bytes. Because the Chinese character occupies two
Fast dB has been used in recent projects. To improve access efficiency, fast dB adopts the diskless mode for compilation.The maximum size of shared memory is limited by system parameters,The following data is the default value in Linux im_monitor 2.6.9-42. elsmp:CAT/proc/sys/kernel/shmmax33554432The default size is 32 MB;
In fastdbCode32 m is also used as the capacity limit. Once the capacity exceeds the threshold, expansion will not be performed; the process will exit;The specific code line i
having after calculation. It can be seen that to filter a condition to play a correct role, you must first understand when the condition should take effect, and then decide to put it there.As an experiment, the where filter cannot contain fields to be calculated.
3. What is Query Optimization
Http://blog.chinaunix.net/u/10080/showart.php? Id = 170107
Query OptimizationQuery OptimizationCompared with traditional RDBMS queries, because all the data is in the memory, the query execution is ve
Label:Remember the first job earlier, very proud to write a very large storage process, chat about how to reference the index, how to write SQL fast; Think about how good, easy to meet, easy happy, laugh! Or at the end of the year, after a big project! Just a little time to study fastdb, because it was used before the commercial database was useless. Later, the problem of concurrency capability was discovered and switched to the commercial database. I
Because of work needs, I re-studied the database technology. My practice is to start searching the Internet from the algorithm, and the algorithms of the database technology itself have not changed much. I used hash, btree, 10 years ago, these are the things now !! Algorithms are the most stable and slowest part of IT evolution.
I haven't used commercial relational databases for a long time. I am naturally tired of SQL. Maybe I wrote too many SQL statements 10 years ago, so I am exhausted whe
In the development of game server, a data server is often used to cache game data in the front-end of the database, and the whole system performance can be improved by submitting the transaction in batches.Please refer to the dbmgr described in one of the Here I describe a caching strategy used by Dbmgr, which is practiced and used in large game projects: Dbmgr uses the memory database Fastdb to cache non log class data.Such data as player status is
Welcome to the Oracle community forum and interact with 2 million technical staff. Introduction to memory database: applications of memory databases are available in multiple projects of the Institute, however, the memory database used by the Institute has multiple versions, and there is no uniform version. FastDb is currently the mainstream. The following problems are common: the access method does not comply with the SQL92 specification and does not
the heat station crashes, use the cold station to continue service.It is recommended to use multiple live sites with lower cost and dynamic invocation. The disadvantage is that it increases the difficulty of operation and maintenance.13 Design with Cloud technologyCloud computing is a bit of virtualization, which can be a resilient expansion device when business peaks. And in daily processing, return the extension.The disadvantage is that it improves the coupling applied to the virtual environm
Memory Database Management System by storing the core data of the database in the memory. This article first studies the relevant theories of the memory database management system, including the definition of the memory database, differences with the disk database management system, data structure, indexing, transaction processing, query optimization, database recovery, and other technologies. Secondly, based on the object-oriented idea and relational model, an embedded memory database manageme
is relatively simple, but the query performance and expansibility of database system become a bottleneck in the process of large-scale transaction data query and a lot of risk rule processing. It is difficult to meet the requirements of real-time analysis of risk events.2), Memory Database scheme: Because of the huge transaction data query, analysis consumes the database resource extremely, may use the memory database scheme to replace the relational database, guarantees the risk event real-tim
Contact Us
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.