<?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: Database rebuild in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584269#M827892</link>
    <description>Hi Manuel,&lt;BR /&gt;&lt;BR /&gt;When you say that you are rebuilding a database with re-dimentioning tables and database parameters, are you intending to increase the table definitions (like initial and next extents....) and what database parameters ere you intending to change.&lt;BR /&gt;&lt;BR /&gt;Because if it is only the table definitions that you intend to change then you can query from DBA_segments and DBA_extents to see which segments had extented to many extents and then verify their initial and next extents, so that you can properly size them.&lt;BR /&gt;&lt;BR /&gt;Then you can export the table data and re-create the table with the new definitions and then import the table data with ignore=y parameter.&lt;BR /&gt;&lt;BR /&gt;So you will not require to recreate the database unless you want to change the database creation parameters like  maxdatafiles or control files.....etc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;IA</description>
    <pubDate>Mon, 18 Jul 2005 02:00:06 GMT</pubDate>
    <dc:creator>Indira Aramandla</dc:creator>
    <dc:date>2005-07-18T02:00:06Z</dc:date>
    <item>
      <title>Database rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584268#M827891</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;We are planning to rebuild a Oracle 8.0.4 database on a HP-UX 10.20 machine, redimensioning tables and database parameters.&lt;BR /&gt;&lt;BR /&gt;We are new on that operations so we need some help with:&lt;BR /&gt;&lt;BR /&gt;- A script that shows tables and tablespaces actual parameters (disk space, extensions, etc).&lt;BR /&gt;&lt;BR /&gt;- A white paper o similar that allow us to build database fixing new growth parameters, etc.&lt;BR /&gt;&lt;BR /&gt;Can anyone help? Thanks.</description>
      <pubDate>Mon, 18 Jul 2005 00:32:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584268#M827891</guid>
      <dc:creator>Manuel Gómez González</dc:creator>
      <dc:date>2005-07-18T00:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Database rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584269#M827892</link>
      <description>Hi Manuel,&lt;BR /&gt;&lt;BR /&gt;When you say that you are rebuilding a database with re-dimentioning tables and database parameters, are you intending to increase the table definitions (like initial and next extents....) and what database parameters ere you intending to change.&lt;BR /&gt;&lt;BR /&gt;Because if it is only the table definitions that you intend to change then you can query from DBA_segments and DBA_extents to see which segments had extented to many extents and then verify their initial and next extents, so that you can properly size them.&lt;BR /&gt;&lt;BR /&gt;Then you can export the table data and re-create the table with the new definitions and then import the table data with ignore=y parameter.&lt;BR /&gt;&lt;BR /&gt;So you will not require to recreate the database unless you want to change the database creation parameters like  maxdatafiles or control files.....etc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;IA</description>
      <pubDate>Mon, 18 Jul 2005 02:00:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584269#M827892</guid>
      <dc:creator>Indira Aramandla</dc:creator>
      <dc:date>2005-07-18T02:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Database rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584270#M827893</link>
      <description>There is more...&lt;BR /&gt;&lt;BR /&gt;Attached is a document that explains â  How to Determine Real Space used by a Table (Below the High Water Mark)â  . &lt;BR /&gt;&lt;BR /&gt;Also refer to Note:298696.1 Fragmentation Issues Due to PCT_INCREASE in metalink.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;IA &lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jul 2005 02:05:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584270#M827893</guid>
      <dc:creator>Indira Aramandla</dc:creator>
      <dc:date>2005-07-18T02:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Database rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584271#M827894</link>
      <description>Only tables and tablespaces definitions.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 18 Jul 2005 02:07:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584271#M827894</guid>
      <dc:creator>Manuel Gómez González</dc:creator>
      <dc:date>2005-07-18T02:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Database rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584272#M827895</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;one quick leap would be to use TOAD (&lt;A href="http://www.quest.com/requests/?RequestDefID=49&amp;amp;landing=&amp;amp;adcode=&amp;amp;s=" target="_blank"&gt;http://www.quest.com/requests/?RequestDefID=49&amp;amp;landing=&amp;amp;adcode=&amp;amp;s=&lt;/A&gt; ) to generate all you object script for all your custom schemas.  &lt;BR /&gt;&lt;BR /&gt;You can as well generate all info about tablespaces, rbs etc using the same tool&lt;BR /&gt;&lt;BR /&gt;if you need further guidance please let us know.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Mon, 18 Jul 2005 02:24:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584272#M827895</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-07-18T02:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Database rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584273#M827896</link>
      <description>hi again,&lt;BR /&gt;&lt;BR /&gt;if you don't want to use the above, you can also try the following:&lt;BR /&gt;&lt;BR /&gt;exp userid=/ owner=your_schema&lt;BR /&gt;imp userid=/ indexfile=foobar.sql&lt;BR /&gt;&lt;BR /&gt;easy easy!&lt;BR /&gt;&lt;BR /&gt;NB. Had it been oracle 9i or upper, you could have easily do the following:&lt;BR /&gt;select dbms_metadata.get_ddl( 'TABLE', 'T' ) from dual;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Mon, 18 Jul 2005 02:40:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584273#M827896</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-07-18T02:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Database rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584274#M827897</link>
      <description>hi again!&lt;BR /&gt;&lt;BR /&gt;did my post answer to your queries?&lt;BR /&gt;&lt;BR /&gt;anyway, here is another tip that you can use to get your tablespace definitions:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ exp userid=/ full=y&lt;BR /&gt;&lt;BR /&gt;Export: Release 8.1.7.4.0 - Production on Mon Jul 18 13:42:35 2005&lt;BR /&gt;&lt;BR /&gt;(c) Copyright 2000 Oracle Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Connected to: Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production&lt;BR /&gt;With the Partitioning option&lt;BR /&gt;JServer Release 8.1.7.4.0 - Production&lt;BR /&gt;Export done in WE8ISO8859P1 character set and WE8ISO8859P1 NCHAR character set&lt;BR /&gt;&lt;BR /&gt;About to export the entire database ...&lt;BR /&gt;. exporting tablespace definitions&lt;BR /&gt;. exporting profiles&lt;BR /&gt;. exporting user definitions&lt;BR /&gt;. exporting roles&lt;BR /&gt;. exporting resource costs&lt;BR /&gt;. exporting rollback segment definitions&lt;BR /&gt;. exporting database links&lt;BR /&gt;. exporting sequence numbers&lt;BR /&gt;. exporting directory aliases&lt;BR /&gt;. exporting context namespaces&lt;BR /&gt;. exporting foreign function library names&lt;BR /&gt;. exporting object type definitions&lt;BR /&gt;. exporting system procedural objects and actions^C &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;=== note I did ^C here&lt;BR /&gt;EXP-00008: ORACLE error 1013 encountered&lt;BR /&gt;ORA-01013: user requested cancel of current operation&lt;BR /&gt;EXP-00000: Export terminated unsuccessfully&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ grep 'CREATE TABLESPACE' expdat.dmp&lt;BR /&gt;CREATE TABLESPACE "RBS_TS_01" DATAFILE  '/u01/oracle/dev/oradata/rbs_ts_01.dbf' &lt;BR /&gt;SIZE 31563776 REUSE AUTOEXTEND ON NEXT 1048576  MAXSIZE 2000M EXTENT MANAGEMENT &lt;BR /&gt;LOCAL  UNIFORM SIZE 524288 ONLINE PERMANENT &lt;BR /&gt;CREATE TABLESPACE "RBS_TS_02" DATAFILE  '/u01/oracle/dev/oradata/rbs_ts_02.dbf' &lt;BR /&gt;SIZE 157392896 REUSE AUTOEXTEND ON NEXT 1048576  MAXSIZE 2000M EXTENT MANAGEMENT &lt;BR /&gt;LOCAL  UNIFORM SIZE 524288 ONLINE PERMANENT &lt;BR /&gt;CREATE TABLESPACE "RBS_TS_03" DATAFILE  '/u01/oracle/dev/oradata/rbs_ts_03.dbf' &lt;BR /&gt;SIZE 26320896 REUSE AUTOEXTEND ON NEXT 1048576  MAXSIZE 2000M EXTENT MANAGEMENT &lt;BR /&gt;LOCAL  UNIFORM SIZE 524288 ONLINE PERMANENT &lt;BR /&gt;CREATE TABLESPACE "RBS_TS_04" DATAFILE  '/u01/oracle/dev/oradata/rbs_ts_04.dbf' &lt;BR /&gt;SIZE 48340992 REUSE AUTOEXTEND ON NEXT 1048576  MAXSIZE 2000M EXTENT MANAGEMENT &lt;BR /&gt;LOCAL  UNIFORM SIZE 524288 ONLINE PERMANENT &lt;BR /&gt;CREATE TABLESPACE "RBS_TS_05" DATAFILE  '/u01/oracle/dev/oradata/rbs_ts_05.dbf' &lt;BR /&gt;SIZE 26320896 REUSE AUTOEXTEND ON NEXT 1048576  MAXSIZE 2000M EXTENT MANAGEMENT &lt;BR /&gt;LOCAL  UNIFORM SIZE 524288 ONLINE PERMANENT &lt;BR /&gt;CREATE TABLESPACE "USERS" DATAFILE  '/u01/oracle/dev/oradata/users.dbf' SIZE &lt;BR /&gt;661127168 REUSE AUTOEXTEND ON NEXT 524288  MAXSIZE 2000M EXTENT MANAGEMENT LOCAL &lt;BR /&gt; UNIFORM SIZE 524288 ONLINE PERMANENT  NOLOGGING&lt;BR /&gt;CREATE TABLESPACE "DRSYS" DATAFILE  '/u01/oracle/dev/oradata/drsys.dbf' SIZE &lt;BR /&gt;36700160 REUSE AUTOEXTEND ON NEXT 524288  MAXSIZE 2000M EXTENT MANAGEMENT LOCAL  &lt;BR /&gt;UNIFORM SIZE 524288 ONLINE PERMANENT &lt;BR /&gt;CREATE TABLESPACE "TMP" DATAFILE  '/tmp/tmp.dbf' SIZE 1048576 REUSE EXTENT &lt;BR /&gt;MANAGEMENT LOCAL  UNIFORM SIZE 65536&lt;BR /&gt;CREATE TABLESPACE "CLAMS" DATAFILE  '/u01/oracle/dev/oradata/dev_xlarge.dbf' SIZE &lt;BR /&gt;78118912 REUSE AUTOEXTEND ON NEXT 524288  MAXSIZE 2000M EXTENT MANAGEMENT LOCAL  &lt;BR /&gt;UNIFORM SIZE 524288&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;They'll all be there.... &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Mon, 18 Jul 2005 02:46:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584274#M827897</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-07-18T02:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Database rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584275#M827898</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;Thanks for the info.&lt;BR /&gt;&lt;BR /&gt;Toad seems to be a great tool but need some managing experience.&lt;BR /&gt;&lt;BR /&gt;We prefer to use some scripts.&lt;BR /&gt;&lt;BR /&gt;We are searching for a document in order to interpretate wich of the analyzed tables or tablespaces need some tunning on extents and size cration clauses.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Mon, 18 Jul 2005 03:22:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584275#M827898</guid>
      <dc:creator>Manuel Gómez González</dc:creator>
      <dc:date>2005-07-18T03:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Database rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584276#M827899</link>
      <description>Hi Manuel,&lt;BR /&gt;&lt;BR /&gt;Attached is a file that contains Scripts to Report Extents and Contiguous Free Space. If you can anticipate how much more space a particular database object will need, then you can plan where to acquire the additionalspace.These 3 scripts will provide a chance to plan for additional disk space if it is currently not available on the system.&lt;BR /&gt;&lt;BR /&gt;PL/SQL script to determine how much contiguous free space is available for each tablespace in the database.  Oracle will acquire space by searching first for exact fit, then next best fit, and lastly  coalesce if possible&lt;BR /&gt;&lt;BR /&gt;Currently, the tools to remedy fragmentation are IMP/EXP (import and export) utilities.  You may also drop segments that lie between free extents, create a dummy object that will require a segment of just the right size to cause the separate segments to be coalesced, and then drop the dummy object. &lt;BR /&gt;&lt;BR /&gt;From the information retrieved in the above three scripts, you can track the objects in each tablespace and make sure there is enough space for it to grab at least another extent.  Also, it is important to make sure the object is not getting close to the maximum number extents as the database increases in size.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;IA</description>
      <pubDate>Mon, 18 Jul 2005 18:28:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584276#M827899</guid>
      <dc:creator>Indira Aramandla</dc:creator>
      <dc:date>2005-07-18T18:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Database rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584277#M827900</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you need to see which tables have extended to many extents, as they might be not defined with proper initial and next extents sizes for this  as I mentioned before, you can query from DBA_SEGMENST and DBA_EXTENTS.  And sometimes the table data is deleted on a regular basis (eg: from purge jobsâ ¦) such tables need to be reorged by export and import, so as to reduce the extents and coalesce the sapce. Then alter the tablespace to coalesce the free space.&lt;BR /&gt;&lt;BR /&gt;Attached document is a not from metalink (Note:10640.1 ) â  Extent and Block Space Calculation and Usage:. This document explains how to accurately size the data dictionary, user tables, &lt;BR /&gt;user indexes, rollback segments, redo logs.  &lt;BR /&gt;&lt;BR /&gt;I hope this helps too.&lt;BR /&gt;&lt;BR /&gt;IA&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jul 2005 18:31:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584277#M827900</guid>
      <dc:creator>Indira Aramandla</dc:creator>
      <dc:date>2005-07-18T18:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Database rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584278#M827901</link>
      <description>Hello Manuel,&lt;BR /&gt;the TOAD is a good tool for manage database objects. Another good tool is the Oracle Enterprise Manager (OEM). If you are using the enterprise edition the OEM should be a part of the software. It's a very easy to use GUI based on java. You can create every kind of DB objects, create scripts for existing objets, show sql syntax while change objects and so on.&lt;BR /&gt;You can also use the OEM of the Oracle8i or 9i software.&lt;BR /&gt;Last year we've recreated a database with the export/import utilities and there are a lot of grants that wasn't exported and we've to recreate this objects manually.&lt;BR /&gt;&lt;BR /&gt;Christian</description>
      <pubDate>Fri, 29 Jul 2005 06:30:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/database-rebuild/m-p/3584278#M827901</guid>
      <dc:creator>Christian Marquardt_1</dc:creator>
      <dc:date>2005-07-29T06:30:23Z</dc:date>
    </item>
  </channel>
</rss>

