CrateDB is a distributed and scalable SQL database for storing and analyzing massive amounts of data in near real-time, even with complex queries. It is based on Lucene, inherits technologies from Elasticsearch, and is compatible with PostgreSQL.
Things to remember when working with CrateDB are:
https://console.cratedb.cloud.docker.io/crate. Nightly images are available per docker.io/crate/crate:nightly._seq_no and _primary_term. information_schema is a special schema that contains virtual tables which are read-only and can be queried to get information about the state of the cluster. crate) which has the privilege to do anything. The privileges of other users and roles have to be managed using the GRANT, DENY or REVOKE statements. The privileges that can be granted, denied or revoked are: DQL, DML, DDL, AL. The privileges can be granted on different classes: CLUSTER, SCHEMA, TABLE, VIEW. You need this knowledge to work with permissions in CrateDB. CREATE TABLE command creates a new, initially empty table. The command accepts many important parameters for commandeering CrateDB's special features, mostly CLUSTERED and PARTITIONED BY, extended by exposing loads of options through its WITH modifier. CREATE TABLE AS will create a new table and insert rows based on the specified query. CREATE FOREIGN TABLE is a DDL statement that creates a new foreign table. A foreign table is a view onto data in a foreign system. ALTER TABLE command can be used to modify an existing table definition. It provides options to add columns, modify constraints, enabling or disabling table parameters and allows to execute a shard reroute allocation. The REROUTE command provides various options to manually control the allocation of shards. It allows the enforcement of explicit allocations, cancellations and the moving of shards between nodes in a cluster, giving you the ability to re-balance the cluster state manually. COPY FROM command copies data from a URI to the specified table.COPY TO command exports the contents of a table to one or more files into a given directory with unique filenames. FROM clause. true, false, or NULL. true, false, or NULL. true or false) or NULL. sys.cluster.settings column. Most cluster settings can be changed at runtime. cratedb_toolkit.datasets.load_dataset API primitive can be used to load curated datasets from https://github.com/crate/cratedb-datasets into your database programmatically, using a few lines of Python. The API is suitable to be used for exploring CrateDB in Python programs and scientific notebooks.