Description
Request adoption of new standardized SQL maintenance jobs for Edison TruePACS sites We request all GE applications that use a Microsoft SQL server database (ETP, EA application, UV, CCG, etc) deploy and use the same standard SQL maintenance jobs for database backups, integrity check, reindex, and update statistics. This will result in easier deployment, reduced training time, reduced support time, and reduced errors. All jobs need to be made SQL Always On aware so they do not run on secondary server causing an error. We have filed several ALM failures (see list at bottom) with GE ETP engineering due to several errors with the current ETP SQL maintenance jobs.
GE support team is temporarily replacing most ETP SQL maintenance jobs at customer sites. Engineering was notified February 15, 2023. Due to ALM failures like ETP ALM399 (missing transaction log backups caused customer down time) and other failures the GE support team will replace all SQL database maintenance jobs for backups, integrity check, reindex, and update statistics with 1 set of standard SQL jobs at all ETP application sites. The jobs will be similar to Hallengren jobs already deployed by the EA application except they will now cover all databases on the server. We expect engineering will adopt the 6 new SQL jobs created by GE Support team or something similar in a later release version of the ETP and EA applications. From agreement with Vijay Arlagadda on April 14, 2023 we hope for standardized SQL jobs from engineering team as of ETP version 8.0 SP3. Details (GE) After replacing the SQL jobs the result will be: 1 Weekly (weekend) reindex and update statistics job. Replaces all reindex/update statistics jobs. 1 Nightly job for update statistics. Runs every weeknight. Replaces all update statistics jobs. AA- Update Statistics User DB – Daily Nightly update statistics.
Version of the SQL backup jobs intended for Amazon cloud servers and able to back up to Amazon S3 storage are: AA-Backup Full ALL Databases-Cloud S3-Steps AA-Backup Diff All User Dbs-Cloud S3-Steps AA_Backup Tlogs All User Dbs-Cloud S3-Steps
Attaching a check version script as well. All jobs must be SQL Always On aware so they first check to make sure this database server is the primary cluster server else don’t run.
Process to install: If EA SQL jobs are already installed then run 2 scripts to install 2 stored procedures, then create the 6 new jobs. See the 6 attached scripts.
Note: This new backup job no longer appends to 1 EA backup file for all full and differential backups. Instead each database creates its own subdirectory and stores full backups, differential backups, and transaction log backups in this folder and subfolders. This was done to fix a failure in the EA backup at 3 customer sites NYP, ValleyHealth, and Huron where frequent and sporadic network interruptions corrupted the 1 backup file 70% of the time. It was not a problem with the Hallengren jobs. It was a problem due to GE had chosen to write all backups appending to 1 backup file. This has been corrected in these new backup jobs.
ETP ALM 399 3 databases missing transaction log backups. Caused customer down time. ETP ALM 406 ETP reindex job failing due to SQL page level lock setting. ETP ALM # ? Another failure is in process of creation. ETP SQL jobs were not made SQL Always On aware. New jobs fix this. GE Support disabled and replaced all other update statistics jobs and reindexing jobs at GE ETP sites where they were erroring. These can be temporary steps until GE engineering standardizes and simplifies the SQL maintenance jobs so 1 set of SQL jobs can be used for all GE SQL databases (applications EA, ETP, UV, CCG, etc). Example sites are Grand River and HCA Meadows. IndexOptimize Stored Procedure.sql DatabaseBackup Alter StoredProcedure.sql DatabaseIntegrityCheck Alter Stored Procedure.sql CommandExecute Alter Stored Procedure.sql AA- Integrity Check All Dbs.sql AA-Backup Diff All User Dbs.sql AA- Update Statistics User DB - Daily.sql AA - Weekly Reindex Update Stats User Dbs.sql AA-Backup Full ALL Databases.sql NewSQL_Jobs_Readme.txt AA_Backup Tlogs All User Dbs.sql AA-Backup Full ALL Databases-Cloud S3-Steps.sql AA_Backup Tlogs All User Dbs-Cloud S3-Steps.sql AA-Backup Diff All User Dbs-Cloud S3-Steps.sql |