Archive Types: Difference between revisions

Ash (talk | contribs)
mNo edit summary
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 6: Line 6:
* Live (with Archive)
* Live (with Archive)
* Live (no archive)
* Live (no archive)
* Developer
* Static
* Static


[[File:archive_cut_off.png|thumb|right|400px|Archive Data]]
 
=== Live (with Archive) ===
=== Live (with Archive) ===


Line 19: Line 18:


It is also possible to configure a '''Cut Off Date''' which will instruct OdataLink to archive all data prior to this date. This increases the performance when pulling large amounts of historical data. The Cut Off Date can either be entered directly, or calculated from number of months or days prior to today.
It is also possible to configure a '''Cut Off Date''' which will instruct OdataLink to archive all data prior to this date. This increases the performance when pulling large amounts of historical data. The Cut Off Date can either be entered directly, or calculated from number of months or days prior to today.
 
[[File:archive_cut_off.png|thumb|right|400px|Archive Data Cut Off Date]]
The following options are available to configure the Cut Off Date for Archiving:
The following options are available to configure the '''Cut Off Date''' for Archiving:


;Do not archive data by date  
;Do not archive data by date  
:disables the archiving mechanism except for specific endpoints.
:Disables the archiving mechanism except for specific endpoints.
;Archive data prior to cut off date  
;Archive data prior to cut off date  
:archives any data created prior to the cut off date entered.
:Archives any data created prior to the cut off date entered.
;Archive data prior X months  
;Archive data prior X months  
:archives any data created prior to the cut off date calculated from the number of months entered.
:Archives any data created prior to the cut off date calculated from the number of months entered.
;Archive data prior X days  
;Archive data prior X days  
:archives any data created prior to the cut off date calculated from the number of days entered.
:Archives any data created prior to the cut off date calculated from the number of days entered.


It may also be important to configure the [[Archive Paging]] option can force paging by month or year.
It is also possible to configure it so that OdataLink '''polls for changes'''. For more on polling, see [[Configure OdataLink to poll for changes]].
 
It may also be important to configure the [[Archive Paging]] option, which can force paging by month or year.




Line 39: Line 40:


This is option is only recommended for those that need maximum security. It does come at the cost that some endpoints will be particularly slow.
This is option is only recommended for those that need maximum security. It does come at the cost that some endpoints will be particularly slow.
=== Developer ===
When the '''Archive Type''' is set to '''Developer''', OdataLink will be optimised for developing reports. In this mode, Live data will only be served once every 8 hours. If a refresh takes place within 8 hours of the last refresh, it will instead served cached data stored in an encrypted archive.
The benefit is that it makes refreshes faster but at the cost of not always retrieving the latest data.
This is the default when creating a model.
This is the preferred option when building reports. It should be changed to '''Live''' or '''Live (no archive)''' once development is complete.




Line 58: Line 48:
This option is mostly used for data that never changes such as historical data.
This option is mostly used for data that never changes such as historical data.


== Change Logs ==
:'''2026-05-01'''
:The '''Developer''' archive type has been phased out in favour of a '''Developer Option''' can be turned on as part of the '''Live (with archive)''' archive type. This was done to simplify the archive type and allow you to toggle the developer setting without losing other configuration options.


== Related ==
== Related ==