It appears that you are experiencing an issue with your Azure Database for PostgreSQL instance where no transactions were recorded on 12 January, despite the application functioning normally. Here are some points to consider regarding your situation:
- Unplanned Downtime: Although your application was accessible, it is possible that there were underlying issues or maintenance activities that affected transaction recording. Azure Database for PostgreSQL has mechanisms to handle unplanned downtimes, but they may not always be visible at the application level.
- Monitoring and Alerts: Since you mentioned that no service outages or alerts were triggered, it would be beneficial to review the service health notifications in the Azure portal. This can help determine if there were any known issues on that date that could have impacted your database. You can check the Service Health page in the Azure portal for any active events or issues.
- Transaction Logs: If you suspect that transactions may not have been persisted, you might want to investigate the transaction logs and metrics available for your database. Azure Database for PostgreSQL provides various metrics that can help you analyze transaction activity and identify any anomalies.
- Point-in-Time Recovery: If you are concerned about data loss, consider implementing point-in-time recovery (PITR) strategies. This allows you to restore your database to a specific point in time, which can be useful if you need to recover from user errors or other issues.
- Future Safeguards: To prevent similar issues in the future, consider setting up alerts for transaction metrics and implementing more robust monitoring solutions. This can help you detect issues in real-time and take action before they impact your application.
If you need further assistance, it may be helpful to provide the specific details you mentioned, such as the database server name, resource ID, subscription ID, region, and relevant timestamps (UTC) to Azure Support for a more thorough investigation.
References: