Skip to content

Commit

Permalink
Update db_indexes.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega authored Oct 19, 2023
1 parent 395ec9f commit d77bcd1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/manuals/db_indexes.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ It is recommended to create the following index in this collection:
The performance difference can be dramatic for large sets of data. For instance, for a collection with around ~3000000
query execution time can drop from 3 seconds to 1 millisecond.

Since version 3.0.0 of cygnus an index named `cyg_raw_opt` is created in this way but depending on datamodel.

## Indexes in the aggregated data collection

It is recommended to create the following index in this collection:
Expand All @@ -26,3 +28,5 @@ It is recommended to create the following index in this collection:

The performance difference can be dramatic for large sets of data. For instance, for a collection with around ~6000000
query execution time can drop from 28 seconds to 20 millisecond.

Since version 3.0.0 of cygnus index named `cyg_agg_opt` is created in this way but depending on datamodel.

0 comments on commit d77bcd1

Please sign in to comment.