Query Database Node takes a long time

This query is simple enought

select noteId , miscMattersMainId , createdOn, createdBy , note from PLSM_note

Those are the only fields in the table and only two records in PLSM_note, 

This is being executed against the pre-defined data source that comes with Appian with almost no load on the server.
For reference, when I run this same query in the loud Database/MyPHPAdmin I get

Showing rows 0 - 2 (3 total, Query took 0.0003 seconds.)

So what's going on as it's taking more than five minutes to complete the execution?

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    There is a common misconception about Appian process performance. This is mixing up low level code execution time vs. node duration time. Appian is made to scale horizontally and can run millions of process instances at the same time. An individual process or node will not be run any faster.

    Keep in mind, this is about implementing a business process and assigning tasks to people. People do not know that they will get a task assigned, so they do not wait for it.

Reply
  • 0
    Certified Lead Developer

    There is a common misconception about Appian process performance. This is mixing up low level code execution time vs. node duration time. Appian is made to scale horizontally and can run millions of process instances at the same time. An individual process or node will not be run any faster.

    Keep in mind, this is about implementing a business process and assigning tasks to people. People do not know that they will get a task assigned, so they do not wait for it.

Children