<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Understanding Row Store &amp; Column Store? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaa-p/8752338#M3106063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have small doubt here. Can some one please explain me, how data is fetched from column store and how it increases the speed of fetching the data ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that, data is stored in column wise. But i didn't uderstood how data is connected for a single record in column store and how it reads fastly?.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Mar 2015 12:09:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-03-20T12:09:47Z</dc:date>
    <item>
      <title>Understanding Row Store &amp; Column Store?</title>
      <link>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaq-p/8752331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone make me understand the attachments regarding row store &amp;amp; column store? I need to understand in each of the areas how the requests is processed by each component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All help appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 00:46:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaq-p/8752331</guid>
      <dc:creator>SridharKarra</dc:creator>
      <dc:date>2012-05-11T00:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Row Store &amp; Column Store?</title>
      <link>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaa-p/8752332#M3106057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sridhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you attach the images again - both JPGs don't show...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Juergen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 05:10:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaa-p/8752332#M3106057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-21T05:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Row Store &amp; Column Store?</title>
      <link>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaa-p/8752333#M3106058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; Sridhar,&lt;/P&gt;&lt;P&gt;Row based tables store a table in a sequence of rows and the benefits of this is &lt;/P&gt;&lt;P&gt;a) easier to insert and update&lt;/P&gt;&lt;P&gt;b) the data is stored together&lt;/P&gt;&lt;P&gt;The disadvantages are &lt;/P&gt;&lt;P&gt;a) all data in a row has to be read even though the requirement may be to access data from a few columns (in analytical processing)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Column based tables store a table in a sequence of columns and the advantages are &lt;/P&gt;&lt;P&gt;a) Only affected colums have to be read during the selection process of a query.&lt;/P&gt;&lt;P&gt;b) Any of these columns can serve as an index&lt;/P&gt;&lt;P&gt;The disadvantages are&lt;/P&gt;&lt;P&gt;a) After selection selected rows have to be reconstructed from columns.&lt;/P&gt;&lt;P&gt;b) There is no easy way to insert / update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other advantage is column stores are easier to compress, by working with dictionaries where the attributes are represented in dictionaries using integer values. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 13:31:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaa-p/8752333#M3106058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-21T13:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Row Store &amp; Column Store?</title>
      <link>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaa-p/8752334#M3106059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/docs/DOC-13231" title="http://scn.sap.com/docs/DOC-13231"&gt;http://scn.sap.com/docs/DOC-13231&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 14:52:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaa-p/8752334#M3106059</guid>
      <dc:creator>SridharKarra</dc:creator>
      <dc:date>2012-05-25T14:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Row Store &amp; Column Store?</title>
      <link>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaa-p/8752335#M3106060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sridhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Row Store – Traditional Relational Database, the difference is that all the rows are in memory in HANA where as they are stored in a hard drive in traditional databases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Column Store – The data is stored in columns like in SAP BWA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2012 12:37:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaa-p/8752335#M3106060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-07T12:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Row Store &amp; Column Store?</title>
      <link>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaa-p/8752336#M3106061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Conceptually, a database table is a two-dimensional data structure with cells organized in rows and columns. Computer memory however is organized as a linear structure. To store a table in linear memory, two options exist as shown in figure 2.&amp;nbsp; &lt;/P&gt;&lt;P&gt;A row-oriented storage stores a table as a sequence of records, each of which contains the fields of one row. Conversely, in a column store the entries of a column are stored in contiguous memory locations.&lt;/P&gt;&lt;P&gt;The concept of columnar data storage has been used for quite some time. Historically it was mainly used for analytics and data warehousing where aggregate functions play an important role. Using column stores in OLTP applications requires a balanced approach to insertion and indexing of column data to minimize cache misses.&amp;nbsp; &lt;/P&gt;&lt;P&gt;The SAP HANA database allows the developer to specify whether a table is to be stored column-wise or row-wise. It is also possible to alter an existing table from columnar to row-based and vice versa.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Column-based tables have advantages in the following circumstances:&amp;nbsp; &lt;/P&gt;&lt;P&gt;* Calculations are typically executed on single or a few columns only.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;* The table is searched based on values of a few columns.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;* The table has a large number of columns.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;* The table has a large number of rows and columnar operations are required (aggregate, scan&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; etc.)&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;* High compression rates can be achieved because the majority of the columns contain only few distinct values (compared to number of rows).&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Row based tables have advantages in the following circumstances:&amp;nbsp; &lt;/P&gt;&lt;P&gt;* The application needs to only process a single record at one time (many selects and/or updates of single records).&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;* The application typically needs to access a complete record (or row).&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;* The columns contain mainly distinct values so that the compression rate would be low.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;* Neither aggregations nor fast searching are required.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;* The table has a small number of rows (e. g. configuration tables).&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;To enable fast on-the-fly aggregations, ad-hoc reporting, and to benefit from compression mechanisms it is recommended that transaction data is stored in a column-based table. The SAP HANA data-base allows joining row-based tables with column-based tables. However, it is more efficient to join tables that are located in the same row or column store. For example, master data that is frequently joined with transaction data should also be stored in column-based tables. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2012 13:23:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaa-p/8752336#M3106061</guid>
      <dc:creator>former_member184871</dc:creator>
      <dc:date>2012-06-07T13:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Row Store &amp; Column Store?</title>
      <link>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaa-p/8752337#M3106062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please read the research paper published by Hasso Plattner, on why In-Memory Column database is superior for performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sigmod09.org/images/sigmod1ktp-plattner.pdf" title="http://www.sigmod09.org/images/sigmod1ktp-plattner.pdf"&gt;http://www.sigmod09.org/images/sigmod1ktp-plattner.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 15:20:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaa-p/8752337#M3106062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-13T15:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Row Store &amp; Column Store?</title>
      <link>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaa-p/8752338#M3106063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have small doubt here. Can some one please explain me, how data is fetched from column store and how it increases the speed of fetching the data ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that, data is stored in column wise. But i didn't uderstood how data is connected for a single record in column store and how it reads fastly?.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 12:09:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaa-p/8752338#M3106063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-20T12:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Row Store &amp; Column Store?</title>
      <link>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaa-p/8752339#M3106064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are meanwhile several options available to learn about this.&lt;/P&gt;&lt;P&gt;A convenient way e.g. is Richard's and my book &lt;A __default_attr="112812" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-objecttype="38" data-orig-content="Book Announcement: SAP HANA Administration" href="https://community.sap.com/"&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Lars&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 12:27:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaa-p/8752339#M3106064</guid>
      <dc:creator>lbreddemann</dc:creator>
      <dc:date>2015-03-20T12:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Row Store &amp; Column Store?</title>
      <link>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaa-p/8752340#M3106065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very Well Explained here : &lt;SPAN class="watch-title" dir="ltr" style="background: transparent;" title="SAP HANA Academy - Row Store versus Column Store"&gt;SAP HANA Academy &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=xO-DwghE6N0" title="https://www.youtube.com/watch?v=xO-DwghE6N0"&gt;https://www.youtube.com/watch?v=xO-DwghE6N0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Uday&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 22:47:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaa-p/8752340#M3106065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-20T22:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Row Store &amp; Column Store?</title>
      <link>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaa-p/8752341#M3106066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 11:39:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/understanding-row-store-column-store/qaa-p/8752341#M3106066</guid>
      <dc:creator>praveenkm</dc:creator>
      <dc:date>2016-05-17T11:39:51Z</dc:date>
    </item>
  </channel>
</rss>

