Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
DWH loading : Do you use 2 types of tablespaces ?

DWH loading : Do you use 2 types of tablespaces ?

2004-06-01       - By DENNIS WILLIAMS
Reply:     1     2     3     4     5     6  

Philippe
Let me make sure that I understand your question. You have a tablespace
consisting of a single data file. You loaded one table in this tablespace.
Then you altered that table to move it within the same tablespace. Now you
want to shrink the datafile.
The problem is that the shrink datafile command can only release unused
blocks from the END of the datafile. Otherwise it would have to move
existing blocks that are in use so that it could free up space. In your
situation, you probably have used blocks at the end of the datafile, and a
lot of unused blocks before those used blocks. That is why you can 't shrink
your datafile. As Darrell points out, if you execute another move, that will
probably cause the table to move back to the first blocks, which will
release the end blocks, so you will be able to resize the datafile. However,
your original question implies that you will be doing this on a regular
basis, so I would say that yes, in the future using two separate tablespaces
will enable you to avoid both unused space and additional data movement.



Dennis Williams
DBA
Lifetouch, Inc.
dwilliams@(protected)

-- --Original Message-- --
From: oracle-l-bounce@(protected) [mailto:oracle-l-bounce@(protected)]On
Behalf Of NGUYEN Philippe (Cetelem)
Sent: Tuesday, June 01, 2004 2:15 AM
To: 'oracle-l@(protected) '
Subject: DWH loading : Do you use 2 types of tablespaces ?



Oracle 9R2,
Tablepsace LMT / extent uniform size

Hi gurus!
after loading my table with an ETL my my_big_table took 22Go.
after a "alter table big_table move " -- > move in the same tablespace, it
decreased to 10 Go.
So, now I want to retrieve the unused space from my tablespace again but
reducing datafiles give me an ORA-03297 (See ORA-03297.ora-code.com) (files contains used data beyond
requested RESIZE value).

I guess alter 'table my_big_table move tablespace an_other_tablespace ' would
solve the problem so my questions are :
1. For a DWH , do you use to use 2 type of tablespace , one for the loading
operation and one for de definitive use.
2. Is there other solution avoid the use of two tablespaces ?

Thanks in advance !
Philippe



-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe ' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --