仓酷云

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 994|回复: 8
打印 上一主题 下一主题

[学习教程] MYSQL网页设计Oracle数据字典

[复制链接]
活着的死人 该用户已被删除
跳转到指定楼层
楼主
发表于 2015-1-16 22:38:54 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
也许最好的策略是以不变应万变:给客户他们所需要的,不多也不少。如果MySQL学习教程适合他们,他们就不应该买别的工具。事实上,云计算产业一直推崇自助服务,但提供这些服务的公司已经开始认识到解决方案提供商推销他们商品的价值。oracle|数据

Oracle数据字典


Oracle数据字典

以下表格中搜集了Oracle数据字典中几近一切的视图或别号,至于每一个视图或别号的字段请用‘Describe’语句来查询。
定名申明:
Oracle数据字典中,工具称号多半以"USER.","ALL.","DBA."为前缀"USER."视图中纪录一般纪录实行查询的帐户所具有的工具的信息,"ALL."视图中纪录包含"USER"纪录和受权至PUBLIC或用户的工具的信息,"DBA."视图包括一切数据库工具,而不论其一切者。
利用举例:
select*fromdba_data_files
查询表空间的信息(以后用户必需具有DBA脚色)
selectowner,object_name,object_typefromall_objects
查询某一用户下的一切表、历程、函数等信息


视图名形貌

ALL_CATALOGAlltables,views,synonyms,sequencesaccessibletotheuser
ALL_COL_COMMENTSCommentsoncolumnsofaccessibletablesandviews
ALL_COL_GRANTS_MADEGrantsoncolumnsforwhichtheuserisownerorgrantor
ALL_COL_GRANTS_RECDGrantsoncolumnsforwhichtheuserorPUBLICisthegrantee
ALL_COL_PRIVSGrantsoncolumnsforwhichtheuseristhegrantor,grantee,owner,oran
enabledroleorPUBLICisthegrantee
ALL_COL_PRIVS_MADEGrantsoncolumnsforwhichtheuserisownerorgrantor
ALL_COL_PRIVS_RECDGrantsoncolumnsforwhichtheuser,PUBLICorenabledroleisthegrantee
ALL_CONSTRAINTSConstraintdefinitionsonaccessibletables
ALL_CONS_COLUMNSInformationaboutaccessiblecolumnsinconstraintdefinitions
ALL_DB_LINKSDatabaselinksaccessibletotheuser
ALL_DEF_AUDIT_OPTSAuditingoptionsfornewlycreatedobjects
ALL_DEPENDENCIESDependenciestoandfromobjectsaccessibletotheuser
ALL_ERRORSCurrenterrorsonstoredobjectsthatuserisallowedtocreate
ALL_INDEXESDescriptionsofindexesontablesaccessibletotheuser
ALL_IND_COLUMNSCOLUMNscomprisingINDEXesonaccessibleTABLES
ALL_OBJECTSObjectsaccessibletotheuser
ALL_REFRESHAlltherefreshgroupsthattheusercantouch
ALL_REFRESH_CHILDRENAlltheobjectsinrefreshgroups,wheretheusercantouchthegroup
ALL_SEQUENCESDescriptionofSEQUENCEsaccessibletotheuser
ALL_SNAPSHOTSSnapshotstheusercanlookat
ALL_SOURCECurrentsourceonstoredobjectsthatuserisallowedtocreate
ALL_SYNONYMSAllsynonymsaccessibletotheuser
ALL_TABLESDescriptionoftablesaccessibletotheuser
ALL_TAB_COLUMNSColumnsofalltables,viewsandclusters
ALL_TAB_COMMENTSCommentsontablesandviewsaccessibletotheuser
ALL_TAB_GRANTS_MADEUsersgrantsandgrantsonusersobjects
ALL_TAB_GRANTS_RECDGrantsonobjectsforwhichtheuserorPUBLICisthegrantee
ALL_TAB_PRIVSGrantsonobjectsforwhichtheuseristhegrantor,grantee,owner,oran
enabledroleorPUBLICisthegrantee
ALL_TAB_PRIVS_MADEUsersgrantsandgrantsonusersobjects
ALL_TAB_PRIVS_RECDGrantsonobjectsforwhichtheuser,PUBLICorenabledroleisthegrantee
ALL_TRIGGERSTriggersaccessibletothecurrentuser
ALL_TRIGGER_COLSColumnusageinuserstriggersorintriggersonuserstables
ALL_USERSInformationaboutallusersofthedatabase
ALL_VIEWSTextofviewsaccessibletotheuser
USER_AUDIT_CONNECTAudittrailentriesforuserlogons/logoffs
USER_AUDIT_OBJECTAudittrailrecordsforstatementsconcerningobjects,specifically:table,
cluster,view,index,sequence,[public]databaselink,[public]synonym,
procedure,trigger,rollbacksegment,tablespace,role,user
USER_AUDIT_SESSION 
USER_AUDIT_STATEMENTAudittrailrecordsconcerninggrant,revoke,audit,noauditandalter
system
USER_AUDIT_TRAILAudittrailentriesrelevanttotheuser
USER_CATALOGTables,Views,SynonymsandSequencesownedbytheuser
USER_CLUSTERSDescriptionsofusersownclusters
USER_CLU_COLUMNSMappingoftablecolumnstoclustercolumns
USER_COL_COMMENTSCommentsoncolumnsofuserstablesandviews
USER_COL_GRANTSGrantsoncolumnsforwhichtheuseristheowner,grantororgrantee
USER_COL_GRANTS_MADEAllgrantsoncolumnsofobjectsownedbytheuser
USER_COL_GRANTS_RECDGrantsoncolumnsforwhichtheuseristhegrantee
USER_COL_PRIVSGrantsoncolumnsforwhichtheuseristheowner,grantororgrantee
USER_COL_PRIVS_MADEAllgrantsoncolumnsofobjectsownedbytheuser
USER_COL_PRIVS_RECDGrantsoncolumnsforwhichtheuseristhegrantee
USER_CONSTRAINTSConstraintdefinitionsonusersowntables
USER_CONS_COLUMNSInformationaboutaccessiblecolumnsinconstraintdefinitions
USER_CROSS_REFSCrossreferencesforusersviewsandsynonyms
USER_DB_LINKSDatabaselinksownedbytheuser
USER_DEPENDENCIESDependenciestoandfromausersobjects
USER_ERRORSCurrenterrorsonstoredobjectsownedbytheuser
USER_EXTENTSExtentscomprisingsegmentsownedbytheuser
USER_FREE_SPACEFreeextentsintablespacesaccessibletotheuser
USER_INDEXESDescriptionoftheusersownindexes
USER_IND_COLUMNSCOLUMNscomprisingusersINDEXesoronusersTABLES
USER_JOBSAlljobsownedbythisuser
USER_OBJECTSObjectsownedbytheuser
USER_OBJECT_SIZESizes,inbytes,ofvariouspl/sqlobjects
USER_OBJ_AUDIT_OPTSAuditingoptionsforusersowntablesandviews
USER_REFRESHAlltherefreshgroups
USER_REFRESH_CHILDRENAlltheobjectsinrefreshgroups,wheretheuserownsthe
refreshgroup
USER_RESOURCE_LIMITSDisplayresourcelimitoftheuser
USER_ROLE_PRIVSRolesgrantedtocurrentuser
USER_SEGMENTSStorageallocatedforalldatabasesegments
USER_SEQUENCESDescriptionoftheusersownSEQUENCEs
USER_SNAPSHOTSSnapshotstheusercanlookat
USER_SNAPSHOT_LOGSAllsnapshotlogsownedbytheuser
USER_SOURCESourceofstoredobjectsaccessibletotheuser
USER_SYNONYMSTheusersprivatesynonyms
USER_SYS_PRIVSSystemprivilegesgrantedtocurrentuser
USER_TABLESDescriptionoftheusersowntables
USER_TABLESPACESDescriptionofaccessibletablespaces
USER_TAB_AUDIT_OPTSAuditingoptionsforusersowntablesandviews
USER_TAB_COLUMNSColumnsofuserstables,viewsandclusters
USER_TAB_COMMENTSCommentsonthetablesandviewsownedbytheuser
USER_TAB_GRANTSGrantsonobjectsforwhichtheuseristheowner,grantororgrantee
USER_TAB_GRANTS_MADEAllgrantsonobjectsownedbytheuser
USER_TAB_GRANTS_RECDGrantsonobjectsforwhichtheuseristhegrantee
USER_TAB_PRIVSGrantsonobjectsforwhichtheuseristheowner,grantororgrantee
USER_TAB_PRIVS_MADEAllgrantsonobjectsownedbytheuser
USER_TAB_PRIVS_RECDGrantsonobjectsforwhichtheuseristhegrantee
USER_TRIGGERSTriggersownedbytheuser
USER_TRIGGER_COLSColumnusageinuserstriggers
USER_TS_QUOTASTablespacequotasfortheuser
USER_USERSInformationaboutthecurrentuser
USER_VIEWSTextofviewsownedbytheuser
AUDIT_ACTIONSDescriptiontableforaudittrailactiontypecodes.Mapsactiontype
numberstoactiontypenames
COLUMN_PRIVILEGESGrantsoncolumnsforwhichtheuseristhegrantor,grantee,owner,or
anenabledroleorPUBLICisthegrantee
DICTIONARYDescriptionofdatadictionarytablesandviews
DICT_COLUMNSDescriptionofcolumnsindatadictionarytablesandviews
DUAL 
GLOBAL_NAMEglobaldatabasename
INDEX_HISTOGRAMstatisticsonkeyswithrepeatcount
INDEX_STATSstatisticsontheb-tree
RESOURCE_COSTCostforeachresource
ROLE_ROLE_PRIVSRoleswhicharegrantedtoroles
ROLE_SYS_PRIVSSystemprivilegesgrantedtoroles
ROLE_TAB_PRIVSTableprivilegesgrantedtoroles
SESSION_PRIVSPrivilegeswhichtheusercurrentlyhasset
SESSION_ROLESRoleswhichtheusercurrentlyhasenabled.
TABLE_PRIVILEGESGrantsonobjectsforwhichtheuseristhegrantor,grantee,owner,or
anenabledroleorPUBLICisthegrantee
ACCESSIBLE_COLUMNSSynonymforALL_TAB_COLUMNS
ALL_COL_GRANTSSynonymforCOLUMN_PRIVILEGES
ALL_JOBSSynonymforUSER_JOBS
ALL_TAB_GRANTSSynonymforTABLE_PRIVILEGES
CATSynonymforUSER_CATALOG
CLUSynonymforUSER_CLUSTERS
COLSSynonymforUSER_TAB_COLUMNS
DBA_AUDIT_CONNECTSynonymforUSER_AUDIT_CONNECT
DBA_AUDIT_RESOURCESynonymforUSER_AUDIT_RESOURCE
DBA_REFRESH_CHILDRENSynonymforUSER_REFRESH_CHILDREN
DICTSynonymforDICTIONARY
INDSynonymforUSER_INDEXES
OBJSynonymforUSER_OBJECTS
SEQSynonymforUSER_SEQUENCES
SM$VERSIONSynonymforSM_$VERSION
SYNSynonymforUSER_SYNONYMS
TABSSynonymforUSER_TABLES
V$ACCESSSynonymforV_$ACCESS
V$ARCHIVESynonymforV_$ARCHIVE
V$BACKUPSynonymforV_$BACKUP
V$BGPROCESSSynonymforV_$BGPROCESS
V$CIRCUITSynonymforV_$CIRCUIT
V$COMPATIBILITYSynonymforV_$COMPATIBILITY
V$COMPATSEGSynonymforV_$COMPATSEG
V$CONTROLFILESynonymforV_$CONTROLFILE
V$DATABASESynonymforV_$DATABASE
V$DATAFILESynonymforV_$DATAFILE
V$DBFILESynonymforV_$DBFILE
V$DBLINKSynonymforV_$DBLINK
V$DB_OBJECT_CACHESynonymforV_$DB_OBJECT_CACHE
V$DISPATCHERSynonymforV_$DISPATCHER
V$ENABLEDPRIVSSynonymforV_$ENABLEDPRIVS
V$FILESTATSynonymforV_$FILESTAT
V$FIXED_TABLESynonymforV_$FIXED_TABLE
V$LATCHSynonymforV_$LATCH
V$LATCHHOLDERSynonymforV_$LATCHHOLDER
V$LATCHNAMESynonymforV_$LATCHNAME
V$LIBRARYCACHESynonymforV_$LIBRARYCACHE
V$LICENSESynonymforV_$LICENSE
V$LOADCSTATSynonymforV_$LOADCSTAT
V$LOADTSTATSynonymforV_$LOADTSTAT
V$LOCKSynonymforV_$LOCK
V$LOGSynonymforV_$LOG
V$LOGFILESynonymforV_$LOGFILE
V$LOGHISTSynonymforV_$LOGHIST
V$LOG_HISTORYSynonymforV_$LOG_HISTORY
V$MLS_PARAMETERSSynonymforV_$MLS_PARAMETERS
V$MTSSynonymforV_$MTS
V$NLS_PARAMETERSSynonymforV_$NLS_PARAMETERS
V$NLS_VALID_VALUESSynonymforV_$NLS_VALID_VALUES
V$OPEN_CURSORSynonymforV_$OPEN_CURSOR
V$OPTIONSynonymforV_$OPTION
V$PARAMETERSynonymforV_$PARAMETER
V$PQ_SESSTATSynonymforV_$PQ_SESSTAT
V$PQ_SLAVESynonymforV_$PQ_SLAVE
V$PQ_SYSSTATSynonymforV_$PQ_SYSSTAT
V$PROCESSSynonymforV_$PROCESS
V$QUEUESynonymforV_$QUEUE
V$RECOVERY_LOGSynonymforV_$RECOVERY_LOG
V$RECOVER_FILESynonymforV_$RECOVER_FILE
V$REQDISTSynonymforV_$REQDIST
V$RESOURCESynonymforV_$RESOURCE
V$ROLLNAMESynonymforV_$ROLLNAME
V$ROLLSTATSynonymforV_$ROLLSTAT
V$ROWCACHESynonymforV_$ROWCACHE
V$SESSIONSynonymforV_$SESSION
V$SESSION_CURSOR_CACHESynonymforV_$SESSION_CURSOR_CACHE
V$SESSION_EVENTSynonymforV_$SESSION_EVENT
V$SESSION_WAITSynonymforV_$SESSION_WAIT
V$SESSTATSynonymforV_$SESSTAT
V$SESS_IOSynonymforV_$SESS_IO
V$SGASynonymforV_$SGA
V$SGASTATSynonymforV_$SGASTAT
V$SHARED_SERVERSynonymforV_$SHARED_SERVER
V$SQLAREASynonymforV_$SQLAREA
V$STATNAMESynonymforV_$STATNAME
V$SYSSTATSynonymforV_$SYSSTAT
V$SYSTEM_CURSOR_CACHESynonymforV_$SYSTEM_CURSOR_CACHE
V$SYSTEM_EVENTSynonymforV_$SYSTEM_EVENT
V$THREADSynonymforV_$THREAD
V$TIMERSynonymforV_$TIMER
V$TRANSACTIONSynonymforV_$TRANSACTION
V$TYPE_SIZESynonymforV_$TYPE_SIZE
V$VERSIONSynonymforV_$VERSION
V$WAITSTATSynonymforV_$WAITSTAT
V$_LOCKSynonymforV_$_LOCK
一些典型的RDBMS功能并不总是在DBaaS系统中可用。例如MySQL学习教程,WindowsAzureSQLDatabase(以前的SQLAzure)是微软的DBaaS产品,提供了一个类似于SQLServer的数据库平台。
海妖 该用户已被删除
沙发
发表于 2015-1-18 09:58:47 | 只看该作者
无法深入到数据库系统层面去了解和探究
再现理想 该用户已被删除
板凳
发表于 2015-1-21 18:51:51 | 只看该作者
一个是把SQL语句写到客户端,可以使用DataSet进行加工;
灵魂腐蚀 该用户已被删除
地板
发表于 2015-1-30 21:50:40 | 只看该作者
代替了原来VB式的错误判断。比Oracle高级不少。
若天明 该用户已被删除
5#
发表于 2015-2-6 16:10:30 | 只看该作者
如果我们从集合论(关系代数)的角度来看,一张数据库的表就是一组数据元的关系,而每个SQL语句会改变一种或数种关系,从而产生出新的数据元的关系(即产生新的表)。
柔情似水 该用户已被删除
6#
发表于 2015-2-17 02:49:25 | 只看该作者
不好!如果出了错;不好调试;不好处理!其实web开发将代码分为3层:web层;业务逻辑层和数据访问层;一般对数据库的操作都在数据访问层来做;这样便于调试和维护!而且将来如果是换了数据库的话;你只需要改数据层的代码;其他层的基本可以不变!要是你在jsp中直接调用sql数据库;那么如果换了数据库呢?岂不都要改?如果报了异常呢?怎么做异常处理?
透明 该用户已被删除
7#
发表于 2015-3-5 14:52:38 | 只看该作者
其实可以做一下类比,Oracle等数据库产品老早就支持了java编程,而且提供了java池参数作为用户配置接口。但是现在有哪些系统大批使用了java存储过程?!连Oracle自己的应用都不用为什么?!
不帅 该用户已被删除
8#
发表于 2015-3-12 08:19:37 | 只看该作者
我个人认为就是孜孜不懈的学习
若相依 该用户已被删除
9#
发表于 2015-3-19 19:17:40 | 只看该作者
索引视图2k就有。但是2005对其效率作了一些改进但是schema.viewname的作用域真是太限制了它的应用面。还有一大堆的环境参数和种种限制都让人对它有点却步。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|仓酷云 鄂ICP备14007578号-2

GMT+8, 2024-12-23 01:26

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表