Skip to content

use at_ts_extents instead of av_tsv for version_dates#136

Open
adamkorynta wants to merge 12 commits into
mainfrom
feature/improve_ts_extents_update
Open

use at_ts_extents instead of av_tsv for version_dates#136
adamkorynta wants to merge 12 commits into
mainfrom
feature/improve_ts_extents_update

Conversation

@adamkorynta

@adamkorynta adamkorynta commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

Closes #134

  • this procedure is not used by CDA so this lessens the concern of at_ts_extents being stale due to GoldenGate streaming

adamkorynta and others added 12 commits April 6, 2026 13:10
* Add Cwms_Ts.Update_Ts_Extents_For_Office
  - operates for specified office only
* Add Cwms_Ts.Purge_Invalid_Ts_Extents
  - removes all ts extents records for non-existent time series
* Mod Cwms_Ts.Update_Ts_Extents(P_Office_Id, P_Version_Date)
  - If both params null: call Update_Ts_Extents_For_Office for session ofc
  - If one param is null: improved queries for which time series to update
  - Otherwise: minor changes
* Mod Cwms_Ts.Start_Update_Ts_Extents_Job
  - Starts individual jobs for all offices with time series in database
  - First jobs starts at Saturday 0200 UTC; others start at 1-hour offsets
* test_cwdb_322_ts_extents_not_updating_for_new_versioned_ts
* Add Cwms_Ts.Retieve_Update_Ts_Extents_Log_Messages function
@perrymanmd perrymanmd marked this pull request as ready for review June 26, 2026 20:56
@perrymanmd perrymanmd requested review from a team, Enovotny, MikeNeilson, perrymanmd and rma-psmorris and removed request for a team, perrymanmd and rma-psmorris June 26, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix performance for UPDATE_TS_EXTENTS

2 participants