Partial reload
A full reload always starts by deleting all tables in the existing data model, and then runs the load script.
A partial reload will not do this. Instead it keeps all tables in the data model and then executes only Load and Select statements preceded by an Add, Merge, or Replace prefix. Other data tables are not affected by the command. The only argument denotes that the statement should be executed only during partial reloads, and should be disregarded during full reloads. The following table summarizes statement execution for partial and full reloads.
Statement | Full reload | Partial reload |
---|---|---|
Load ... | Statement will run | Statement will not run |
Add/Replace/Merge Load ... | Statement will run | Statement will run |
Add/Replace/Merge Only Load ... | Statement will not run | Statement will run |
Partielle Ladevorgänge haben im Vergleich zu vollständigen Ladevorgängen mehrere Vorteile:
-
Sie sind schneller, da nur die kürzlich geänderten Daten geladen werden müssen. Bei großen Datensätzen ist der Unterschied signifikant.
-
Es wird weniger Speicher verbraucht, da weniger Daten geladen werden.
-
Der Vorgang ist zuverlässiger, da Abfragen an Datenquellen schneller ausgeführt werden, was das Risiko von Netzwerkproblemen reduziert.
Führen Sie einen partiellen Ladevorgang durch, indem Sie die Schaltfläche Laden nutzen. Weitere Informationen finden Sie unter Button. Sie können auch das Qlik Engine JSON API verwenden.
Limitations
A partial reload will fail if there are commands with references to tables that existed during full reload, but not during partial reload.
A partial reload can remove values from the data. However, this will not be reflected in the list of distinct values, which is a table maintained internally. So, after a partial reload, the list will contain all distinct values that have existed in the field since the last full reload, which may be more than what currently exists after the partial reload. This affects the output of the FieldValueCount() and the FieldValue() functions. The FieldValueCount() could potentially return a number greater than the current number of field values.