You are on page 1of 4

ECCDB596

fcdb596
1641712
REcovery catalog Database Migration
I have a Database which serves as a catalog database for all other production da
tabases.
I need to Migrate this database to a new server. What are my options. Its a data
guard pair.
Version is 10.2.0.4.0.
1577058304
1073741824
1577058304
1570009088

FSTV2DEV
FSTV2DV2
FSTV2QBO
FSTV2DDS

scp crosro02@ggcr.dearborn.ford.com:/ford/thishost/proj/dbeng/DBRepository/oracl
e/build/10g/Ora10gDBLoad_SLES10.tar .
rm -rf $ORACLE_HOME/dbs/*FSTV2DDV*
eccdb229_PURD1D.world =
(DESCRIPTION=
(ADDRESS_LIST=(ADDRESS=(COMMUNITY=tcp.world)
(PROTOCOL=TCP)(Host=eccdb229.dearborn.ford.com)(Port=1521))
)
(CONNECT_DATA=(SID=PURD1D)
)
)
eccdb679_PURD1D =
(DESCRIPTION=
(ADDRESS_LIST=(ADDRESS=(COMMUNITY=tcp.world)
(PROTOCOL=TCP)(Host=eccdb679.ecc2q.ford.com)(Port=1521))
)
(CONNECT_DATA=(SID=PURD1D)
)
)

587 work
email Siddha
Server NA_ORA_Gen_DigEnv
587-waiting for email from them
Shubha server
GPIRS
1664023

scp -r crosro02@ggcr.dearborn.ford.com:/ford/thishost/proj/dbeng/DBRepository/FO
SAII/LINUX/LINUX_FOSAII_install_encrypt.tar.gz .
dmrtproddg_DMRTPROD= (DESCRIPTION =
(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = dmrtproddg.ford.com) (POR
T = 1521)))
(CONNECT_DATA = (SID = DMRTPROD)))

SELECT PARTPREFIX, PARTBASE, PARTSUFFIX, BUILDSITEID, MODELYEAR, PROTOPHASE, VEH


ICLELINE, PRODUCTTYPE, BUILDPROCESSID,
OWNERSHIPTYPE, OWNERSHIPCODE, FUNCTIONCPSC, FUNCTIONCPSCSEQUENCE FROM GPIRSP.BU
ILDPROCESSCODE WHERE OWNERSHIPTYPE = 'P'

select pr.bldschedno_commoditygroupcode,
sc.ProtoPhase,
sc.ProgName,
decode(pr.purpose,NULL,'N','Y') purpose_yesno,
prl.procurementrequestnumber,
prl.prlinenumber,
prl.purchaseordernumber,
prl.purchaseorderlinenumber,
prl.purchaseorderamendmentnumber,
prl.prlinesuffix,
nvl(prl.buildquantity,0) + nvl(prl.sparequantity,0)
+ nvl(prl.excessquantity,0) orderedquantity,
nvl(prl.receivedbuildquantity,0) + nvl(prl.receivedsparequantity,0)
+ nvl(prl.receivedexcessquantity,0) receivedquantity,
prl.receivinglocation,
prl.buyercode,
prl.followupperson,
prl.lastreceiveddate,
prl.rpsstatus,
prl.fabcode,
po.creationdate,
po.suppliercode,
REPLACE(RTRIM(Address),',',' ') Address,
CountryCode,
decode(po.purchaseordertype,
'1','Blanket Release',
'2','ICBA',
'3','Tool Authorization',
'4','Global Stock',
po.purchaseordertype) purchaseordertype
from GPIRSP.purchaseorder po, GPIRSP.procurementrequestline prl, GPIRSP.proc
urementrequest pr, GPIRSP.Schedule sc, GPIRSP.GSDBCodes
where pr.bldschedno_commoditygroupcode in
(select distinct s.schedule
from GPIRSP.schedule s, GPIRSP.buildprototype bpt
where bpt.schedule = s.schedule
and (bpt.buildid, bpt.levelnumber) in
(select buildid, levelnumber
from GPIRSP.builddate
where datename = 'COMPLETE'

and corporatedate > sysdate - 110


)
)
and pr.BldSchedNo_CommodityGroupCode = sc.Schedule(+)
and prl.procurementrequestnumber = pr.procurementrequestnumber
and nvl(prl.buildquantity,0) + nvl(prl.sparequantity,0)
+ nvl(prl.excessquantity,0) > 0
and prl.rpsstatus = 'X'
and po.purchaseordernumber(+) = prl.purchaseordernumber
and po.purchaseorderamendmentnumber(+) = prl.purchaseorderamendmentnumber
and gsdbcode(+) = po.suppliercode;

PLAN_TABLE_OUTPUT
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| Id | Operation
| Name
| Rows | By
tes | Cost |
-------------------------------------------------------------------------------------------| 0 | SELECT STATEMENT
|
| 2789 |
536K| 10613 |
| 1 | NESTED LOOPS OUTER
|
| 2789 |
536K| 10613 |
| 2 | NESTED LOOPS OUTER
|
| 2789 |
411K| 8940 |
|* 3 |
HASH JOIN OUTER
|
| 2789 |
335K| 7824 |
|* 4 |
HASH JOIN SEMI
|
| 2789 |
283K| 7815 |
|* 5 |
HASH JOIN
|
| 6007 |
574K| 7280 |
|* 6 |
TABLE ACCESS FULL
| PROCUREMENTREQUESTLINE
| 6007 |
439K| 6121 |
PLAN_TABLE_OUTPUT
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|* 7 |
TABLE ACCESS FULL
| PROCUREMENTREQUEST
| 575K|
12M| 1151 |
| 8 |
VIEW
| VW_NSO_1
| 1179 | 7
074 | 530 |
| 9 |
NESTED LOOPS
|
| 1179 | 63
666 | 530 |
|* 10 |
HASH JOIN
|
| 1179 | 54
234 | 529 |
|* 11 |
TABLE ACCESS FULL
| BUILDDATE
| 1158 | 31
266 | 340 |
| 12 |
VIEW
| index$_join$_007
| 112K| 2
083K| 188 |
|* 13 |
HASH JOIN
|
| 112K| 2
083K|
|
| 14 |
INDEX FAST FULL SCAN| FK_BUILDPROTOTYPE_SCHEDULE | 112K| 2

083K|
73 |
| 15 |
INDEX FAST FULL SCAN| PK_BUILDPROTOTYPE
083K|
73 |
|* 16 |
INDEX UNIQUE SCAN
| PK_SCHEDULE
8 |
|
| 17 |
TABLE ACCESS FULL
| SCHEDULE
917 |
6 |

112K| 2

1 |

| 3943 | 74

PLAN_TABLE_OUTPUT
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| 18 |
TABLE ACCESS BY INDEX ROWID| PURCHASEORDER
|
1 |
28 |
1 |
|* 19 |
INDEX UNIQUE SCAN
| PK_PURCHASEORDERNUMBER
|
1 |
|
1 |
| 20 | TABLE ACCESS BY INDEX ROWID | GSDBCODES
|
1 |
46 |
1 |
|* 21 |
INDEX RANGE SCAN
| GSDBCODES_IDX1
|
1 |
|
2 |
-------------------------------------------------------------------------------------------Predicate Information (identified by operation id):
--------------------------------------------------3 - access("PR"."BLDSCHEDNO_COMMODITYGROUPCODE"="SC"."SCHEDULE"(+))
4 - access("PR"."BLDSCHEDNO_COMMODITYGROUPCODE"="VW_NSO_1"."SCHEDULE")
ECCDB740_GED
ECCDB797_S2M
FCDB740_GEP
FCDB797_S2D
FCXDB71_GCSQ9
FCXDB72_GCSA9
fcxdb73a_GCSP9

1669198