473,387 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Oracle tablespace management

In our Oracle installation on SCO Unix, we have reached almost 100% of
tablespace allocated to Oracle. Now we have deleted a large table from
the database after taking backup elsewhere.
[1] Now if we start inserting rows to the table, will the tablespace
try to grow further or will Oracle utilise the space available because
of deletion of the table rows.?

[2] How do we add more space from the Operating system to Oracle
tablespace?
Thanks,
Srini
Jul 19 '05 #1
5 10341
ao******@yahoo.com (Srini) wrote in message news:<e5**************************@posting.google. com>...
In our Oracle installation on SCO Unix, we have reached almost 100% of
tablespace allocated to Oracle. Now we have deleted a large table from
the database after taking backup elsewhere.
[1] Now if we start inserting rows to the table, will the tablespace
try to grow further or will Oracle utilise the space available because
of deletion of the table rows.?

[2] How do we add more space from the Operating system to Oracle
tablespace?
Thanks,
Srini


See the Oracle Concepts manual. Space management is fully explained there.

HTH -- Mark D Powell --
Jul 19 '05 #2
Please read a bit about Oracle storage concepts at tahiti.oracle.com.
It's important for us to know which version of Oracle you're using,
since Oracle storage features vary widely from version to version. A
tablespace (i.e. datafile) can be set to grow automatically or not
(look at the value of the columns AUTOEXTENSIBLE, MAXBLOCKS of
DBA_DATA_FILES for the datafiles in your tablespace. Look also at
EXTENT_MANAGEMENT and ALLOCATION_TYPE of DBA_TABLESPACES to see if
you're dealing with locally or dictionary-managed tablespaces).
Depending on your setup, you might need to either create a new
datafile, or allocate more space to an existing one.

Daniel
In our Oracle installation on SCO Unix, we have reached almost 100% of
tablespace allocated to Oracle. Now we have deleted a large table from
the database after taking backup elsewhere.
[1] Now if we start inserting rows to the table, will the tablespace
try to grow further or will Oracle utilise the space available because
of deletion of the table rows.?

[2] How do we add more space from the Operating system to Oracle
tablespace?
Thanks,
Srini

Jul 19 '05 #3
ao******@yahoo.com (Srini) wrote in message news:<e5**************************@posting.google. com>...
In our Oracle installation on SCO Unix, we have reached almost 100% of
tablespace allocated to Oracle. Now we have deleted a large table from
the database after taking backup elsewhere.
[1] Now if we start inserting rows to the table, will the tablespace
try to grow further or will Oracle utilise the space available because
of deletion of the table rows.?

[2] How do we add more space from the Operating system to Oracle
tablespace?
Thanks,
Srini


Hi Srini,

1. New data insert into objects residing on this tablespace will use
the space created by deletion of rows.
2. You can always add a datafile from another disk to this tablespace.

Cheers
Jul 19 '05 #4
ao******@yahoo.com (Srini) wrote in message news:<e5**************************@posting.google. com>...
In our Oracle installation on SCO Unix, we have reached almost 100% of
tablespace allocated to Oracle. Now we have deleted a large table from
the database after taking backup elsewhere.
[1] Now if we start inserting rows to the table, will the tablespace
try to grow further or will Oracle utilise the space available because
of deletion of the table rows.?

[2] How do we add more space from the Operating system to Oracle
tablespace?
Thanks,
Srini


Hi,

[1] If you merely deleted the rows it will not release the space; if
you truncated the table (or dropped and recreated it) it will try to
use the space

[2] Use the ALTER TABLESPACE command to either:
i) resize one or more datafiles that make up the tablespace or;
ii) add a datafile to the tablespace

Hope this helps,

Steve
Jul 19 '05 #5
Thank you all for the help.

Regards,
Srini

st**********@sympatico.ca (Stephen_CA) wrote in message news:<5a**************************@posting.google. com>...
ao******@yahoo.com (Srini) wrote in message news:<e5**************************@posting.google. com>...
In our Oracle installation on SCO Unix, we have reached almost 100% of
tablespace allocated to Oracle. Now we have deleted a large table from
the database after taking backup elsewhere.
[1] Now if we start inserting rows to the table, will the tablespace
try to grow further or will Oracle utilise the space available because
of deletion of the table rows.?

[2] How do we add more space from the Operating system to Oracle
tablespace?
Thanks,
Srini


Hi,

[1] If you merely deleted the rows it will not release the space; if
you truncated the table (or dropped and recreated it) it will try to
use the space

[2] Use the ALTER TABLESPACE command to either:
i) resize one or more datafiles that make up the tablespace or;
ii) add a datafile to the tablespace

Hope this helps,

Steve

Jul 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: susmita_ganguly | last post by:
Hi I am trying to upgrade from oracle 8i to oracle 9i on the same server ..I don't know much abt migration . Can anyone help me out. Thanks. Susmita
1
by: Jens H. Hamann | last post by:
Hi, I am having a strange problem with the storage parameters in Oracle 9.2.0.1 database. I create a tablespace with some default storage parameters but when i am adding a table to the tablespace...
0
by: Zvika Glickman | last post by:
I'm migrating DB2 to ORACLE 9I. In the DB2 schema each table defined in diferrent tablespace. Few tablespaces are define on the same STOGROUP (there are few STOGROUP). It's a big db (few terra...
133
by: jonathan | last post by:
hey all, I realize that this question might pop up from time to time, but I haven't seen it a while and things might of changed, so - Right now (July 2004) how does mysql stand up in...
56
by: Ashish Patankar | last post by:
I want to migrate my Oracle 10g database to Db2. I want some documentation for the comparision between these to databases. I also want to know which features of Oracle 10g are supported by Db2 and...
3
by: christof | last post by:
I wish to make a backup, with host copy operation but got problems with double backslash \\ occuring in my OracleCommand, got always exception "Invalid SQL", here's my command (.txt only as...
2
by: Harmony504 | last post by:
I am trying to create a tablespace within an Oracle database through a PHP application using IIS 6.0. In my php.ini I uncommented extension=php_oci8.dll and I set my extension_dir. I also copied...
2
by: Vinod Sadanandan | last post by:
All, Below listed are the new features in Oracle 11g ,please join me in this discussion to generate a testcase and analyze each of the listed features . Precompilers:...
5
by: Srini | last post by:
In our Oracle installation on SCO Unix, we have reached almost 100% of tablespace allocated to Oracle. Now we have deleted a large table from the database after taking backup elsewhere. Now if we...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.