A Quantum Approximate Optimization Algorithm for Resource Allocation in Database System (IEEE Access, 2026)