In our setup, below connection to database says Cassandra-3.9
[root@8d520 yugabyte]# ycqlsh 10.xx.xx.2 -u user -p passwd --ssl
Connected to local cluster at 10.xx.xx.x:9042.
[ycqlsh 5.0.1 | Cassandra 3.9-SNAPSHOT | CQL spec 3.4.2 | Native protocol v4]
Use HELP for help.
user@ycqlsh> DESCRIBE KEYSPACES;
system_schema system_auth system
I have been told that the database is yugabyteDB.
Yugaware GUI interface shows table as YCQL type
Why database type shown as Cassandra-3.9, in the above command? How to verify, if database is yugabyteDB or CassandraDB?
What is the difference between YSQL type table and YCQL type table?
The database is YugabyteDB. It supports two APIs - YCQL (apache Cassandra compatible) and YSQL (PostgreSQL compatible). The above means that you created a cluster, and in it created 3 YCQL tables (apache Cassandra compatible).
When you say, YSQL is PostgreSQL compatible, YSQL re-uses the upper half of PostgreSQL with a horizontally scalable lower half called DocDB. Being horizontally scalable, how YSQL(or load balancer) finds the shard owner to execute the query?