In SQL ServerI can create Select Statements that return results in 5-10 seconds. No matter what I do in PervasiveI cannot get any to return in under 5 minutes unless it is the most basic select.
SELECT "Z_KEY_0_COMP_1", "DAT"
FROM "SA_HDR"
WHERE "DAT" BETWEEN '20021231' and '20031231'
ORDER BY "Z_KEY_0_COMP_1" DESC
This one takes 5 minutes to return 80000 records from 200000 records
I try to create nested statement and I am still waiting 1 hour later.
Is it like this for everybody?
Am I expecting too much?
SELECT "Z_KEY_0_COMP_1", "DAT"
FROM "SA_HDR"
WHERE "DAT" BETWEEN '20021231' and '20031231'
ORDER BY "Z_KEY_0_COMP_1" DESC
This one takes 5 minutes to return 80000 records from 200000 records
I try to create nested statement and I am still waiting 1 hour later.
Is it like this for everybody?
Am I expecting too much?