因为ArcGIS10的Schema和ArcGIS9的Schema发生了很大的变化,详细可以查看: Geodatabase10新特性 ArcSDE10新特性-系统表解析 下面我们介绍一下怎么在数据库里面查看,以Oracle数据库为例,因为SQL Server比较简单,直接查看即可 假如说我们对ArcSDE里面的一个
因为ArcGIS10的Schema和ArcGIS9的Schema发生了很大的变化,详细可以查看:
Geodatabase10新特性
ArcSDE10新特性-系统表解析
下面我们介绍一下怎么在数据库里面查看,以Oracle数据库为例,因为SQL Server比较简单,直接查看即可
假如说我们对ArcSDE里面的一个名字叫ter1的要素类设置相关的元数据信息
为了好辨认,我就使用了上面的信息
那么我们在数据库中查询
C:\Users\Administrator>sqlplus sde/sde@orcl SQL*Plus: Release 11.2.0.1.0 Production on 星期三 5月 23 15:55:46 2012 Copyright (c) 1982, 2010, Oracle. All rights reserved. 连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> select documentation from gdb_items where name ='TEST.ter1'; DOCUMENTATION ------------- 311登录SDE用户,然后在GDB_ITEMS表中查询指定要素类的DOCMENTATION,如果是SQL Server,直接点击可以查看,如果是Oracle,我们可以看到一个数字,该数字是在sde_xml_doc2表里面对应相关的信息
SQL> select sde.sdexmltotext(xml_doc) as xml from sde_xml_doc2 where sde_xml_id=311; XML -------------------------------------------------------------------------------- <metadata xml:lang="zh"><esri><creadate>20120523</creadate><creatime>09083600reaTime><synconce>FALSE</synconce><syncdate>20120523</syncdate><synctime>1504100 0</synctime><moddate>20120523</moddate><modtime>15362900</modtime><datapropertie s><lineage><process toolsource="D:\Program Files (x86)\ArcGIS\ArcToolbox\Toolbox ...... XML -------------------------------------------------------------------------------- ed.</useconst><natvform Sync=" true>File Geodatabase Feature Classdinfo><dataidinfo><envirdesc sync="TRUE">Microsoft Windows 7 Version 6.1 (Build 7601) Service Pack 1; Esri ArcGIS 10.1.0.2944</envirdesc><datalang><languagecode sync="TRUE" value="zho"></languagecode><countrycode value="CHN" sync="TRUE"></countrycode></datalang><idci tation><restitle sync="TRUE">TEST.ter1</restitle><presform><presformcd sync="TRU E" value="005"></presformcd></presform><spatrptype><spatreptypcd sync="TRUE" va lue="001"></spatreptypcd></spatrptype><idpurp>qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq</idpurp><ida bs><div style="text-align:Left;"><div><p><span>eeeeeeeee eeeeeeeeeeeeeeeeeeeeeee</span></p></div></div> <i dcredit>rrrrrrrrrrrrrrrrrrrrrrrrrr<searchkeys><keyword>wwwwwwwwwwwwww wwwwwwwwwwwwwwwwwwwwww</keyword></searchkeys><resconst><consts><uselimit><div xml style="text-align:Left;"><div><p><span>ttttttttttttttttttt ttttttttt</span></p></div></div></uselimit></consts>sConst><dataext><geoele xmlns=""><geobndbox esriextenttype="search"><westbl>restBL><eastbl>e</eastbl><northbl>r</northbl><southbl>r</southbl><extypecode>1xTypeCode></extypecode></westbl></geobndbox></geoele></dataext></resconst></i></ida></idci></dataidinfo><metainfo><langmeta sync=" TRUE">zh</langmeta><metstdn sync="TRUE">FGDC Content Standards for Digital Geosp atial Metadata</metstdn><metstdv sync="TRUE">FGDC-STD-001-1998</metstdv><mettc s ync="TRUE">local time</mettc><metc><cntinfo><cntorgp><cntper>REQUIRED: The perso n responsible for the metadata information.</cntper><cntorg>REQUIRED: The organi zation responsible for the metadata information.</cntorg></cntorgp><cntaddr><add rtype>REQUIRED: The mailing and/or physical address for the organization or indi </add></cntaddr></cntinfo></metc></metainfo></process></lineage></datapropertie></creatime></esri></metadata>
在SQL PLUS里面显示不是特别好,我们直接在PL/SQL里面查看XML 结构即可
-------------------------------------------------------------------------------------------------------
QQ一群: 78773981(已满)
QQ二群: 225989940
Blog: http://blog.csdn.net/linghe301
Weibo: http://www.weibo.com/linghe301
------------------------------------------------------------------------------------------------------

mySqlStringTypesimpactStorageAndPerformanCeaseAsfollows:1)長度,始終使用theSamestoragespace,whatcanbefasterbutlessspace-felfficity.2)varCharisvariable varcharisvariable length,morespace-morespace-morespace-effficitybuteftife buteftife butfority butfority textifforlyslower.3)

mysqlStringTypesIncludeVarChar,文本,char,Enum和set.1)varCharisVersAtileForvariable-lengthStringStringSuptoPuptOuptoPepePecifiedLimit.2)textisidealforlargetStortStorStoverStoverStorageWithoutAutAdefinedLength.3)charlisfixed-lenftenge,for forConsistentDatalikeCodes.4)

MySQLoffersvariousstringdatatypes:1)CHARforfixed-lengthstrings,2)VARCHARforvariable-lengthtext,3)BINARYandVARBINARYforbinarydata,4)BLOBandTEXTforlargedata,and5)ENUMandSETforcontrolledinput.Eachtypehasspecificusesandperformancecharacteristics,sochoose

TograntpermissionstonewMySQLusers,followthesesteps:1)AccessMySQLasauserwithsufficientprivileges,2)CreateanewuserwiththeCREATEUSERcommand,3)UsetheGRANTcommandtospecifypermissionslikeSELECT,INSERT,UPDATE,orALLPRIVILEGESonspecificdatabasesortables,and4)

toadduserInmysqleffect和securly,跟隨台詞:1)USEtheCreateUserStattoDaneWuser,指定thehostandastrongpassword.2)GrantNecterAryAryaryPrivilegesSustherthing privilegesgeStatement,usifementStatement,adheringtotheprinciplelastprefilegege.3)

toaddanewuserwithcomplexpermissionsinmysql,loldtheSesteps:1)創建eTheEserWithCreateuser'newuser'newuser'@''localhost'Indedify'pa ssword';。 2)GrantreadAccesstoalltablesin'mydatabase'withGrantSelectOnMyDatabase.to'newuser'@'localhost';。 3)GrantWriteAccessto'

MySQL中的字符串數據類型包括CHAR、VARCHAR、BINARY、VARBINARY、BLOB、TEXT,排序規則(Collations)決定了字符串的比較和排序方式。 1.CHAR適合固定長度字符串,VARCHAR適合可變長度字符串。 2.BINARY和VARBINARY用於二進制數據,BLOB和TEXT用於大對像數據。 3.排序規則如utf8mb4_unicode_ci忽略大小寫,適合用戶名;utf8mb4_bin區分大小寫,適合需要精確比較的字段。

最佳的MySQLVARCHAR列長度選擇應基於數據分析、考慮未來增長、評估性能影響及字符集需求。 1)分析數據以確定典型長度;2)預留未來擴展空間;3)注意大長度對性能的影響;4)考慮字符集對存儲的影響。通過這些步驟,可以優化數據庫的效率和擴展性。


熱AI工具

Undresser.AI Undress
人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool
免費脫衣圖片

Clothoff.io
AI脫衣器

Video Face Swap
使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

熱工具

PhpStorm Mac 版本
最新(2018.2.1 )專業的PHP整合開發工具

SAP NetWeaver Server Adapter for Eclipse
將Eclipse與SAP NetWeaver應用伺服器整合。

禪工作室 13.0.1
強大的PHP整合開發環境

WebStorm Mac版
好用的JavaScript開發工具

SublimeText3漢化版
中文版,非常好用