v1.10

Document

How to Start SequoiaDB

Basic Operation

Data Model

Database Management

Aggregation

Index

Replication

Cluster

Connector

Reference

Development

Release Note

FAQ

  • Content
  • Comments
  • History

SequoiaDB Limitation

Limits

Document

Description Limits
Minimum length of document At least contains one field
Maximum length of document When document is transformed into BSON, the length should be lesser than 16777168 bytes.
Field name It should not be started with "$". It should not contain ".".

Collection

Description Limits
Maximum length of collection name 127 bytes
Collection name It should not be started with "$" or "SYS". It should not contain ".".
Maximum capacity of collection consisted of single node It is the maximum capacity of collection space
Maximum amount of collections in a collection space consisted of single node 4096

Collection Space

Description Limits
Maximum length of collection space name 127 bytes
Collection space name It should not be started with "$" or "SYS". It should not contain ".".
Size of data page 4096, 8192, 16384, 32768, 65536
Maximum capacity of collection space consisted of single node It can be 512GB, 1TB, 2TB, 4TB, 8TB.
Maximum amount of standalone-node collection space 4096

Index

Description Limits
Maximum length of each data index key 1024 bytes
Total length of index (It includes index name, index key, etc.) . When an index is transformed into BSON, the length should be equal to or lesser than the size of data page minus 48 bytes.
Multiple index It can contain all kinds of legal fields. But it contains at most one field which contains array.
Order value of index key 1 or -1
Maximum amount of index in one collection 64

Database

Description Limits
Minimum size of log file 64MB
Maximum size of log file 2GB

Node

Description Limits
Maximum amount of nodes in each replset 7
Create node Nodes should be created through hostname rather than IP address.
Network All the systems in a cluster should be able to visit each other through hostname.
Vote condition of master node Vote will not be carried out unless more than half of nodes in replset take part in it.

Shard

Description Limits
Data split Each moment, only a range of data can be split in each collection.
Shard key The value of shard key is unchangable after data is inserted.
_id "_id" in shard collection is unique in replset, but maybe not globally unique.
Unique index It should contain all fields in sharding key.

Driver

Description Limits
Thread-safe Each connection object and its subobject are not thread-safe to each other. Different connections are thread-safe to each other.
please login to comment.
Latest Comment
  • 2015-02-15

About Us

SequoiaDB is a financial-level distributed database vendor and is the first Chinese database listed in Gartner’s Magic Quadrant OPDBMS report. SequoiaDB has recently released version 3.0.
SequoiaDB is now penetrating the vertical sector Financial Industry quickly and had more than 50 banking clients and hundreds of enterprise customers in industries including government, telecommunication, Internet and IoT.

Beijing:
Tower R, No.8 North Star East Road, Chaoyang District, Beijing,China
Guangzhou:
Tower A, No.22 Qinglan Street, Panyu District, Guangzhou,China
Shenzhen:
Tsing Hua Tech Park, Nanshan District, Shenzhen,China
Tel:400-8038-339
E-mail:contact@sequoiadb.com