<?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>Need to update a table with millions of rows present.</title><link>https://community.appian.com/discussions/f/data/28466/need-to-update-a-table-with-millions-of-rows-present</link><description>Hello Community, I need to upgrade a table where there are more than 1 million rows available, I want to know can this operation be performed at Appian end, I am thinking of retrieving the data in batches of 5000, that batch needs to go through encryption</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Need to update a table with millions of rows present.</title><link>https://community.appian.com/thread/111814?ContentTypeID=1</link><pubDate>Wed, 26 Apr 2023 13:33:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:50961270-9feb-48c7-8fd8-0964939edcc6</guid><dc:creator>PK1</dc:creator><description>&lt;p&gt;That&amp;#39;s the main reason we are creating this utility for, replacing data which was encrypted by old plugin and re encrypt it with the newer function available.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need to update a table with millions of rows present.</title><link>https://community.appian.com/thread/111616?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2023 08:41:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d7d3dd02-35d9-4d41-b0c5-664cfb3c444f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I suggest to redesign this and get rid of the need for the update and that encryption thing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need to update a table with millions of rows present.</title><link>https://community.appian.com/thread/111613?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2023 07:06:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d84b5664-865f-412f-94dc-7363245e8019</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;In that case, as Stefan said, you can do it during nonworking hours, when there are close to no people working and the least active processes.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need to update a table with millions of rows present.</title><link>https://community.appian.com/thread/111611?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2023 07:02:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:68394331-20d4-4495-ba04-b58f3b334d37</guid><dc:creator>PK1</dc:creator><description>&lt;p&gt;Hello Harshit,&lt;br /&gt;Thanks for quick reply, I will try to elaborate:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;1. Planning to create it as a utility, so it can be reused in future.&lt;br /&gt;2. Yes data will increase overtime.&lt;br /&gt;3. Probably 4-5 columns will be queried as one row.&lt;br /&gt;4. we need to apply new appian encrytion on these queried data, and need to store it back again, I am not sure whether encrypting the data can be done through Stored Procedure.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need to update a table with millions of rows present.</title><link>https://community.appian.com/thread/111608?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2023 06:48:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2860eb9e-0c1f-448c-bd6d-0d7209aa8b83</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You write &amp;quot;&lt;span&gt;Since this processing needs to be done at Appian end&amp;quot;. Seems like there are no options. Just make sure to do this during low-activity times and add a bit of a delay to the loop.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need to update a table with millions of rows present.</title><link>https://community.appian.com/thread/111607?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2023 06:36:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:81a3179f-7c7a-453a-8e4d-7ec61da2ba2f</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;There are a couple of factors to determine it.&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Is this a one-time operation?&lt;/li&gt;
&lt;li&gt;If this is not a one-time operation and repetitive instead, then will the data increase over time?&lt;/li&gt;
&lt;li&gt;What is the size of each row?&lt;/li&gt;
&lt;li&gt;Any specific&amp;nbsp;reason for doing it via Appian and not an SP on the database instead?&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Doing it via SP will anyway be faster and more promising considering you have a huge data and you need to perform the update operation.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>