Delay in CDR History Records to show up

Hello Team
I observed that while the Time (at the top right) might be something like
17:13:20 the latest CDR History record might be lagging at about 6 hours behind 2024-06-28 10:48:03
Meanwhile there are many calls between this time.

This is causing the Origination Performance and Termination Distribution not to display any stats until interval is set to 1 Day.

Please, any idea what may be causing this?

Screenshot 2024-06-28 at 5.19.49 PM
Screenshot 2024-06-28 at 5.20.02 PM

Looks like your CDR db has no enough performance to handle CDR writing. It may be caused by slow hardware or incorrect configuration.

Please what can I check to identify the root cause?

How many cps your system processing, what hw configuration on Cdr db server and how postgresql configured?