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

Add Sharding in Cluster

Add master to cluster to complete the configuration of host name and params about master.

It can configure many data replica groups in a cluster, the max configurable is 60000. By adding replica groups, you can take advantage of the physical device for horizontal expansion, Theoretically, SequoiaDB can do linear horizontal scalability.

operation methods:

> var dataRG = db.createRG("datagroup1")
> dataRG.createNode("sdbserver1", 11820, "/opt/sequoiadb/database/data/11820")   
> dataRG.start()

The first command is used to create data replica group, and what different from catalog replica group is that this operation will not create any data node. The param is the name of data replica group.

The second command is used to create a new node in the data replica group, many times as needed to execute this command to create more data nodes.

amongs:

host : specify the host name of catalog node.

service : specify the service port of catalog node, please ensure this port and the next three ports are unoccupied; for example, if set port 11820, then ensure 11820/11821/11822/11823 are unoccupied.

dbpath: data file path, be used to store catalog data files, please ensure that the data administrator user has write access.(created when installed, dafault sdbadmin).

config : optional param, be used to configure more detail params. the form is json. param list refer to the section database configuration, for example configure the param of log size {logfilesz:64}.

The third command is used to start data replica group, and it will start all the data nodes and provide sercices.

please login to comment.
Latest Comment
  • 2015-02-14

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