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

Collection

Concept

Collection a logical object where documents are stored. Every document belongs to one and only one collection.

Collection consists of ".". The length of a collection name is at most 127 bytes, encoded with UTF-8. A collection contains zero or more documents. (The max amount of documents depends on the size of collection space.)

In sharding enviroment, apart from name, every collection contains three attributes.

Field Name Description
ShardingKey Specified sharding key. In collections, the field specified by sharding key is used as sharding information of document. Every document is put in its corresponding sharding.
ShardingType Specified set partition type:range partitioning (Range) or hash partitioning (Hash).
ReplSize It specifies the default replicaiton size in the collection. If its value is less than 1, write request will return when one copy is written successfully. If its value is more than 1, write request will return when the amount of successfully written copies euqals at least the value of ReplSize.
Compressed Specified the value of "Compressed" means whether stored data in compressed form, it has two values:true and false, false is in default.
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