Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Temp space in 10g and data insert speed
Did you trace your session? That will tell you where the waits are =
occurring.
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Ron Rogers
Sent: Tuesday, January 11, 2005 6:18 AM
To: oracle-l_at_freelists.org
Subject: Temp space in 10g and data insert speed
List,
OS Redhat AS 3.0 u3 memory 750 Meg swap 1.5 Gig
Oracle 10.1.0.3
I have created the database and included the temporary temp tablespace.
The sga is created using the sga_target and sga_max parameters using
685 Meg
and there still is free memory via the TOP command. The swap space does
not show as being used.
The tables have been created along with the indexes and I am now
starting to insert the data.
My question. In the past I have had to create large temp tablespaces to
handle the inserts with indexes but on this database I see no increase
in the size of the temp tablespace. The manuals describe the temp
tablespace as being used for the "user" created objects and sorts
created by the "users".
The inserts are taking a long time ( hours) to insert 4 million rows.
What could be the possible option that I have missed in creating the
database that
would allow for inserts and index creation to be faster. I know that I
should drop the indexes during dataloads but using my play/test box with
9i is a lot faster inserting data into the same table.
=20
Listed is my init.ora---
# create to replace the spfilelnxdb.ora REDHATDB DATABASE
#########################################################################=######
# database identification
db_name=3Dredhatdb
db_domain=3Dglc
instance_name=3Dlinuxdb
service_names=3Dredhatdb.glc
# database files
control_files=3D("/data/control01.ctl","/u01/data/control02.ctl","/u02/da=
ta/contro
l03.ctl")
open_cursors=3D700
db_block_size=3D8192
# db_cache_size=3D130023424
# database memory usage
sga_max_size =3D 685500000
sga_target =3D 685500000
#shared_pool_size=3D184549376
log_checkpoint_timeout=3D1800 log_archive_dest_1=3D'LOCATION=3D/u02/archlogs' log_archive_format=3Darch_%t_%s_%r.arc
max_dump_file_size=3D10000 utl_file_dir =3D /DATA utl_file_dir =3D /DATA/DATA utl_file_dir =3D /DATA/LOG utl_file_dir =3D /DATA/PAR utl_file_dir =3D /oratrace/bdump NLS_DATE_FORMAT =3D "MM-DD-YYYY"
#query_rewrite_enabled=3DFALSE
undo_management=3DAUTO undo_retention=3D600 undo_tablespace=3DUNDOTBS
Thanks for the input as I continue to search the doc's and metalink. Ron=20
-- http://www.freelists.org/webpage/oracle-l This electronic message transmission is a PRIVATE communication which = contains information which may be confidential or privileged. The information is = intended=20 to be for the use of the individual or entity named above. If you are = not the=20 intended recipient, please be aware that any disclosure, copying, = distribution=20 or use of the contents of this information is prohibited. Please notify = the sender of the delivery error by replying to this message, or notify us = by telephone (877-633-2436, ext. 0), and then delete it from your system. -- http://www.freelists.org/webpage/oracle-lReceived on Tue Jan 11 2005 - 09:23:01 CST
![]() |
![]() |