Hi folks,
I working as a DBA at my current company. I have three quick question for you all in regards to Microsoft Dynamics GP 10, specifically a SQL Server Agent Job.
Within our TEST environment we have a SQL job called “Remove Posted PJOURNALs From All Companies”. This job runs every 30 minutes and calls the smCleanupCompanyPostingJournalEntries stored procedure in the Dynamics database.
- I would like to know if this Job is recommended/required in our PRODUCTION environment (currently it does not exist)?
- What is this job responsible for? and how will it affect our day to day processing?
- Should the PJOURNAL table in production have over 8.6 million records?
The reason I’m asking is that I’m seeing a stored procedure called glpGetAccountInfo execute and run extremely slow because it’s attempting to read through the 8.6 million records in the PJOURNAL table without a proper index. I thought the SQL Agent Job I mentioned above might have something to do with cleaning up this table, therefore speeding up this process.
Any help/information would be greatly appreciated.
Thank you!