Asset Portfolio Management causes decline in SQL performance