<?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>topic Re: Help with large key performance in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-large-key-performance/m-p/5895339#M1327056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could make the 255 chars wide field a non key, and introduce in it's place a Hexadecimal hash calculated from that field. If you use one with one hash per record, you'll maintain key integrity while keeping the perfomance at check. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not easy, and it has some drawbacks, as you can't get user input for selection directly for that key field, you'll need to use the 255 char, calculate the hash for it and then use the select.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jul 2009 14:44:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-27T14:44:25Z</dc:date>
    <item>
      <title>Help with large key performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-large-key-performance/m-p/5895338#M1327055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a to build 3 Z DB table and in the table one of the field is (application ID )&lt;/P&gt;&lt;P&gt;is in size char 255 and it's table key (and i cant change this fields) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;the tables

Table 1 
mandt type mandt     " key
user   type bname    " key 
application_id type char255   " key 
date...


Table 2
mandt type mandt     " key
user   type bname    " key 
application_id type char255   " key 
application_ver type char10   " key
additional fields (not keys).

Table 3
mandt type mandt     " key
user   type bname    " key 
application_id type char255   " key 
application_ver type char10    " key 
app_additonl    type char50     " key
additional fields (not keys).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that when i activate the table i get warning of performance &lt;/P&gt;&lt;P&gt;since the key is larger then 120 charcter .&lt;/P&gt;&lt;P&gt;the table num 3 can have more than 1000000 recoreds .&lt;/P&gt;&lt;P&gt;and i can have lot of read access to the table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;JOy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 14:29:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-large-key-performance/m-p/5895338#M1327055</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T14:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help with large key performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-large-key-performance/m-p/5895339#M1327056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could make the 255 chars wide field a non key, and introduce in it's place a Hexadecimal hash calculated from that field. If you use one with one hash per record, you'll maintain key integrity while keeping the perfomance at check. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not easy, and it has some drawbacks, as you can't get user input for selection directly for that key field, you'll need to use the 255 char, calculate the hash for it and then use the select.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 14:44:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-large-key-performance/m-p/5895339#M1327056</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T14:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with large key performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-large-key-performance/m-p/5895340#M1327057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Gustavo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since i am on design now can u please tell me what is the drawback for it ?&lt;/P&gt;&lt;P&gt;how it influence (the hash solution)  on the performance against the large table key ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Joy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 16:02:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-large-key-performance/m-p/5895340#M1327057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T16:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help with large key performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-large-key-performance/m-p/5895341#M1327058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, the drawback was already mentioned. You can't use direct user input. You'll need to calculate the hash each time a user tries to use the 255 chars field for selection purposes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, once it's calculated, it's lower lenght will help you with the long key performance issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 17:06:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-large-key-performance/m-p/5895341#M1327058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T17:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help with large key performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-large-key-performance/m-p/5895342#M1327059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do u suggest to use the calculate Hash for char with MD5 algorithm or SH1 ,or there is other recommended scenario  i that take the performance side in the picture too since the performance side is very impotent to my design .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;or there is other ideas/ recommendation to my design?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Joy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Joy Stpr on Jul 29, 2009 8:51 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 18:45:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-large-key-performance/m-p/5895342#M1327059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T18:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help with large key performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-large-key-performance/m-p/5895343#M1327060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can look at option of splitting &lt;EM&gt;application_id&lt;/EM&gt; field into 3 different fields - provided you have way of splitting the data stored in the key field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 08:49:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-large-key-performance/m-p/5895343#M1327060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-29T08:49:27Z</dc:date>
    </item>
  </channel>
</rss>

