欢迎来到天天文库
浏览记录
ID:6722762
大小:182.50 KB
页数:24页
时间:2018-01-23
《3.模式对象管理概述(自学)》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、SRC:Oracle8iAdministrator'sGuide(12)GuidelinesforManagingSchemaObjects·ManagingSpaceinDataBlocks·TransactionEntrySettings(INITRANSandMAXTRANS)·SettingStorageParameters·DeallocatingSpaceManagingSpaceinDataBlocksThePCTFREEandPCTUSEDparametersareusedto:1.Increasetheperforman
2、ceofwritingandretrievingdata2.Decreasetheamountofunusedspaceindatablocks3.DecreasetheamountofrowchainingbetweendatablocksThePCTFREEParameterlThePCTFREEparameterisusedtosetthepercentageofablocktobereservedforpossibleupdatestorowsthatalreadyarecontainedinthatblock.lNoticeth
3、atbeforetheblockreachesPCTFREE,thefreespaceofthe24datablockisfilledbyboththeinsertionofnewrowsandbythegrowthofthedatablockheader.SpecifyingPCTFREElThedefaultforPCTFREEis10percent.Youcanuseanyintegerbetween0and99,inclusive,aslongasthesumofPCTFREEandPCTUSEDdoesnotexceed100.
4、lAsmallerPCTFREEhasthefollowingeffects:1.Reserveslessroomforupdatestoexpandexistingtablerows2.Allowsinsertstofilltheblockmorecompletely3.Maysavespace,becausethetotaldataforatableorindexisstoredinfewerblocks(morerowsorentriesperblock)lAlargerPCTFREEhasthefollowingeffects:1
5、.Reservesmoreroomforfutureupdatestoexistingtablerows2.Mayrequiremoreblocksforthesameamountofinserteddata(insertingfewerrowsperblock)3.Mayimproveupdateperformance,becauseOracledoesnotneedtochainrowpiecesasfrequently,ifeverlPCTFREEforNonclusteredTables:Ifthedataintherowsofa
6、nonclusteredtableislikelytoincreaseinsizeovertime,reservesomespacefortheseupdates.Otherwise,updatedrowsarelikelytobechainedamongblocks.lPCTFREEforClusteredTables:Thediscussionfornonclusteredtablesalsoappliestoclusteredtables.However,ifPCTFREEisreached,newrowsfromanytablec
7、ontainedinthesameclusterkeygointoanewdatablockthatischainedtotheexistingclusterkey.lPCTFREEforIndexes:YoucanspecifyPCTFREEonlywheninitiallycreatinganindex.ThePCTUSEDParameterlAfteradatablockbecomesfullasdeterminedbyPCTFREE,Oracledoesnotconsidertheblockfortheinsertionofnew
8、rowsuntilthepercentageoftheblockbeingusedfallsbelowtheparameterPCTUSED.24SpecifyingPCTUSEDlThede
此文档下载收益归作者所有