Skip to content

Commit

Permalink
Update doc/cygnus-ngsi/flume_extensions_catalogue/ngsi_mongo_sink.md
Browse files Browse the repository at this point in the history
Co-authored-by: Fermín Galán Márquez <[email protected]>
  • Loading branch information
AlvaroVega and fgalan authored Nov 29, 2023
1 parent fe45fd8 commit 06faa9b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ Since version 3.0.0 of cygnus an index named `cyg_raw_opt` is created in this wa

Note that attempting to use any other datamodel different from these ones will cause a "Unknown data model" ERROR in log traces. In addition, note that default datamodel for NGSIMongoSink is dm-by-entity as all others sinks which uses datamodel.

When datamodel changes Cygnus tries to recreate index (delete current and create a new one) depending on keys related to datamodel. This procedure could takes much time depending on data volume and existence of mongo cluster deploy. In order to reduce this time, an expected index could be created in advance when cygnus and mongo loads allow it.
When datamodel changes Cygnus tries to recreate index (delete current and create a new one) depending on keys related to datamodel. This procedure could takes much time depending on data volume and existence of mongo cluster deploy. In order to reduce this time, an expected index could be created in advance (i.e. before doing the datamodel change) when cygnus and mongo loads allow it.

## <a name="section2"></a>Administration guide
### <a name="section2.1"></a>Configuration
Expand Down

0 comments on commit 06faa9b

Please sign in to comment.