欢迎来到天天文库
浏览记录
ID:50587487
大小:1.34 MB
页数:78页
时间:2020-03-12
《数据库基础知识培训胶片.ppt》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、数据库基础知识培训胶片集成产品部数据库原理目标通过这部分课程的学习,您将了解以下内容:关系数据库基本概念常用数据库对象常用数据类型INDatabaseInformixServerSMPSCPSMAPSMAPSMAPThedatabaseplaystheroleofthebase,savingandprocessingthedatathatshouldbeeasilyaccessedbytheuser.Whatisadatabase?Usually,adatabaserunsintheserverparttoservea
2、ccessrequestsfromclients.DBClient(DBA)DBDBServerDBClient(User)DBClient(User)UsersuseDDLtodefineadatabaseUsersuseDMLtooperatedatainadatabaseUsersuseprogramstomanagedatabaseDDL,DML&ProgramsTablesAdatabaseinaRDBMSisacollectionofinformationthatisgroupedintooneormore
3、tables.Atableisanarrayofdataitemsorganizedintorowsandcolumns.StockPPSServiceDataTableINServiceDatabaseFPHServiceDataTableSubscriberDataTableTablesarerelationalSubIDBalanceIDDFlag1001100.0001012200.001MSISDNNumBalanceIDDFlagSubID1001100.0001001012200.001101FPHNum
4、BalanceIDDFlagSubID80081012341100.00010080081043212200.001101RowsRowsEachrowofatablestandsforoneinstanceofthesubjectofthetable,whichisoneparticularexampleofthatentity.StockColumnsEachcolumnofatablestandsforoneattribute,whichisonecharacteristic,feature,orfactthat
5、istrueofthesubjectofthetable.ColumnsStockOperationsonTablesDatabaseObjectsObjectDescriptionTableBasicunitofstorage;composedofrowsandcolumnsViewLogicallyrepresentssubsetsofdatafromoneormoretablesSequenceNumericvaluegeneratorIndexImprovestheperformanceofsomequerie
6、sSynonymGivesalternativenamestoobjectsWhatisaView?EMPLOYEESTable:WhyUseViews?TorestrictdataaccessTomakecomplexquerieseasyToprovidedataindependenceTopresentdifferentviewsofthesamedataWhatareConstraints?Constraintsenforcerulesatthetablelevel.Constraintspreventthed
7、eletionofatableiftherearedependencies.Thefollowingconstrainttypesarevalid:NOTNULLUNIQUEPRIMARYKEYFOREIGNKEYCHECKWhatisanIndex?Anindex:IsaschemaobjectIsusedbytheOracleservertospeeduptheretrievalofrowsbyusingapointerCanreducediskI/Obyusingarapidpathaccessmethodtol
8、ocatedataquicklyIsindependentofthetableitindexesIsusedandmaintainedautomaticallybytheOracleserverHowAreIndexesCreated?Automatically:Auniqueindexiscreatedautomatically
此文档下载收益归作者所有