Sql*Loader and assign a ROLLBACK segment

2001-06-18 Thread adm-unix


Hello,

I have a sql*loader script which failed due to the non possibility to
extend a rollback segment in the
TBS ROLLBACK_DATA.

Oracle version 8.1.6.2 on AIX 4.3.3.

I have a huge rollback segment in the TBS ROLLBACK_DATA, but how tell to
sql*loader to use
this rollback segment ?

I have not found any option to assign a rollback segment in the doc.

 I just found the UNRECOVERABLE option and i will try with it.

Any other ideas, suggestions welcome.

Best regards
Philippe

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Help to restore a TBS

2001-02-18 Thread adm-unix


Hello,

I have a 8.1.6.2 database which is about 8 Go in size. I have to restore a
1,5 Go tablespace (which is 3 physical files of 500Mo)  to recover (by an
export) the data of a table accidently overwritten and just this table.
The backup is done every day at night. It is a cold backup of the database
files (database closed).
The problems are : i have only 1 Go of free space on my Unix AIX system, it
is a datawarehouse base and
i could not stop the base. I can put offline the tablespace for a limited
time.

Can i do ? :
1 -put offline the original tablespace
2 -backup it on a tape, delete it
3 -restore the old one TBS
4 -put online in restricted mode the restored TBS
5 -do the export of my table
6 - put offline the TBS
7 - delete it
8 - restore the original TBS from tape

Thanks for any advices
Best Regards
Philippe

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Help optimize statement

2001-02-13 Thread adm-unix


Hello,

 I have this user statement below which is very long in a 8.1.6.2
database.
Any ideas to optimize it is wellcome.

Best Regards
Philippe

**
SELECT
  PLT_LISTE_DES_AGENTS_PL97.SEXE,
  PLT_FORMATION_AGENT_PL74.PL0PL009_COLLEGE,
  count(PLT_FORMATION_AGENT_PL74.PL97_MATRICULE),
  PLT_FORMATION_AGENT_PL74.DUR_TOT
FROM
  PLT_LISTE_DES_AGENTS_PL97,
  PLT_FORMATION_AGENT_PL74,
  PLT_FORMATION_ACTION_PL73
WHERE
  (PLT_LISTE_DES_AGENTS_PL97.MATRICULE = PLT_FORMATION_AGENT_PL74.PL97_MATRICULE)
  AND (PLT_FORMATION_ACTION_PL73.ACTION = PLT_FORMATION_AGENT_PL74.PL73_ACTION and
  PLT_FORMATION_ACTION_PL73.INDICE = PLT_FORMATION_AGENT_PL74.PL73_INDICE)
  AND  (
  PLT_LISTE_DES_AGENTS_PL97.SEXE  =  'M'
  AND  PLT_FORMATION_AGENT_PL74.COD_STAGIAIRE  =  'O'   ((INDEX CREATED)
  AND  PLT_FORMATION_ACTION_PL73.NO_ACTION  LIKE  'F0%'  ((PRIMARY KEY
  )
GROUP BY
  PLT_LISTE_DES_AGENTS_PL97.SEXE,
  PLT_FORMATION_AGENT_PL74.PL0PL009_COLLEGE,
  PLT_FORMATION_AGENT_PL74.DUR_TOT
ORDER BY
  PLT_LISTE_DES_AGENTS_PL97.SEXE,
  PLT_FORMATION_AGENT_PL74.PL0PL009_COLLEGE
/

explain plan :**
STATEMENT=MRrepFor  TIMESTAMP= 12/02/01
OPERATION=SORT  OPTION=  ORDER BY



  ID=  1   parentID=   0POSITION=  1

MRrepFor   12/02/01

SORT   GROUP BY



2  1  1


MRrepFor   12/02/01
NESTED LOOPS




3  2  1

MRrepFor   12/02/01
NESTED LOOPS




4  3  1


MRrepFor   12/02/01
TABLE ACCESS   FULL

OBJECTOWNER=BOCONFID  OBJECTNAME= PLT_FORMATION_AGENT_PL74 
2


5  4  1

MRrepFor   12/02/01
TABLE ACCESS   BY INDEX ROWID

BOCONFID   PLT_LISTE_DES_AGENTS_PL971


6  4  2



MRrepFor   12/02/01
INDEX  UNIQUE SCAN

BOCONFID   PL97_PKUNIQUE

7  6  1



MRrepFor   12/02/01
TABLE ACCESS   BY INDEX ROWID

BOCONFID   PLT_FORMATION_ACTION_PL733

8  3  2


MRrepFor   12/02/01
INDEX  RANGE SCAN

BOCONFID   PL73_PKUNIQUE

9  8  1



MRrepFor   12/02/01
SELECT STATEMENT


CHOOSE
0

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).