When an index is created on a populated table, YugabyteDB automatically backfills the existing data into the index. In most cases, this […]
Read MoreView gFlag Default Value from the Command Line
There are various configuration flags (called gFlags) for both YB-Master and YB-TServer nodes in a YugabyteDB universe. These gFlags allow you to […]
Read MoreGenerate a Random Timestamp Between Two Timestamps
In YSQL there is the familiar built-in function named RANDOM which generates a random value between 0 (inclusive) and 1 (exclusive). Although […]
Read MoreDisplay Table Size in YSQL
You can display the size of a YSQL table via the pg_table_size function. Example: yugabyte=# CREATE TABLE test (c1 INT); CREATE TABLE […]
Read MoreGenerate a Random UUID in YSQL
The UUID data type represents Universally Unique Identifiers (UUIDs). A UUID is a sequence of 32 hexadecimal digits separated by hyphens (8 digits […]
Read More