@@ -124,9 +124,34 @@ type CollectionExtendedInfo struct {
124124type CollectionProperties struct {
125125 CollectionExtendedInfo
126126
127+ // The number of buckets into which indexes using a hash table are split. The default is 16 and this number has to be a power
128+ // of 2 and less than or equal to 1024. For very large collections one should increase this to avoid long pauses when the hash
129+ // table has to be initially built or resized, since buckets are resized individually and can be initially built in parallel.
130+ // For example, 64 might be a sensible value for a collection with 100 000 000 documents.
131+ // Currently, only the edge index respects this value, but other index types might follow in future ArangoDB versions.
132+ // Changes are applied when the collection is loaded the next time.
133+ //
134+ // Deprecated: since 3.7 version. It is related only to MMFiles.
135+ IndexBuckets int `json:"indexBuckets,omitempty"`
136+
137+ // DoCompact specifies whether or not the collection will be compacted.
138+ //
139+ // Deprecated: since 3.7 version. It is related only to MMFiles.
140+ DoCompact bool `json:"doCompact,omitempty"`
141+
127142 // JournalSize is the maximal size setting for journals / datafiles in bytes.
128143 JournalSize int64 `json:"journalSize,omitempty"`
129144
145+ // If true then the collection data is kept in-memory only and not made persistent.
146+ // Unloading the collection will cause the collection data to be discarded. Stopping or re-starting the server will also
147+ // cause full loss of data in the collection. Setting this option will make the resulting collection be slightly faster
148+ // than regular collections because ArangoDB does not enforce any synchronization to disk and does not calculate any
149+ // CRC checksums for datafiles (as there are no datafiles). This option should therefore be used for cache-type collections only,
150+ // and not for data that cannot be re-created otherwise. (The default is false)
151+ //
152+ // Deprecated: since 3.7 version. It is related only to MMFiles.
153+ IsVolatile bool `json:"isVolatile,omitempty"`
154+
130155 // SmartJoinAttribute
131156 // See documentation for SmartJoins.
132157 // This requires ArangoDB Enterprise Edition.
0 commit comments