weicao / cascadb Goto Github PK
View Code? Open in Web Editor NEWYet another write-optimized storage engine, using buffered B-tree algorithm inspired by TokuDB
License: BSD 3-Clause "New" or "Revised" License
Yet another write-optimized storage engine, using buffered B-tree algorithm inspired by TokuDB
License: BSD 3-Clause "New" or "Revised" License
I would like to point out that identifiers like "_CASCADB_DB_H_
" and "_CASCADB_FILE_H_
" do not fit to the expected naming convention of the C++ language standard.
Would you like to adjust your selection for unique names?
1 when run make there is a problem appears:
like this
~/code/cascadb/src/tree/node.cpp: In member function ‘virtual bool cascadb::SchemaNode::read_from(cascadb::BlockReader&)’:
~/code/cascadb/src/tree/node.cpp:932: error: no matching function for call to ‘cascadb::BlockReader::readUInt64(size_t_)’
~/code/cascadb/src/serialize/block.h:77: note: candidates are: bool cascadb::BlockReader::readUInt64(uint64_t_)
2 ./src/serialize/super_block.h:21 0x62646163736163 suggest modify 0x62646163736163LL or gcc will report a notice
Insert record.
if (!db->put("This is the key", "This is the value") {
fprintf(stderr, "put error\n");
}
should be
if (!db->put("This is the key", "This is the value")) {
fprintf(stderr, "put error\n");
}
Read record.
Slice value;
if (!db->get("This is the key", value) {
fprintf(stderr, "get error\n");
}
fprintf(stdout, "the value is %s", value.to_string().c_str());
should be
if (!db->get("This is the key", value)) {
....
When I make,it show missing ../bin/db_bench?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.