Beruflich Dokumente
Kultur Dokumente
Administration
Store Remediation Steps
Prepared By / ID
Reviewed by
Approved By
Name
Rajendra K V/raprasa
Terence Antony
Manager Delivery
Role
Manager
Delivery
Database Manager
Signature
RP
TA
Date
09-05-2013
09-05-2013
Ver: 1.0
C3: Protected
3. Maintenance Plans
All the Store servers should have maintenance jobs created on them in order to ensure that the Indexes
are optimized and updated on regular basis; this will make sure DML and DDL statements on SQL server
to perform better and have faster responses to application queries. Below is the list of maintenance
activities which needs to be done on each store server. These will be done by creating an SQL Agent Job
on SQL Server.
Index Rebuild
Index Re-Organize
Update Statistics
Database Integrity Check.
Store Build team will be creating these jobs as part of then build of any Store server, using the
attached scripts.
Ver: 1.0
C3: Protected
a) MX_Store_DailyIndexMaintenanceJob_DBA
This is index maintenance job which run daily and rebuild/reorg index based on fragmentation levels, if
fragmentation is beyond 30% then do rebuild else reorg. After rebuild activity it does update statistics.
For any queries about this job consult itisdatabase@loblaw.ca team
b) MX_Store_WeeklyCheckDBMaintenanceJob_DBA
This is Database integrity maintenance job which run weekly once and check database integrity. For any
queries about this job consult itisdatabase@loblaw.ca team
NOTE: Same steps needs to be repeated on all instances. Since SAP has 3 instances, above query has to
be executed thrice, once on each instance.
If any errors or failures while creating Jobs, Please contact itisdatabase@loblaw.ca
Ver: 1.0
C3: Protected
NOTE: Follow the same steps mentioned in Step 3 to execute the above SQL script.
If any errors or failures while executing above script, Please contact itisdatabase@loblaw.ca
Conclusion:
Implementing above mentioned steps will ensure that Store servers are stabilized and all prerequisites
are completed before the store is live.
Ver: 1.0
C3: Protected