<?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>Database</title><link>https://community.appian.com/discussions/f/general/29944/database</link><description>I&amp;#39;m using view to get different columns from two tables and using that view to generate the report in excel. 
 So my question is : After the 5-6 years the data will be large inside the view which I&amp;#39;m using currently, so is there any alternate way to get</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Database</title><link>https://community.appian.com/thread/118913?ContentTypeID=1</link><pubDate>Sun, 10 Sep 2023 09:54:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e8853660-f017-424c-89b6-d3ea8044b99d</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Somewhat overkill but if you *absolutely* want to avoid views, there is the option of doing a materialized view. Some DBMSes offer this option where the view can refresh itself (Oracle, SQL Server). Otherwise, you&amp;#39;d have to have a scheduled process that runs SQL or Stored Procs to refresh the data in the table periodically.&lt;/p&gt;
&lt;p&gt;More info here: &lt;a href="https://learn.microsoft.com/en-us/azure/architecture/patterns/materialized-view"&gt;learn.microsoft.com/.../materialized-view&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database</title><link>https://community.appian.com/thread/118911?ContentTypeID=1</link><pubDate>Sun, 10 Sep 2023 09:34:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:31fd6c4b-ef64-4d2d-b397-2cf99095bc61</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;If you use the plugin &amp;quot;Export Data Store Entity to Excel&amp;quot; I do not see&amp;nbsp;any other option. It does not work with Appian synced records.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database</title><link>https://community.appian.com/thread/118908?ContentTypeID=1</link><pubDate>Sat, 09 Sep 2023 17:42:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c363057e-6c5a-45f5-a9d5-1fe32aba6e1e</guid><dc:creator>prachit0003</dc:creator><description>&lt;p&gt;The reason is that my manager is asking me to use something else rather than using views.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you so much.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database</title><link>https://community.appian.com/thread/118907?ContentTypeID=1</link><pubDate>Sat, 09 Sep 2023 17:35:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d513ceb6-8912-4356-b5a9-7dcfc2070691</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;What do you mean? For what problem? You do not have any! At least not in the next 20 years.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database</title><link>https://community.appian.com/thread/118901?ContentTypeID=1</link><pubDate>Sat, 09 Sep 2023 14:17:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ce5518a2-3ba6-4210-9724-cb4f679ea5d6</guid><dc:creator>prachit0003</dc:creator><description>&lt;p&gt;But with the time the data will get larger so need the solution for it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database</title><link>https://community.appian.com/thread/118899?ContentTypeID=1</link><pubDate>Sat, 09 Sep 2023 14:06:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8f7729b9-7b1c-4217-8d4a-0303b2cbb127</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;With that small data volume, do not invest any time. Your design is good enough.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database</title><link>https://community.appian.com/thread/118896?ContentTypeID=1</link><pubDate>Sat, 09 Sep 2023 13:40:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3740a225-6156-462f-b3cd-2214f35b5dd8</guid><dc:creator>prachit0003</dc:creator><description>&lt;p&gt;It is straight data export based on some filters used in smart service.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database</title><link>https://community.appian.com/thread/118895?ContentTypeID=1</link><pubDate>Sat, 09 Sep 2023 13:30:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7c10cac0-f1fd-40b8-9a39-87ed36c8378e</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;That&amp;#39;s not a whole lot of data even after 6 years.&lt;/p&gt;
&lt;p&gt;You never answered my question - is this just a&amp;nbsp;straight data export or are you doing some number crunching and generating some kind of report in Excel?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database</title><link>https://community.appian.com/thread/118892?ContentTypeID=1</link><pubDate>Sat, 09 Sep 2023 12:32:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9288b2e2-7c10-4c54-8c8d-e6beda768f4d</guid><dc:creator>prachit0003</dc:creator><description>&lt;p&gt;It is Travel booking application first table have Booking (Table 1) details done by the user and second table have Travel package (Table 2) added by the application admin.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- Number of rows in both tables as of now : &lt;/span&gt;&amp;nbsp;now Table 1 have 200 rows and&amp;nbsp;Table 2 have 150 rows.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- Number of rows added per year in both tables : Consider Table 1 have 1000 rows and Table 2 have 200 rows.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- How often do you run that report? : One is running monthly and other daily, and user can also generate report on his demand by providing date and time from interface, and based on user input it check the data in view and gives the result.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- Does a user need to wait or is this generated in the background? : For generating the report I&amp;#39;m providing a link and startProcess inside interface, as the user clicks on click the process gets started.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- Did you consider synced records? : Yes&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- Did you already implement database optimisation? Indexing, foreign keys etc... : I&amp;#39;m using record types in application so implemented relationship between record types. Table 1 has foreign key of Table 2 primary key.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Inside view I&amp;#39;m using Inner join and comparing the foreign key of Table 1 and primary key of Table 2.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database</title><link>https://community.appian.com/thread/118891?ContentTypeID=1</link><pubDate>Sat, 09 Sep 2023 11:05:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3d996db4-4b2d-4993-bb70-b970e8538a40</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Sorry, but your &amp;quot;overview&amp;quot; misses the most important numbers:&lt;/p&gt;
&lt;p&gt;- Number of rows in both tables as of now&lt;/p&gt;
&lt;p&gt;- Number of rows added per year in both tables&lt;/p&gt;
&lt;p&gt;Then some questions:&lt;/p&gt;
&lt;p&gt;- How often do you run that report?&lt;/p&gt;
&lt;p&gt;- Does a user need to wait or is this generated in the background?&lt;/p&gt;
&lt;p&gt;- Did you consider synced records?&lt;/p&gt;
&lt;p&gt;- Did you already implement database optimisation? Indexing, foreign keys etc...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database</title><link>https://community.appian.com/thread/118889?ContentTypeID=1</link><pubDate>Sat, 09 Sep 2023 10:20:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ede76313-f77f-4900-8ca9-d5d17d1b4f6a</guid><dc:creator>prachit0003</dc:creator><description>&lt;p&gt;Actually I just gave the overview of my project. My exact question is after 5-6 years the data will be larger in the view so fetching particular data is time taking, then what should I use instead of view to get the data faster.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database</title><link>https://community.appian.com/thread/118888?ContentTypeID=1</link><pubDate>Sat, 09 Sep 2023 09:38:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:17d06f89-fc5f-4f5f-a854-b21f38af6780</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Depends on what you are trying to do.&lt;/p&gt;
&lt;p&gt;Is this an actual report you are generating or are you just doing an export of the data? It you&amp;#39;re doing an export, you can only export 50K rows.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>