V
V
Victor Bo2021-10-08 12:07:49
PostgreSQL
Victor Bo, 2021-10-08 12:07:49

Why index tables by uuid?

PostgreSQL database, where tables are indexed by uuid. These fields are generated as random, non-repeating numbers. The task is to determine that new records are added to the end of the table. I could only offer to add one more column index_id of integer values ​​and index the table on it. Tell me, with what intent are tables indexed by uuid?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2021-10-08
@kobo

Obviously, to quickly find by uuid.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question