Vous êtes sur la page 1sur 2

11/19/2015

Document298698.1

AvoidingabnormalgrowthofFND_LOBStableinApplications11i(DocID298698.1)

APPLIESTO:
OracleApplicationObjectLibraryVersion11.5.10.2to12.1.3[Release11.5to12.1]
Informationinthisdocumentappliestoanyplatform.
Checkedforrelevanceon04JAN2014

GOAL
ThisdocumentwillhelpyoutogettheneedofincreasingthefilespacefortheFND_LOBStablespacebettermanaged

SOLUTION

AvoidingabnormalgrowthofFND_LOBStable

OfallthetablesthatoccupyverylargeamountofspacewithinAPPLSYSDandAPPLSYSXtablespacesofOracle
Applicationsinstances,FND_LOBSisusuallyoneofthetop10.Thisisbecause,itstoresalltheattachmentsthathave
beenuploadedtoOracleApplications.ThereisaLOBfieldwithinthistablecalledFILE_DATA,thecorrespondingLOB
segment(e.g.,APPLSYS.SYS_LOB0000680397C00004$$)iswheretheactualattachmentdataisstored,andisusually
verylarge.

Itisimportantthatitssizebecontrolled.

Old/ExpiredExports:
Someofthedatathatgetsintothistablebelongstoold/expiredexports.Foreveryrequestforanexport,anentryin
theFND_LOBStableisrecorded.Thisdatamustbepurgedregularly.Thereisapurgeprogramavailabletopurgethis
datacalledPurgeObsoleteGenericFileManagerData(FNDGFMPR).FNDGFMPRisaPL/SQLprocedure,whichgetsrid
ofoldobsoleteuploadedfiles(loadedtothedatabase)fortheprogramsFND_HELP,exportandFND_ATTACH,these
areprogramsthatarerunundertheFNDGFU(GenericFileManagerAccessUtility).TheNote216541.1'Concurrent
ProcessingHowToAddTheConcurrentProgram"PurgeObsoleteGenericFileManagerData"ToTheSysadmin
User.'describeshowtoaddTheConcurrentProgram"PurgeObsoleteGenericFileManagerData"ToTheSysadmin
User.

PCTVERSION:
SincetheLOBsegmentsareusuallyverylarge,theyaretreateddifferentlyfromothercolumns.Whileothercolumns
canbeguaranteedtogiveconsistentreads,thesecolumnsarenot.Thisisbecause,itisdifficulttomanagewithLOB
datarollbacksegmentsduetotheirsizeunlikeothercolumns.Sotheydonotuserollbacksegments.Usuallyonlyone
copyexists,sothequeriesreadingthatcolumnmaynotgetconsistentreadswhileotherqueriesmodifythem.Inthese
cases,theotherquerieswillget"ORA22924snapshottooold"errors.

TomaintainreadconsistencyOraclecreatesnewLOBpageversionseverytimealobchanges.PCTVERSIONisthe
percentageofallusedLOBdataspacethatcanbeoccupiedbyoldversionsofLOBdatapages.Assoonasoldversions
ofLOBdatapagesstarttooccupymorethanthePCTVERSIONamountofusedLOBspace,Oracletriestoreclaimthe
oldversionsandreusethem.Inotherwords,PCTVERSIONisthepercentofusedLOBdatablocksthatisavailablefor
versioningoldLOBdata.ThePCTVERSIONcanbesettothepercentageofLOB'sthatareoccasionallyupdated.

FND_LOBStable'sFILE_DATALOBcolumnusuallygetsthedatauploadedonlyonce,butisreadmultipletimes.Hence
itisnotnecessarytokeepolderversionsofLOBdata.Itisrecommendedthatthisvaluebechangedto"0".

BydefaultPCTVERSIONissetto10%.So,mostoftheinstancesusuallyhaveitsetto10%,itmustbesetto0%
explicitly.Thevaluecanbechangedanytimeinarunningsystem.
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=1m1ha8cr1_145&id=298698.1

1/2

11/19/2015

Document298698.1

UsethefollowingquerytofindoutcurrentlysetvalueforPCTVERSION:

selectPCTVERSIONfromdba_lobswhereTABLE_NAME='FND_LOBS'and
COLUMN_NAME='FILE_DATA'

PCTVERSION

10

PCTVERSIONcanbechangedusingthefollowingSQL(itcanberunanytimeinarunningsystem):

ALTERTABLEFND_LOBSMODIFYLOB(FILE_DATA)(PCTVERSION0)

Pleasebeaware:
Thesolutionshows,howtoavoidtheincreaseofthetableinfutureitdoesnotshrinkthecurrenttablespace!
TheonlysupportedwaytoshrinkthetablespaceistoexportandreimportthewholeDatabase.
Didn'tfindwhatyouarelookingfor?

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=1m1ha8cr1_145&id=298698.1

2/2