Given that CockroachDB is implemented with a KV store under the hood, including the table metadata. Would every INSERT or UPDATE also make a call to the table metadata under the hood?
Apologies for the dumb question, new to databases here!
Given that CockroachDB is implemented with a KV store under the hood, including the table metadata. Would every INSERT or UPDATE also make a call to the table metadata under the hood?
Apologies for the dumb question, new to databases here!
Cockroach has a distributed metadata caching mechanism that it leverages to avoid reading system metadata while planning DML queries. The metadata will only need to be read if the query is the first time the gateway has seen a reference to that table.