CnosDB is an open-source distributed time series database with high performance, high compression rate and high ease of use.
Installation and Setup
Connecting to CnosDB
You can connect to CnosDB using theSQLDatabase.from_cnosdb()
method.
Syntax
- url (str): The HTTP connection host name and port number of the CnosDB service, excluding “http://” or “https://”, with a default value of “127.0.0.1:8902”.
- user (str): The username used to connect to the CnosDB service, with a default value of “root”.
- password (str): The password of the user connecting to the CnosDB service, with a default value of "".
- tenant (str): The name of the tenant used to connect to the CnosDB service, with a default value of “cnosdb”.
- database (str): The name of the database in the CnosDB tenant.