Showing Post From Database

Connecting to CockroachDB cluster from Python

Here we will connect to CockroachDB database using Python. Specifically we will be using psycopg2 library Create a Virtual Environment and install psycopg2 library $ python3 -m venv env $ source env/bin/activate (env) $ pip3 install psycopg2-binary Collecting psycopg2-binary Using cached psycopg2_binary-2.

Read more

Installing CockroachDB client on Ubuntu 20.04

Here we will install the CockroachDB database & client on Ubuntu 20.04 Operating system You will need to use sudo if you get any permission errors.

Read more

Creating a CockroachDB cluster

CockroachDB is a distributed SQL database management system, developed by Cockroach Labs. It is relatively new entrant to the database space & designed for speed, scale, and survival.

Read more