.ora-code.com

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
DATAFILE??

DATAFILE??

2005-10-20       - By Niall Litchfield
Reply:     <<     21     22     23     24     25     26     27     28     29     30     >>  

On 10/18/05, oracle-l-bounce@(protected) <oracle-l-bounce@(protected)>
wrote:
>
> The best way to find out is to try it. You will probably find that it
> depends. If you use a LMT and do uniform extents then it will do it by
> concatenation. (fill up the first file then move on to the 2nd etc.).
> If you create an LMT and do automatic extents then it is different. It
> does it by striping. The first extent goes in the first file, the 2nd
> in the 2nd file...
>
> You can see this by setting up a small test.
> Jim

Unfortunately, if you run the test you'll find that your assertion isn't
correct on 10gR1 :)


1 create tablespace demo
2 datafile 'c:\temp\demo01.dbf' size 10m,'c:\temp\demo02.dbf' size 10m
3* extent management local uniform size 128k
USER @ orcl>/

Tablespace created.

USER @ orcl>create table t1(c1 number);
create table t1(c1 number)
*
ERROR at line 1:
ORA-00955 (See ORA-00955.ora-code.com): name is already used by an existing object


USER @ orcl>create table demo(c1 number);

Table created.

USER @ orcl>drop table demo;

Table dropped.

USER @ orcl>create table demo(c1 number)
2 tablespace demo;

Table created.

USER @ orcl>alter table demo allocate extent;

Table altered.

USER @ orcl>alter table demo allocate extent;

Table altered.

USER @ orcl>alter table demo allocate extent;

Table altered.

USER @ orcl>alter table demo allocate extent;

Table altered.

USER @ orcl>alter table demo allocate extent;

Table altered.

USER@ orcl>alter table demo allocate extent;

Table altered.

USER @ orcl>select file_id,count(*)
2 from dba_extents
3 where segment_name='DEMO'
4 group by file_id;

FILE_ID COUNT(*)
-- ---- -- -- ---- --
9 4
10 3

2 rows selected.

  --
Niall Litchfield
Oracle DBA
http://www.niall.litchfield.dial.pipex.com

<div><span class="gmail_quote">On 10/18/05, <b class="gmail_sendername"><a href
="mailto:oracle-l-bounce@(protected)">oracle-l-bounce@(protected)</a></b>
&lt;<a href="mailto:oracle-l-bounce@(protected)">oracle-l-bounce@(protected)
</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0
.8ex; BORDER-LEFT: #ccc 1px solid">The best way to find out is to try it.&nbsp;
&nbsp;You will probably find that it<br>depends.&nbsp;&nbsp;If you use a LMT and
do uniform extents then it will do it by
<br>concatenation. (fill up the first file then move on to the 2nd etc.).<br>If
you create an LMT and do automatic extents then it is different.&nbsp;&nbsp;It
<br>does it by striping.&nbsp;&nbsp;The first extent goes in the first file, the
2nd
<br>in the 2nd file...<br><br>You can see this by setting up a small test.<br
>Jim</blockquote>
<div>&nbsp;</div>
<div>Unfortunately, if you run the test you'll find that your assertion isn't
correct on 10gR1&nbsp;:)</div>
<div>&nbsp;</div>
<div>
<p><br>&nbsp; 1&nbsp; create tablespace demo<br>&nbsp; 2&nbsp; datafile 'c:
\temp\demo01.dbf' size 10m,'c:\temp\demo02.dbf' size 10m<br>&nbsp; 3* extent
management local uniform size 128k<br>USER&nbsp;@ orcl&gt;/</p>
<p>Tablespace created.</p>
<p>USER&nbsp;@ orcl&gt;create table t1(c1 number);<br>create table t1(c1 number
)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *
<br>ERROR at line 1:<br>ORA-00955 (See ORA-00955.ora-code.com): name is already used by an existing object</p
>
<p><br>USER&nbsp;@ orcl&gt;create table demo(c1 number);</p>
<p>Table created.</p>
<p>USER&nbsp;@ orcl&gt;drop table demo;</p>
<p>Table dropped.</p>
<p>USER&nbsp;@ orcl&gt;create table demo(c1 number)<br>&nbsp; 2&nbsp;
tablespace demo;</p>
<p>Table created.</p>
<p>USER&nbsp;@ orcl&gt;alter table demo allocate extent;</p>
<p>Table altered.</p>
<p>USER&nbsp;@ orcl&gt;alter table demo allocate extent;</p>
<p>Table altered.</p>
<p>USER&nbsp;@ orcl&gt;alter table demo allocate extent;</p>
<p>Table altered.</p>
<p>USER&nbsp;@ orcl&gt;alter table demo allocate extent;</p>
<p>Table altered.</p>
<p>USER&nbsp;@ orcl&gt;alter table demo allocate extent;</p>
<p>Table altered.</p>
<p>USER@ orcl&gt;alter table demo allocate extent;</p>
<p>Table altered.</p>
<p>USER&nbsp;@ orcl&gt;select file_id,count(*)<br>&nbsp; 2&nbsp; from dba
_extents<br>&nbsp; 3&nbsp; where segment_name='DEMO'<br>&nbsp; 4&nbsp; group by
file_id;</p>
<p>&nbsp;&nbsp; FILE_ID&nbsp;&nbsp; COUNT(*)<br>-- ---- -- -- ---- --<br>&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; 4<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10&nbsp;&nbsp
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3</p>
<p>2 rows selected.</p>
<p>&nbsp;</p></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>-- <br>Niall Litchfield<br>Oracle DBA<br><a href="http://www.niall
.litchfield.dial.pipex.com">http://www.niall.litchfield.dial.pipex.com</a> </div
></div>