This is the implementation of the YugabyteDB data handler for MindsDB. YugabyteDB is a high-performance, cloud-native distributed SQL database that aims to support all PostgreSQL features. It is best fit for cloud-native OLTP (i.e. real-time, business-critical) applications that need absolute data correctness and require at least one of the following: scalability, high tolerance to failures, or globally-distributed deployments.Documentation Index
Fetch the complete documentation index at: https://docs.mindsdb.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before proceeding, ensure the following prerequisites are met:- Install MindsDB locally via Docker or Docker Desktop.
- To connect YugabyteDB to MindsDB, install the required dependencies following this instruction.
- Install or ensure access to YugabyteDB.
Implementation
This handler is implemented usingpsycopg2, a Python library that allows you to use Python code to run SQL commands on the YugabyteDB database.
The required arguments to establish a connection are as follows:
useris the database user.passwordis the database password.hostis the host name, IP address, or URL.portis the port used to make TCP/IP connection.databaseis the database name.schemais the schema to which your table belongs.
Usage
In order to make use of this handler and connect to the YugabyteDB database in MindsDB, the following syntax can be used:NOTE : If you are using YugabyteDB Cloud with MindsDB Cloud website you need to add below 3 static IPs of MindsDB Cloud to 
allow IP list for accessing it publicly.