Skip to Main Content
InterSystems Ideas

Have an idea, suggestion, or something that doesn’t work as expected in InterSystems products or services? Share it here on the InterSystems Ideas Portal.

The Ideas Portal is where community members can propose improvements, report bugs, and help influence the product roadmap across InterSystems products and the overall developer experience. 22% of submitted ideas are implemented by InterSystems or members of the Developer Community.

💡 Ideas and bugs are both welcome, no matter how big or small. You can submit feature requests, usability improvements, workflow suggestions, and bug reports. Whether you’re an experienced expert or just getting started, your fresh perspective is valuable.

🛠️ About bugs and fixes. If you have access to InterSystems WRC, please submit bugs there for immediate action. Bug reports submitted through the Ideas Portal are reviewed and tracked, but do not guarantee immediate resolution.

Start by sharing what could be better - the community and our teams will help take it from there.

Status Will not implement
Categories InterSystems IRIS
Created by Rodolfo Pscheidt Jr
Created on Apr 16, 2026

Create a keyword in the SELECT statement to synchronize the ECP

InterSystems IRIS implementations that use Enterprise Cache Protocol (ECP), such as distributed cache clusters, can synchronize query results. ECP is a distributed data caching architecture that manages the distribution of data and locks among a heterogeneous network of server systems.

Imagine a scenario where the front-end calls an API to create a order and then updates a table that lists those orders. The API that registers the orders is handled by ECP1, and the table is updated via JDBC, which is handled by ECP2. If this execution is very fast, the order created in ECP1 has not yet been updated in ECP2, so the table does not show the created order.

To ensure synchronization, we can change use the option $SYSTEM.SQL.Util.SetOption("ECPSync",1,.oldval). The documentation for this option can be found here: https://docs.intersystems.com/iris20253/csp/docbook/DocBook.UI.Page.cls?KEY=GSQL_queries#GSQL_queries_ecp

But this command must be called before executing the SQL, which has two problems:
- We are calling the SQL via JDBC, we cannot execute this command.
- The command changes the configuration for all executed SQL queries, not just the query we are going to run.

So my idea is to have a keyword in the SELECT statement so that it performs the $system.ECP.Sync() for that query only, for example:

"SELECT * from ECPSync package.mytable WHERE ..."


  • ADMIN RESPONSE
    Apr 22, 2026

    Thank you for submitting the idea. Based on information from our experts the status of your idea was changed to "Will not implement". Please look for details in the comments on the idea. Good luck!

  • Benjamin De Boe
    Apr 22, 2026

    We do not intend to extend our SQL dialect with very IRIS-specific or deployment-specific syntax. As John, is pointing out, this can already be called as a stored procedure prior to running your query

  • John Murray
    Apr 21, 2026

    Can you use this hint from the documentation?

    Projected as the stored procedure: Util_SetOption

    Though this might be a problem:

    You must have the "USE" permission on the %Admin_Manage Resource in order to change this configuration setting.