See below what tables are processed, updated based on the options selected
RME(Extract) does nothing by itself
- NBI_PROJ_RES_RATES_AND_COSTSCP is unchanged.
- NBI_PROJ_RES_RATES_AND_COSTS is unchanged.
RME(Prepare) prepares the rates
- NBI_PROJ_RES_RATES_AND_COSTSCP is populated.
- NBI_PROJ_RES_RATES_AND_COSTS is unchanged.
RME(Update) does nothing by itself
- NBI_PROJ_RES_RATES_AND_COSTSCP is unchanged.
- NBI_PROJ_RES_RATES_AND_COSTS is unchanged.
RME(Incremental) does nothing by itself
- NBI_PROJ_RES_RATES_AND_COSTSCP is unchanged.
- NBI_PROJ_RES_RATES_AND_COSTS is unchanged.
RME(Extract, Prepare) prepares the rates and extracts rates beyond project ranges for Schedulers
- NBI_PROJ_RES_RATES_AND_COSTSCP is populated.
- NBI_PROJ_RES_RATES_AND_COSTS is unchanged.
RME(Extract, Prepare, Update) aka "full RME", which is run off-hours nightly
Prepares the rates and extracts rates beyond project ranges for Schedulers and updates the main table
- NBI_PROJ_RES_RATES_AND_COSTSCP is populated.
- NBI_PROJ_RES_RATES_AND_COSTS is populated with data from NBI_PROJ_RES_RATES_AND_COSTSCP;
RME (Extract, Prepare, Update, Incremental) aka "incremental RME"
This is run during the daytime for performance and immediate rates. This prepares the rates and extracts rates beyond project ranges for Schedulers, updates the temp table
- NBI_PROJ_RES_RATES_AND_COSTSCP is truncated.
- NBI_PROJ_RES_RATES_AND_COSTS is populated.
Records to be processed:
SELECT '(PREPARE) NBI_PROJ_RES_RATES_AND_COSTSCP', COUNT(*)
FROM NBI_PROJ_RES_RATES_AND_COSTSCP --temporary, populated by RME.prepare option
UNION
select '(UPDATE) NBI_PROJ_RES_RATES_AND_COSTS', COUNT(*)
from NBI_PROJ_RES_RATES_AND_COSTS --live, populated by RME.update option