I have used JSP paganation but never run into this issue before. I'm reading thousands of records and creating paganation in few sec/min. on our test server, but when it goes to production server same paganation taking half hour to create ? Any idea why is so ??