<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Issue while executing Queryentity.</title><link>https://community.appian.com/discussions/f/data/28896/issue-while-executing-queryentity</link><description>Hi All, 
 We are using a queryentity to retrieve the data from DB View. While retrieving the data we are seeing below intermittent issue. Our query rule is too long, I have attached that. Any suggestions to optimize this rule. 
 
 at function a!queryenti</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Issue while executing Queryentity.</title><link>https://community.appian.com/thread/113919?ContentTypeID=1</link><pubDate>Thu, 08 Jun 2023 07:47:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7de02171-4858-4e0b-9881-2163acf9691b</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Database views are known for degrading performance with an increasing data volume if not designed and optimized carefully. Do you have a chance to switch to synced records?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue while executing Queryentity.</title><link>https://community.appian.com/thread/113913?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2023 22:51:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ba273faf-d69a-489d-b3f8-1b532a490f83</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;You could try reducing the number of columns you are returning.&lt;/p&gt;
&lt;p&gt;It seems like you are querying a view.&amp;nbsp;I would suggest that you look at the underlying query and see if you can&amp;#39;t optimize that. You could also add some indexes on some of the underlying tables. Finally you could build materialized views (physical tables that you refresh from time to time).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>