Transaction isolation is foundational to handling concurrent transactions in databases. The SQL-92 standard defines four levels of transaction isolation (in decreasing order […]
Read MoreAdd a Unique Key to a Materialized View
Materialized views in YSQL are relations that persist the results of a query. They can be created using the CREATE MATERIALIZED VIEW […]
Read MoreUpdate Current Rows When Adding a Column with a Default
A table column in YSQL can have a default value. If an INSERT statement does not specify a value for the column, […]
Read MoreFind All Table Columns Storing Some Value
A long time ago a database developer asked me how she could produce a list of all table columns in the database […]
Read MoreEnforce Uniqueness Across Partitions (Option 2)
In a previous tip we learned that Partitioning is another term for physically dividing large tables in YugabyteDB into smaller, more manageable tables […]
Read More