We’re experiencing critical timeout issues with manufacturing cost overview exports in TC 12.3. When finance runs month-end reports covering 18 months of cost history across 3,500+ assemblies, the export process consistently fails after 4-5 minutes with database timeout errors.
The query appears to be pulling all cost records without pagination, and we’re seeing memory spikes to 12GB on the method server during execution. I’ve tried adjusting the report timeout settings in site.xconf, but the underlying database query optimization seems to be the real bottleneck.
SELECT * FROM CostHistory ch
JOIN PartMaster pm ON ch.partId = pm.id
WHERE ch.effectiveDate BETWEEN '2023-09-01' AND '2025-03-01'
ORDER BY ch.effectiveDate DESC
This blocks our entire month-end financial close process. Has anyone successfully implemented pagination strategies or query optimization for large manufacturing cost exports?