From 78758d7f224171b5de86e1b8ae72822c619be7c6 Mon Sep 17 00:00:00 2001 From: Alvaro Vega Date: Wed, 29 Nov 2023 13:18:25 +0100 Subject: [PATCH] Update ngsi_sth_sink.md --- doc/cygnus-ngsi/flume_extensions_catalogue/ngsi_sth_sink.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/cygnus-ngsi/flume_extensions_catalogue/ngsi_sth_sink.md b/doc/cygnus-ngsi/flume_extensions_catalogue/ngsi_sth_sink.md index 346763010..8a54b3043 100644 --- a/doc/cygnus-ngsi/flume_extensions_catalogue/ngsi_sth_sink.md +++ b/doc/cygnus-ngsi/flume_extensions_catalogue/ngsi_sth_sink.md @@ -302,6 +302,8 @@ Since version 3.0.0 of cygnus index named `cyg_agg_opt` is created in this way b 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 NGSISTHSink 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 (i.e. before doing the datamodel change) when cygnus and mongo loads allow it. + ## Administration guide ### Configuration `NGSISTHSink` is configured through the following parameters: