Quantcast
Channel: Microsoft Dynamics GP Forum - Recent Threads
Viewing all articles
Browse latest Browse all 45450

"Remove Posted PJOURNALs" SQL Server Agent Job

$
0
0

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.

  1. I would like to know if this Job is recommended/required in our PRODUCTION environment (currently it does not exist)?
  2. What is this job responsible for? and how will it affect our day to day processing?
  3. 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!


Viewing all articles
Browse latest Browse all 45450

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>