<?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 querying large data - data approx 1M+</title><link>https://community.appian.com/discussions/f/data/28669/issue-while-querying-large-data---data-approx-1m</link><description>Hi Team, 
 I was facing some issue while querying and performing larger data such as approx 1M+ data at a time. Considered I&amp;#39;m querying data from approx 5 table using some filter to reduce some search results and storing in seperate variable with the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Issue while querying large data - data approx 1M+</title><link>https://community.appian.com/thread/112690?ContentTypeID=1</link><pubDate>Sun, 14 May 2023 11:02:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:18413ebf-b232-4780-b037-c28ddc930ba3</guid><dc:creator>ravis</dc:creator><description>&lt;p&gt;And talking about stored procedure, so in stored process you can join the tables and pass parameters for filtering and all.&lt;br /&gt;And call that stored procedure in Process model also with smart service or function.&lt;br /&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue while querying large data - data approx 1M+</title><link>https://community.appian.com/thread/112689?ContentTypeID=1</link><pubDate>Sun, 14 May 2023 10:57:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8398ffbc-3da2-4c15-8f6e-f93ca9bdf387</guid><dc:creator>ravis</dc:creator><description>&lt;p&gt;May you please provide some more details that how you are using that data in the process model and why you need whole data at once?&lt;br /&gt;And also you may try again that query by apply selection on it (only keep those fields/columns that you need in the process).&lt;br /&gt;Thank You.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue while querying large data - data approx 1M+</title><link>https://community.appian.com/thread/112688?ContentTypeID=1</link><pubDate>Sun, 14 May 2023 10:49:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:697f5342-ee2e-4b27-bc5b-d4b8d75d65d5</guid><dc:creator>vigneshkumarradhakrishnan</dc:creator><description>&lt;p&gt;Hi Ravi, Im trying to use large amount of Number(Integer) from table and trying to access in&amp;nbsp;process model. Can you please share more about&amp;nbsp;&lt;span&gt;stored procedure and&amp;nbsp;executeStoredProcedure function?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue while querying large data - data approx 1M+</title><link>https://community.appian.com/thread/112687?ContentTypeID=1</link><pubDate>Sun, 14 May 2023 10:45:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1ac00f6c-866a-43f5-bb9f-c43229f180d3</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;You shouldn&amp;#39;t be querying large sets in a process model. Why are you doing this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue while querying large data - data approx 1M+</title><link>https://community.appian.com/thread/112686?ContentTypeID=1</link><pubDate>Sun, 14 May 2023 10:44:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5dbccb3e-5d2a-4c00-80d5-3412b4f4bc6d</guid><dc:creator>vigneshkumarradhakrishnan</dc:creator><description>&lt;p&gt;not in grid, Im querying data&amp;nbsp;for trying to use in process models&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue while querying large data - data approx 1M+</title><link>https://community.appian.com/thread/112685?ContentTypeID=1</link><pubDate>Sun, 14 May 2023 10:33:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ccec90d3-8ee0-426e-9817-871c51da60e0</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;What are you using this query for?&lt;/p&gt;
&lt;p&gt;Are you displaying a grid? In that case, you should use paging.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue while querying large data - data approx 1M+</title><link>https://community.appian.com/thread/112684?ContentTypeID=1</link><pubDate>Sun, 14 May 2023 10:30:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4940895e-b1b5-4e3b-bbf7-097ba1e9b360</guid><dc:creator>ravis</dc:creator><description>&lt;p&gt;And may you please provide some more details that how you are using that data?&lt;br /&gt;I mean, in a grid, and so on?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue while querying large data - data approx 1M+</title><link>https://community.appian.com/thread/112683?ContentTypeID=1</link><pubDate>Sun, 14 May 2023 10:28:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8831697e-ce3e-448d-9ff4-6bb56e030627</guid><dc:creator>ravis</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;You may create a stored procedure and create an expression rule to fetch that data using executeStoredProcedure function.&lt;br /&gt;Thank You.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue while querying large data - data approx 1M+</title><link>https://community.appian.com/thread/112682?ContentTypeID=1</link><pubDate>Sun, 14 May 2023 09:13:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c7decefb-1653-43f5-863e-e06f73f5eb06</guid><dc:creator>vigneshkumarradhakrishnan</dc:creator><description>&lt;p&gt;Even after multiple filters, there was more data so not able to access at the same time. Can you share bit more about Appian&amp;nbsp;&lt;span&gt;circuit breaker?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue while querying large data - data approx 1M+</title><link>https://community.appian.com/thread/112670?ContentTypeID=1</link><pubDate>Sat, 13 May 2023 18:00:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4be7ed2e-4fd4-4511-9c29-ac0639679e73</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;You are bound by memory. Appian has a circuit breaker to avoid you bringing it down.&lt;/p&gt;
&lt;p&gt;I would suggest filtering directly in your query. Don&amp;#39;t use index or forEach on such large datasets.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>