<?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>What is the Best way to write high volume of data into database</title><link>https://community.appian.com/discussions/f/general/33902/what-is-the-best-way-to-write-high-volume-of-data-into-database</link><description>Hi All, 
 I have an interface where we are having paragraph field and grid . User will be giving data in the paragraph field in specific format and will click on add button, Once they clicked on it, it will be written into database and the grid will be</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: What is the Best way to write high volume of data into database</title><link>https://community.appian.com/thread/128820?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2024 17:40:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ac520a10-8f16-4ed1-8603-0c2974962ecb</guid><dc:creator>Abhay Dalsaniya</dc:creator><description>&lt;p&gt;It is definitely not a best practice to&amp;nbsp;maintain large volume of records in draft/editable mode and save it in single transaction.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the Best way to write high volume of data into database</title><link>https://community.appian.com/thread/128604?ContentTypeID=1</link><pubDate>Thu, 01 Feb 2024 00:42:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d0e42305-af9e-421c-b4e8-5b4df568fdb1</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Not much you can do to speed up the writes but I am curious to know how many columns these records have.&lt;/p&gt;
&lt;p&gt;I can write 1000 records from a JSON in 2-3 seconds.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the Best way to write high volume of data into database</title><link>https://community.appian.com/thread/128576?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2024 16:19:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3efc9c72-59a3-4d2d-9434-e9176387f690</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;There could be multiple ways of looking at it based on what is more important.&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If the priority is to take less time, then I will advise changing the approach and letting the user save every record once they are done working on it. This will surely increase the clicks but will ensure that every data is saved instantly so the 2 minutes is reduced to almost negligible.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;If the priority is to keep it performant and keep the user efforts minimal, then I will advice writing the data in batches of 100 and calling this process as an async process. You can add a refresh interval of 30 seconds on your grid data to auto-refresh and show the newly written batch of data&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>