<?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: How to use DBKEY in Rdb/VMS V4.1-0 in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/how-to-use-dbkey-in-rdb-vms-v4-1-0/m-p/6742631#M103636</link>
    <description>&lt;P&gt;What's your disk data growth rate? &amp;nbsp; If you don't know the answer to that, then you will want to find out — that'll tell you how soon it'll be before you really need to make changes, based on how long it'll take to get to a terabyte. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rather than spelunking in the database, it's usually easier to check the database file sizes once an hour or once a day, and to record that data over a week or a month, or whatever frequency is appropriate given your database activity. &amp;nbsp;Use this data to determine the trend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you are approaching a terabyte for the aggregate data, you'll then want to relocate the component files across disks. IIRC, your database is already multi-part, so relocating those files ("back") to separate disks will gain you yet more time to migrate this database and applications elsewhere, or to upgrade to a more current configuration, or to work on other and higher-priority projects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why add disk? &amp;nbsp; Three to five terabytes of added storage is available for under&amp;nbsp;US$200. &amp;nbsp;Even expensive vendor-specific disks aren't expensive. &amp;nbsp;This if the host system doesn't already&amp;nbsp;have a couple of terabytes of free space, or more. &amp;nbsp;Adding disk and expanding partitions is much less disruptive than application changes, too. &amp;nbsp;"Throw hardware at the problem", in other words.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the answer to your DBKEY question, there's no such mapping — you're going to have to look at the structure of the database, and figure out what data is stale, what tables are growing, and by how much and how fast. &amp;nbsp;The DBKEY is "just" an index for the particular record, you're going to have to look elsewhere within the record or the associated data, in order to draw any conclusions. &amp;nbsp; (&lt;A target="_blank" href="http://odl.sysworks.biz/disk$vaxdocdec951/decw$book/dymfaa44.p165.decw$book"&gt;The Rdb documentation has related details&lt;/A&gt;.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd check with your manager here, too. &amp;nbsp; &amp;nbsp;If you want to spend time and effort beyond instantiating some disks to account for increasing storage requirements, then an upgrade to a more supportable configuration and more current software would be typical. &amp;nbsp; Spending some time in the Rdb documentation, as well. &amp;nbsp;But I'd guess that spending additional time on this configuration and with what clearly appears to be a non-critical server — beyond keeping it running — is probably something your manager might not view as beneficial.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FWIW, millions of records is something I'd expect to be able to handle even on an iPhone or iPad device, these days. &amp;nbsp;That's not really all that much data.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 May 2015 21:48:23 GMT</pubDate>
    <dc:creator>Hoff</dc:creator>
    <dc:date>2015-05-08T21:48:23Z</dc:date>
    <item>
      <title>How to use DBKEY in Rdb/VMS V4.1-0</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-use-dbkey-in-rdb-vms-v4-1-0/m-p/6742460#M103635</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;our environment; Charon-VAX 4000 model 108 and VMS v6.1, Rdb Version: Rdb/VMS V4.1-0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As few of our tables are growing regularly to large size, the disk space issue will come in the future also even after adding new vdisk of bigger size. I know few of our bigger tables are transactions tables only without any keys/date column and reference with other master or other transaction tables. It has nearly 10 years of millions of records.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I guess ROWNUM and ROWID facility is not available, I like to select and delete atleast the records of 5 years old using DBKEY. I don't find much details about DBKEY; I just selected out records from one of our small table is like&amp;nbsp;&lt;/P&gt;&lt;P&gt;48:9194:1&lt;/P&gt;&lt;P&gt;48:9201:1&lt;BR /&gt;48:9207:1&lt;BR /&gt;48:9231:1&lt;BR /&gt;48:9267:1&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I know about this dbkey to find the respective records and its age?, just try to help me on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Navipa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2015 13:32:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-use-dbkey-in-rdb-vms-v4-1-0/m-p/6742460#M103635</guid>
      <dc:creator>Navipa</dc:creator>
      <dc:date>2015-05-08T13:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to use DBKEY in Rdb/VMS V4.1-0</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-use-dbkey-in-rdb-vms-v4-1-0/m-p/6742631#M103636</link>
      <description>&lt;P&gt;What's your disk data growth rate? &amp;nbsp; If you don't know the answer to that, then you will want to find out — that'll tell you how soon it'll be before you really need to make changes, based on how long it'll take to get to a terabyte. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rather than spelunking in the database, it's usually easier to check the database file sizes once an hour or once a day, and to record that data over a week or a month, or whatever frequency is appropriate given your database activity. &amp;nbsp;Use this data to determine the trend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you are approaching a terabyte for the aggregate data, you'll then want to relocate the component files across disks. IIRC, your database is already multi-part, so relocating those files ("back") to separate disks will gain you yet more time to migrate this database and applications elsewhere, or to upgrade to a more current configuration, or to work on other and higher-priority projects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why add disk? &amp;nbsp; Three to five terabytes of added storage is available for under&amp;nbsp;US$200. &amp;nbsp;Even expensive vendor-specific disks aren't expensive. &amp;nbsp;This if the host system doesn't already&amp;nbsp;have a couple of terabytes of free space, or more. &amp;nbsp;Adding disk and expanding partitions is much less disruptive than application changes, too. &amp;nbsp;"Throw hardware at the problem", in other words.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the answer to your DBKEY question, there's no such mapping — you're going to have to look at the structure of the database, and figure out what data is stale, what tables are growing, and by how much and how fast. &amp;nbsp;The DBKEY is "just" an index for the particular record, you're going to have to look elsewhere within the record or the associated data, in order to draw any conclusions. &amp;nbsp; (&lt;A target="_blank" href="http://odl.sysworks.biz/disk$vaxdocdec951/decw$book/dymfaa44.p165.decw$book"&gt;The Rdb documentation has related details&lt;/A&gt;.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd check with your manager here, too. &amp;nbsp; &amp;nbsp;If you want to spend time and effort beyond instantiating some disks to account for increasing storage requirements, then an upgrade to a more supportable configuration and more current software would be typical. &amp;nbsp; Spending some time in the Rdb documentation, as well. &amp;nbsp;But I'd guess that spending additional time on this configuration and with what clearly appears to be a non-critical server — beyond keeping it running — is probably something your manager might not view as beneficial.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FWIW, millions of records is something I'd expect to be able to handle even on an iPhone or iPad device, these days. &amp;nbsp;That's not really all that much data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2015 21:48:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-use-dbkey-in-rdb-vms-v4-1-0/m-p/6742631#M103636</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2015-05-08T21:48:23Z</dc:date>
    </item>
  </channel>
</rss>

