<?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>APNX-1-4205-040</title><link>https://community.appian.com/discussions/f/data/34799/apnx-1-4205-040</link><description>Hi all, 
 
 we have a record based on a view, so no sync options is possible. 
 
 The view is quite complex, it takes 10 second from db side and 20 seconds on Appian side to be executed, 
 
 The record list works correctly, we have inserted the record</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: APNX-1-4205-040</title><link>https://community.appian.com/thread/134292?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2024 18:25:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d9853474-7854-4dbb-91ee-0db63bd9504b</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Agreed, I might look at indexing on the view in this case as well.&lt;/p&gt;
&lt;p&gt;Additionally, I would caution against querying based on a&amp;nbsp;list of ID inputs, as this is not scalable if the list can grow continuously.&amp;nbsp; Alternative solutions will depend on the use case and current configurations.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APNX-1-4205-040</title><link>https://community.appian.com/thread/134291?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2024 18:23:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cfc1c96f-5b08-4cb0-b7ff-9a587c8d550c</guid><dc:creator>juergeng0002</dc:creator><description>&lt;p&gt;I bet, as mentioned in the error message, you are hitting the timeout or memory limit.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As Stefan mentioned, you have to find a different way to implement it.&lt;br /&gt;&lt;br /&gt;What we did in a similar case:&lt;/p&gt;
&lt;p&gt;We used a stored procedure to dump the content of the view every 15 minutes into a flat table (using a process model)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We defined a record type based on that table and inform the user on the UI at what time it was last updated.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, you have the capability to perform a sync on that flat table with data fabric by executing a &amp;#39;fake deployment&amp;#39; of the record type&lt;br /&gt;utilizing the Deployment APIs. Doing so, has the benefit that you don&amp;#39;t have to deal with the primary keys.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Appian will sync the whole record type. Data Fabric is of course only an option, if the number of records (4 million) are not exceeded.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We have made good experience with this approach. Hope that helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APNX-1-4205-040</title><link>https://community.appian.com/thread/134288?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2024 18:05:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:72e69580-d3f2-46f6-9e16-ab947ba67ac1</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Well, I do not see a question.&lt;/p&gt;
&lt;p&gt;But to solve this, you will have to speed up that view or find a different way to implement that requirement.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>