Relative Content

Tag Archive for yugabytedb

Check if database supports colocation in YugabyteDB?

Can I issue a sql-query to detect if a database supports colocation? I would like to have a check to see if a database or a table has the colocation property set ON or OFF, true/false… I currently have a scirpt creating 3 tables and one of those will normally fail, the result tells me if the database supports coloc (currently, and not sure if it is foolproof even..). Is it possible to “externalize” this property to some SQL-table or view, or is this possibly already the case.