<?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: why do oracle changes tablespaces in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/why-do-oracle-changes-tablespaces/m-p/2755605#M835599</link>
    <description>Yes, you can do the specified things with out dropping and recreating a new database.  &lt;BR /&gt;&lt;BR /&gt;&lt;I want="" to="" drop="" all="" of="" the="" tablespaces="" except="" the="" system=""&gt;&lt;BR /&gt;&lt;BR /&gt;just take the tablespaces offline and then drop them.&lt;BR /&gt;&lt;BR /&gt;alter tablespace tbsname offline;&lt;BR /&gt;drop tablespace tbsname including contents;&lt;BR /&gt;or, you could use the gui....&lt;BR /&gt;&lt;BR /&gt;(of course, make sure you backup any data you need before you do this).&lt;BR /&gt;&lt;BR /&gt;&lt;AND move="" the="" redo="" logfile="" to="" a="" different="" mountpoints=""&gt;&lt;BR /&gt;&lt;BR /&gt;I think the easiest way would be to add new logfiles using the new mountpoints and then drop the old ones.  you can use the gui for this - alter database would be the command to use if you don't have the gui.&lt;BR /&gt;&lt;BR /&gt;&lt;AND the="" control="" file="" to="" a="" different="" place=""&gt;&lt;BR /&gt;&lt;BR /&gt;I would shut down the database.  copy / move the control files to the new place, edit the init(sid).ora file to indicate the new location of control files, start the database back up.&lt;BR /&gt;&lt;BR /&gt;BTW - take a full backup before you make significant changes like these - just in case.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/AND&gt;&lt;/AND&gt;&lt;/I&gt;</description>
    <pubDate>Mon, 01 Jul 2002 14:27:18 GMT</pubDate>
    <dc:creator>Jeanine Kone</dc:creator>
    <dc:date>2002-07-01T14:27:18Z</dc:date>
    <item>
      <title>why do oracle changes tablespaces</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/why-do-oracle-changes-tablespaces/m-p/2755600#M835594</link>
      <description>I have created a total of 5 tablespaces...how come oracle just write to one tablespaces, and left the other one alone.  In addition, there are 5 rollback segments in each tablespaces...how do I force oracle to use all of the tablespace?</description>
      <pubDate>Mon, 01 Jul 2002 13:35:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/why-do-oracle-changes-tablespaces/m-p/2755600#M835594</guid>
      <dc:creator>Deanna Tran_1</dc:creator>
      <dc:date>2002-07-01T13:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: why do oracle changes tablespaces</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/why-do-oracle-changes-tablespaces/m-p/2755601#M835595</link>
      <description>The tablesspace used when creating an object is determined as follows:  &lt;BR /&gt;&lt;BR /&gt;1)  you can specify what tablespace to use in the create table or create index command (the owner needs to have quota on the specified tablespace)  &lt;BR /&gt;create table&lt;BR /&gt;(field1 varchar2)&lt;BR /&gt;tablespace tbs_name;&lt;BR /&gt;&lt;BR /&gt;2) if you do not specify, it will use the default tablespace for the object owner.  you can select * from dba_users to see a users default tablespace.  You can change this with the alter user command.  (and make sure they have quota on the specified tablespace).&lt;BR /&gt;&lt;BR /&gt;Basically, you force Oracle to use the tablespaces by assigning objects to each of them.  Note, an object can not span tablespaces (with the exception of partitioned objects, where each partition can be in a separate tablespace).&lt;BR /&gt;&lt;BR /&gt;As a note, I would put all of the rollback segments in one separate tablespace.  I would not spread them across all five.&lt;BR /&gt;&lt;BR /&gt;Jeanine</description>
      <pubDate>Mon, 01 Jul 2002 13:45:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/why-do-oracle-changes-tablespaces/m-p/2755601#M835595</guid>
      <dc:creator>Jeanine Kone</dc:creator>
      <dc:date>2002-07-01T13:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: why do oracle changes tablespaces</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/why-do-oracle-changes-tablespaces/m-p/2755602#M835596</link>
      <description>A tablespace is a logical entity - not a physical one. An Oracle user has a default tablespace for their objects. A single user will only use one tablespace, unless object creation commands specifically use another tablespace. The physical part of the data is datafiles. Each tablespace must have at least one, but may have many. The datafiles can be moved around the disk system for balancing IO. For example, My INV user in Oracle for instance uses the INV tablespace, which has 10 datafiles. That user creates all of its indexes in the INVX tablespace, which has 10 datafiles of its own.For a single user system, you would usually have the SYSTEM tablespace, a TEMP tablespace for  sorts, an RBS tablespace for rollback segments, a USER tablespace for user tables, and an INDEX tablespace for user indexes. Other than these, there is no need create other tablespaces except for other users. BYW - You SHOULD put your rollback segments into their own tablespace.</description>
      <pubDate>Mon, 01 Jul 2002 14:07:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/why-do-oracle-changes-tablespaces/m-p/2755602#M835596</guid>
      <dc:creator>Dave Chamberlin</dc:creator>
      <dc:date>2002-07-01T14:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: why do oracle changes tablespaces</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/why-do-oracle-changes-tablespaces/m-p/2755603#M835597</link>
      <description>Hi..&lt;BR /&gt;Now, I want to reorganize the structure of the oracle database.  I want to drop all of the tablespaces except the system, index and temp..&lt;BR /&gt;and move the redo logfile to a different mountpoints and the control file to a different place? can I still be able to accomplish all of this without completely drop the database?&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Jul 2002 14:08:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/why-do-oracle-changes-tablespaces/m-p/2755603#M835597</guid>
      <dc:creator>Deanna Tran_1</dc:creator>
      <dc:date>2002-07-01T14:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: why do oracle changes tablespaces</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/why-do-oracle-changes-tablespaces/m-p/2755604#M835598</link>
      <description>To move the controlfiles:&lt;BR /&gt;1) shutdown the database normally&lt;BR /&gt;2) move the controlfiles to their new locations&lt;BR /&gt;3) edit your initora file to have the new paths of your controlfiles&lt;BR /&gt;4) restart the database&lt;BR /&gt;&lt;BR /&gt;To move redo logs is a little more complicated:&lt;BR /&gt;1) shutdown the database normally&lt;BR /&gt;2) move the redo log files to their new locations&lt;BR /&gt;3) only do a STARTUP MOUNT command when restarting the database.&lt;BR /&gt;4) do ALTER DATABASE RENAME 'the_old_path' to 'the_new_path'&lt;BR /&gt;the_old_path would be like /u01/oradata/PROD/redo01.log etc&lt;BR /&gt;5) do ALTER DATABASE OPEN, and you are done</description>
      <pubDate>Mon, 01 Jul 2002 14:25:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/why-do-oracle-changes-tablespaces/m-p/2755604#M835598</guid>
      <dc:creator>Dave Chamberlin</dc:creator>
      <dc:date>2002-07-01T14:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: why do oracle changes tablespaces</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/why-do-oracle-changes-tablespaces/m-p/2755605#M835599</link>
      <description>Yes, you can do the specified things with out dropping and recreating a new database.  &lt;BR /&gt;&lt;BR /&gt;&lt;I want="" to="" drop="" all="" of="" the="" tablespaces="" except="" the="" system=""&gt;&lt;BR /&gt;&lt;BR /&gt;just take the tablespaces offline and then drop them.&lt;BR /&gt;&lt;BR /&gt;alter tablespace tbsname offline;&lt;BR /&gt;drop tablespace tbsname including contents;&lt;BR /&gt;or, you could use the gui....&lt;BR /&gt;&lt;BR /&gt;(of course, make sure you backup any data you need before you do this).&lt;BR /&gt;&lt;BR /&gt;&lt;AND move="" the="" redo="" logfile="" to="" a="" different="" mountpoints=""&gt;&lt;BR /&gt;&lt;BR /&gt;I think the easiest way would be to add new logfiles using the new mountpoints and then drop the old ones.  you can use the gui for this - alter database would be the command to use if you don't have the gui.&lt;BR /&gt;&lt;BR /&gt;&lt;AND the="" control="" file="" to="" a="" different="" place=""&gt;&lt;BR /&gt;&lt;BR /&gt;I would shut down the database.  copy / move the control files to the new place, edit the init(sid).ora file to indicate the new location of control files, start the database back up.&lt;BR /&gt;&lt;BR /&gt;BTW - take a full backup before you make significant changes like these - just in case.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/AND&gt;&lt;/AND&gt;&lt;/I&gt;</description>
      <pubDate>Mon, 01 Jul 2002 14:27:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/why-do-oracle-changes-tablespaces/m-p/2755605#M835599</guid>
      <dc:creator>Jeanine Kone</dc:creator>
      <dc:date>2002-07-01T14:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: why do oracle changes tablespaces</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/why-do-oracle-changes-tablespaces/m-p/2755606#M835600</link>
      <description>thanks all for your help...I was able to mvoe the logfile into a new mount directories..and all other stuff...&lt;BR /&gt;&lt;BR /&gt;I have reorganize the database structures... &lt;BR /&gt;I have created a 25G filesystem and use that as tablespace for Rollback as suggested by Jeanine... However, what i want to do is balancing the I/O with all the diskes?&lt;BR /&gt;Can I do that? And I am using filesystem to and not raw devices... &lt;BR /&gt;so I create a 25 G filesystem..and it expands to multiple diskes ..and i want to take an advantage of all the diskes&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Jul 2002 16:13:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/why-do-oracle-changes-tablespaces/m-p/2755606#M835600</guid>
      <dc:creator>Deanna Tran_1</dc:creator>
      <dc:date>2002-07-01T16:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: why do oracle changes tablespaces</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/why-do-oracle-changes-tablespaces/m-p/2755607#M835601</link>
      <description>What you want to do is spread the data that will be accessed concurrently onto different disks.  So, the system tablespace, and temp, and rollback, and user_data, and user_index would all be on separate disks.  &lt;BR /&gt;&lt;BR /&gt;What I do is have at the o/s level different filesystems that map to different disks.  For example, I set up a filesystem called oradata, one called oraindex, one called oratemp, orarbs, etc.  Then I create tablespaces for each type of data, i.e. data, index, temp, rbs, etc.  Each tablespace has it's datafiles placed in the appropriate filesystem.  &lt;BR /&gt;Then you create your objects in the appropriate tablespaces.  This ends you up with the different objects on different disks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Jul 2002 16:28:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/why-do-oracle-changes-tablespaces/m-p/2755607#M835601</guid>
      <dc:creator>Jeanine Kone</dc:creator>
      <dc:date>2002-07-01T16:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: why do oracle changes tablespaces</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/why-do-oracle-changes-tablespaces/m-p/2755608#M835602</link>
      <description>Check the Oracle documentation &lt;BR /&gt;for OFA (Oracle Flexible&lt;BR /&gt;Architecture). &lt;BR /&gt;&lt;BR /&gt;Create the following directories on different disks:&lt;BR /&gt;&lt;BR /&gt;/u00/oradata/TEST&lt;BR /&gt;/u01/oradata/TEST&lt;BR /&gt;/u02/oradata/TEST&lt;BR /&gt;/u03/oradata/TEST&lt;BR /&gt;/u04/oradata/TEST&lt;BR /&gt;&lt;BR /&gt;Substituting TEST with your &lt;BR /&gt;ORACLE_SID.  Spread you files&lt;BR /&gt;across these by type.  As you &lt;BR /&gt;add SIDs create new subdirectories for the new &lt;BR /&gt;SIDS.&lt;BR /&gt;&lt;BR /&gt;I normally create an oracle &lt;BR /&gt;partition on each disk and &lt;BR /&gt;mount it as /u0x.  This allows&lt;BR /&gt;a lot of flexibility in tuning&lt;BR /&gt;file placement.  Create more&lt;BR /&gt;directory trees than you have&lt;BR /&gt;disks if you like.&lt;BR /&gt;&lt;BR /&gt;Mirror your control files and&lt;BR /&gt;redo logs accross two disks.&lt;BR /&gt;Place your rollback segment&lt;BR /&gt;tablespace on a third.  Split&lt;BR /&gt;the rest of the standard &lt;BR /&gt;tablespaces across the disks&lt;BR /&gt;with your redo logs or put &lt;BR /&gt;them in the additional &lt;BR /&gt;directories.  Add application&lt;BR /&gt;tablespaces in the additional&lt;BR /&gt;directories.  You should split&lt;BR /&gt;index and data tablespaces &lt;BR /&gt;on different directories.&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Jul 2002 15:18:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/why-do-oracle-changes-tablespaces/m-p/2755608#M835602</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2002-07-02T15:18:56Z</dc:date>
    </item>
  </channel>
</rss>

