Question

Mobile - Still executing... Database Process is waiting for MWS.

  • 23 April 2024
  • 2 replies
  • 32 views

Userlevel 5
Badge +12

Hi All.

I’m facing this situation where it takes a long time to sync a single task to mobile user, about 30 40 minutes.

 

The user need to initialize the app to receive the task.

 

Using Apps10 UPD17, MWO Maintenance app Aurena.

 

Sync Task [10565723] of User [FRSA] Device [27559] - Still executing... Database Process is waiting for MWS.

 

Any ideia what might it be?

 

 


2 replies

Userlevel 6
Badge +14

Hi,

MWS is taking more time to process the PUSH sync task. This delay could be caused by one or multiple entities experiencing slow execution.

To identify currently executing slow SQL, you'll need to check the active sessions in Oracle, which requires DBA support.

If you can consistently replicate this issue for a user, then gather the Sync traces (ensure it's enabled before testing) to pinpoint the slow SQL queries. This problem is likely associated with a large dataset or poor SQL execution within the application entity.

Sometimes, a single Sync Task may receive a large number of records simultaneously for synchronization. Check the Push Queue and observe the data change pattern. Do you notice a significant increase in the number of push queue records within a short interval?

Userlevel 5
Badge +12

Hi,

MWS is taking more time to process the PUSH sync task. This delay could be caused by one or multiple entities experiencing slow execution.

To identify currently executing slow SQL, you'll need to check the active sessions in Oracle, which requires DBA support.

If you can consistently replicate this issue for a user, then gather the Sync traces (ensure it's enabled before testing) to pinpoint the slow SQL queries. This problem is likely associated with a large dataset or poor SQL execution within the application entity.

Sometimes, a single Sync Task may receive a large number of records simultaneously for synchronization. Check the Push Queue and observe the data change pattern. Do you notice a significant increase in the number of push queue records within a short interval?

Hi @kathlk , tks for the info. I talked to local support and they made a configuration in another customer to increase the number of processes to 35 and some setting in the oracle database.

 

They will apply this setting to our environment and let’s see if we have a solution.

Br.

Lopes

Reply