Welcome to SequoiaDB DDS!
mongod- The database server.mongos- Sharding router.mongo- The database shell (uses interactive javascript).
编译示例:
python3 build.py install-devcore compiledb -j 20参数说明
| Parameter | Description |
|---|---|
| install-devcore | 仅编译mongod/mongos/mongo |
| compiledb | 生成compile_commands.json供vscode clangd使用 |
| -j | 线程数,不能超过CPU核数 |
| DDS_VERSION=x.y.z[-extra] | 手动指定DDS版本号 |
More Details see Building.
DDS版本号即为git describe --abbrev=7所输出的内容,其原理是找到距离当前提交最近的tag,确保拉取远程仓库的tags请使用命令:
git fetch --tags也可在编译参数中指定DDS_VERSION=x.y.z[-extra]来手动指定DDS版本号
For command line options invoke:
$ ./mongod --helpTo run a single server database:
$ sudo mkdir -p /data/db
$ ./mongod
$
$ # The mongo javascript shell connects to localhost and test database by default:
$ ./mongo
> helpClient drivers for most programming languages are available at
https://docs.mongodb.com/manual/applications/drivers/. Use the shell
(mongo) for administrative tasks.
See https://github.com/mongodb/mongo/wiki/Submit-Bug-Reports.
Packages are created dynamically by the buildscripts/packager.py script. This will generate RPM and Debian packages.
https://docs.mongodb.com/manual/
SequoiaDB DDS is free and the source is available. Versions released prior to October 16, 2018 are published under the AGPL. All versions released after October 16, 2018, including patch fixes for prior versions, are published under the Server Side Public License (SSPL) v1. See individual files for details which will specify the license applicable to each file. Files subject to the SSPL will be noted in their headers.