I am testing ProofChat on a copy of my client’s DB, which is installed on FM Server on my laptop… so it’s local, no network. I have added three TOs and a small number of fields to the relationship graph, and pointed the necessary scripts (Configure DDL, etc) to them. It works, but it’s unbearably slow. The Work Orders table has 328,000 records. I have tagged about 6 fields with the LLM tag in the comments. Two of these fields are Status and State, both of which are indexed. I did a search for this:
show me all work orders in the state of IL with a status of scheduled
The SQL Query shows up as this:
SELECT “DuctsWorkOrders”.ROWID, “DuctsWorkOrders”.“WorkOrderID”, “DuctsWorkOrders”.“DateCompleted”, “DuctsWorkOrders”.“DateScheduled”, “DuctsWorkOrders”.“ServiceType”, “DuctsWorkOrders”.“State”, “DuctsWorkOrders”.“Status” FROM “DuctsWorkOrders” WHERE UPPER(“DuctsWorkOrders”.“State”) = UPPER(‘IL’) AND UPPER(“DuctsWorkOrders”.“Status”) = UPPER(‘Scheduled’)
It returned 27 records, which is correct, but it took nearly a full minute. That same search in FM is instantaneous. Is this normal?