Open Closed

Change one table to another Db #8140


User avatar
0
nvc_abp_dev2 created
  • ABP Framework version: v7.3.3
  • Database System: EF Core (SQL Server)

Hi guys, we want to check if it is possible to move just the AbpAuditLog table to another data base, we are currently facing a problem with this table, and it is way too big, and we are wondering if it is possible to move this table to CosmosDB.

Do we have to separate the whole audit log module from Administration and from there move the module to cosmos? or can we do just that specific table?

Thanks in advance!


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can replace the AuditingStore to save audit logs somewhere else.

    https://github.com/abpframework/abp/blob/dev/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/AuditingStore.cs#L52-L59

Made with ❤️ on ABP v9.1.0-preview. Updated on October 22, 2024, 09:35