Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!

The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.

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