欢迎来到天天文库
浏览记录
ID:18459050
大小:182.50 KB
页数:24页
时间:2018-09-18
《3.模式对象管理概述(自学)》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、SRC:Oracle8iAdministrator'sGuide(12)GuidelinesforManagingSchemaObjects·ManagingSpaceinDataBlocks·TransactionEntrySettings(INITRANSandMAXTRANS)·SettingStorageParameters·DeallocatingSpaceManagingSpaceinDataBlocksThePCTFREEandPCTUSEDparametersareusedto:1.Increas
2、etheperformanceofwritingandretrievingdata2.Decreasetheamountofunusedspaceindatablocks3.DecreasetheamountofrowchainingbetweendatablocksThePCTFREEParameterlThePCTFREEparameterisusedtosetthepercentageofablocktobereservedforpossibleupdatestorowsthatalreadyarecont
3、ainedinthatblock.lNoticethatbeforetheblockreachesPCTFREE,thefreespaceofthe24datablockisfilledbyboththeinsertionofnewrowsandbythegrowthofthedatablockheader.SpecifyingPCTFREElThedefaultforPCTFREEis10percent.Youcanuseanyintegerbetween0and99,inclusive,aslongasthe
4、sumofPCTFREEandPCTUSEDdoesnotexceed100.lAsmallerPCTFREEhasthefollowingeffects:1.Reserveslessroomforupdatestoexpandexistingtablerows2.Allowsinsertstofilltheblockmorecompletely3.Maysavespace,becausethetotaldataforatableorindexisstoredinfewerblocks(morerowsorent
5、riesperblock)lAlargerPCTFREEhasthefollowingeffects:1.Reservesmoreroomforfutureupdatestoexistingtablerows2.Mayrequiremoreblocksforthesameamountofinserteddata(insertingfewerrowsperblock)3.Mayimproveupdateperformance,becauseOracledoesnotneedtochainrowpiecesasfre
6、quently,ifeverlPCTFREEforNonclusteredTables:Ifthedataintherowsofanonclusteredtableislikelytoincreaseinsizeovertime,reservesomespacefortheseupdates.Otherwise,updatedrowsarelikelytobechainedamongblocks.lPCTFREEforClusteredTables:Thediscussionfornonclusteredtabl
7、esalsoappliestoclusteredtables.However,ifPCTFREEisreached,newrowsfromanytablecontainedinthesameclusterkeygointoanewdatablockthatischainedtotheexistingclusterkey.lPCTFREEforIndexes:YoucanspecifyPCTFREEonlywheninitiallycreatinganindex.ThePCTUSEDParameterlAftera
8、datablockbecomesfullasdeterminedbyPCTFREE,OracledoesnotconsidertheblockfortheinsertionofnewrowsuntilthepercentageoftheblockbeingusedfallsbelowtheparameterPCTUSED.24SpecifyingPCTUSEDlThede
此文档下载收益归作者所有