Relative Content

Tag Archive for yugabytedb

Changing index default sharding scheme to range in YugabyteDB

I saw the default sharding scheme for Secondary Indexes is HASH for the first column. (https://docs.yugabyte.com/preview/explore/indexes-constraints/secondary-indexes-ysql/)
My DDL is generated mostly via ORM (hibernate: create index IDXname on tbl_name (date_column_name)).

Issue compiling YugabyteDB

Issue: Compilation Failed
I have attached the CMakeError.log file.
Yugabyte Version: 2.14.11
System Info:
OS – Ubuntu22.04
Architecture: x86_64

Error binding socket when starting YugabyteDB

I have a problem when using yugabyte with persistence volume in docker.
On first run everything work fine, but when re-create container with existing volume, it fail to start:
master.err :

Optimistic and pessimistic locks in YugabyteDB

Newbie user here, starting to use yugabyteDB with some transactional queries.
Regarding optimistic and pessimistic locks, could somebody please clarify what is supported by yugabyte?