| 1 | [vectordb](../README.md) / [Exports](../modules.md) / CompactionMetrics |
| 2 | |
| 3 | # Interface: CompactionMetrics |
| 4 | |
| 5 | ## Table of contents |
| 6 | |
| 7 | ### Properties |
| 8 | |
| 9 | - [filesAdded](CompactionMetrics.md#filesadded) |
| 10 | - [filesRemoved](CompactionMetrics.md#filesremoved) |
| 11 | - [fragmentsAdded](CompactionMetrics.md#fragmentsadded) |
| 12 | - [fragmentsRemoved](CompactionMetrics.md#fragmentsremoved) |
| 13 | |
| 14 | ## Properties |
| 15 | |
| 16 | ### filesAdded |
| 17 | |
| 18 | • **filesAdded**: `number` |
| 19 | |
| 20 | The number of files added. This is typically equal to the number of |
| 21 | fragments added. |
| 22 | |
| 23 | #### Defined in |
| 24 | |
| 25 | [index.ts:1273](https://github.com/lancedb/lancedb/blob/92179835/node/src/index.ts#L1273) |
| 26 | |
| 27 | ___ |
| 28 | |
| 29 | ### filesRemoved |
| 30 | |
| 31 | • **filesRemoved**: `number` |
| 32 | |
| 33 | The number of files that were removed. Each fragment may have more than one |
| 34 | file. |
| 35 | |
| 36 | #### Defined in |
| 37 | |
| 38 | [index.ts:1268](https://github.com/lancedb/lancedb/blob/92179835/node/src/index.ts#L1268) |
| 39 | |
| 40 | ___ |
| 41 | |
| 42 | ### fragmentsAdded |
| 43 | |
| 44 | • **fragmentsAdded**: `number` |
| 45 | |
| 46 | The number of new fragments that were created. |
| 47 | |
| 48 | #### Defined in |
| 49 | |
| 50 | [index.ts:1263](https://github.com/lancedb/lancedb/blob/92179835/node/src/index.ts#L1263) |
| 51 | |
| 52 | ___ |
| 53 | |
| 54 | ### fragmentsRemoved |
| 55 | |
| 56 | • **fragmentsRemoved**: `number` |
| 57 | |
| 58 | The number of fragments that were removed. |
| 59 | |
| 60 | #### Defined in |
| 61 | |
| 62 | [index.ts:1259](https://github.com/lancedb/lancedb/blob/92179835/node/src/index.ts#L1259) |