0

I'm adjusting my oracle table definition for cockroachdb, is there any equivalent to oracle SEGMENT CREATION in cockroachdb?

I also asked this question on cockroachDB forum.

MT0
  • 143,790
  • 11
  • 59
  • 117
Cyrus
  • 912
  • 2
  • 11
  • 21

1 Answers1

1

CockroachDB does not have anything exactly equivalent to Oracle's "segments". It has "ranges", which serve some of the same purposes but do not represent a pre-allocation of space. There are no options at table creation time that control the creation of ranges. (You can change range_max_bytes in a zone config, although that's not the same as the Oracle option that I think you're referring to). See the FAQ for more on ranges.

Ben Darnell
  • 21,844
  • 3
  • 29
  • 50