erpcustomer.epicor.com€¦ · web viewepicor recommends creating a maintenance plan in sql server...

16
Epicor recommends creating a Maintenance Plan in SQL Server to Rebuild Indexes on a weekly basis to maintain performance of real-time replication of Eclipse data and BAQs. Internal accounts with less data (but does have Customer Profit Analyzer tables), less hardware and only the default indexes completely rebuild in about 1 hour. In SQL Server 2012, the Maintenance Plan Wizard is depicted below: 1. Once connected to your SQL Server, expand the Management folder in the tree and right-click on Maintenance Plans, click on the Maintenance Plan Wizard: 2. If you do not get the following error, proceed to Step 6: Epicor Software 2013. All rights reserved

Upload: others

Post on 10-Apr-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: erpcustomer.epicor.com€¦ · Web viewEpicor recommends creating a Maintenance Plan in SQL Server to Rebuild Indexes on a weekly basis to maintain performance of real-time replication

Epicor recommends creating a Maintenance Plan in SQL Server to Rebuild Indexes on a weekly basis to maintain performance of real-time replication of Eclipse data and BAQs. Internal accounts with less data (but does have Customer Profit Analyzer tables), less hardware and only the default indexes completely rebuild in about 1 hour.

In SQL Server 2012, the Maintenance Plan Wizard is depicted below:

1. Once connected to your SQL Server, expand the Management folder in the tree and right-click on Maintenance Plans, click on the Maintenance Plan Wizard:

2. If you do not get the following error, proceed to Step 6:

Epicor Software 2013. All rights reserved

Page 2: erpcustomer.epicor.com€¦ · Web viewEpicor recommends creating a Maintenance Plan in SQL Server to Rebuild Indexes on a weekly basis to maintain performance of real-time replication

3. Do the following: under the Integration Services Catalogs folder in the left pane Object Explorer tree is a SQL Server Agent (Agent XPs disabled). Right Click and select Start from the menu:

Epicor Software 2013. All rights reserved

Page 3: erpcustomer.epicor.com€¦ · Web viewEpicor recommends creating a Maintenance Plan in SQL Server to Rebuild Indexes on a weekly basis to maintain performance of real-time replication

4. You will see the following, click Yes:

Epicor Software 2013. All rights reserved

Page 4: erpcustomer.epicor.com€¦ · Web viewEpicor recommends creating a Maintenance Plan in SQL Server to Rebuild Indexes on a weekly basis to maintain performance of real-time replication

5. And then you’ll get the following, click Yes:

6. Now re-attempt the right-click on Maintenance Plans to start the Wizard and Click Next:

Epicor Software 2013. All rights reserved

Page 5: erpcustomer.epicor.com€¦ · Web viewEpicor recommends creating a Maintenance Plan in SQL Server to Rebuild Indexes on a weekly basis to maintain performance of real-time replication

Epicor Software 2013. All rights reserved

Page 6: erpcustomer.epicor.com€¦ · Web viewEpicor recommends creating a Maintenance Plan in SQL Server to Rebuild Indexes on a weekly basis to maintain performance of real-time replication

7. Fill in a name for your Maintenance Plan and click the Change button:

Epicor Software 2013. All rights reserved

Page 7: erpcustomer.epicor.com€¦ · Web viewEpicor recommends creating a Maintenance Plan in SQL Server to Rebuild Indexes on a weekly basis to maintain performance of real-time replication

8. Select a Recurring day and time for the rebuild to take place. Click OK and then Next on the Wizard screen to which you return.

9. Select the activities you wish to include in this maintenance plan…the key point is to Rebuild Indexes…you may elect to include backup tasks or SQL Server Agent Jobs (to provide

Epicor Software 2013. All rights reserved

Page 8: erpcustomer.epicor.com€¦ · Web viewEpicor recommends creating a Maintenance Plan in SQL Server to Rebuild Indexes on a weekly basis to maintain performance of real-time replication

notifications), but this document is limited to just the rebuild index aspect. Click Next

Epicor Software 2013. All rights reserved

Page 9: erpcustomer.epicor.com€¦ · Web viewEpicor recommends creating a Maintenance Plan in SQL Server to Rebuild Indexes on a weekly basis to maintain performance of real-time replication

10. Choose the order in which you desire the selected tasks to occur, Click Next:

11. The Rebuild Index Task screen appears and you first need to select the Database. Ensure that you check the database configured in Eclipse in the SQL Server Configuration Screen

Epicor Software 2013. All rights reserved

Page 10: erpcustomer.epicor.com€¦ · Web viewEpicor recommends creating a Maintenance Plan in SQL Server to Rebuild Indexes on a weekly basis to maintain performance of real-time replication

12. Select Object ‘Tables and views’ (though by default no views are part of the Eclipse ICE SQL Replication solution) and check the box to “Keep index online while reindexing” and the radio

Epicor Software 2013. All rights reserved

Page 11: erpcustomer.epicor.com€¦ · Web viewEpicor recommends creating a Maintenance Plan in SQL Server to Rebuild Indexes on a weekly basis to maintain performance of real-time replication

button to “Rebuild indexes offline” for index types that do not support online index rebuilds. Click Next:

13. Adjust any of the Cleanup Task time frames that you desire, or simply click Next to accept the defaults:

Epicor Software 2013. All rights reserved

Page 12: erpcustomer.epicor.com€¦ · Web viewEpicor recommends creating a Maintenance Plan in SQL Server to Rebuild Indexes on a weekly basis to maintain performance of real-time replication

Epicor Software 2013. All rights reserved

Page 13: erpcustomer.epicor.com€¦ · Web viewEpicor recommends creating a Maintenance Plan in SQL Server to Rebuild Indexes on a weekly basis to maintain performance of real-time replication

Epicor Software 2013. All rights reserved

Page 14: erpcustomer.epicor.com€¦ · Web viewEpicor recommends creating a Maintenance Plan in SQL Server to Rebuild Indexes on a weekly basis to maintain performance of real-time replication

14. Choose the location of the maintenance plan report and click Next:

Epicor Software 2013. All rights reserved

Page 15: erpcustomer.epicor.com€¦ · Web viewEpicor recommends creating a Maintenance Plan in SQL Server to Rebuild Indexes on a weekly basis to maintain performance of real-time replication

15. Click Finish after validating all is configured as you wish:

Epicor Software 2013. All rights reserved

Page 16: erpcustomer.epicor.com€¦ · Web viewEpicor recommends creating a Maintenance Plan in SQL Server to Rebuild Indexes on a weekly basis to maintain performance of real-time replication

16. Click Close after the Maintenance Plan Wizard finishes its actions

Epicor Software 2013. All rights reserved