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.