因为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
------------------------------------------------------------------------------------------------------

Stored procedures are precompiled SQL statements in MySQL for improving performance and simplifying complex operations. 1. Improve performance: After the first compilation, subsequent calls do not need to be recompiled. 2. Improve security: Restrict data table access through permission control. 3. Simplify complex operations: combine multiple SQL statements to simplify application layer logic.

The working principle of MySQL query cache is to store the results of SELECT query, and when the same query is executed again, the cached results are directly returned. 1) Query cache improves database reading performance and finds cached results through hash values. 2) Simple configuration, set query_cache_type and query_cache_size in MySQL configuration file. 3) Use the SQL_NO_CACHE keyword to disable the cache of specific queries. 4) In high-frequency update environments, query cache may cause performance bottlenecks and needs to be optimized for use through monitoring and adjustment of parameters.

The reasons why MySQL is widely used in various projects include: 1. High performance and scalability, supporting multiple storage engines; 2. Easy to use and maintain, simple configuration and rich tools; 3. Rich ecosystem, attracting a large number of community and third-party tool support; 4. Cross-platform support, suitable for multiple operating systems.

The steps for upgrading MySQL database include: 1. Backup the database, 2. Stop the current MySQL service, 3. Install the new version of MySQL, 4. Start the new version of MySQL service, 5. Recover the database. Compatibility issues are required during the upgrade process, and advanced tools such as PerconaToolkit can be used for testing and optimization.

MySQL backup policies include logical backup, physical backup, incremental backup, replication-based backup, and cloud backup. 1. Logical backup uses mysqldump to export database structure and data, which is suitable for small databases and version migrations. 2. Physical backups are fast and comprehensive by copying data files, but require database consistency. 3. Incremental backup uses binary logging to record changes, which is suitable for large databases. 4. Replication-based backup reduces the impact on the production system by backing up from the server. 5. Cloud backups such as AmazonRDS provide automation solutions, but costs and control need to be considered. When selecting a policy, database size, downtime tolerance, recovery time, and recovery point goals should be considered.

MySQLclusteringenhancesdatabaserobustnessandscalabilitybydistributingdataacrossmultiplenodes.ItusestheNDBenginefordatareplicationandfaulttolerance,ensuringhighavailability.Setupinvolvesconfiguringmanagement,data,andSQLnodes,withcarefulmonitoringandpe

Optimizing database schema design in MySQL can improve performance through the following steps: 1. Index optimization: Create indexes on common query columns, balancing the overhead of query and inserting updates. 2. Table structure optimization: Reduce data redundancy through normalization or anti-normalization and improve access efficiency. 3. Data type selection: Use appropriate data types, such as INT instead of VARCHAR, to reduce storage space. 4. Partitioning and sub-table: For large data volumes, use partitioning and sub-table to disperse data to improve query and maintenance efficiency.

TooptimizeMySQLperformance,followthesesteps:1)Implementproperindexingtospeedupqueries,2)UseEXPLAINtoanalyzeandoptimizequeryperformance,3)Adjustserverconfigurationsettingslikeinnodb_buffer_pool_sizeandmax_connections,4)Usepartitioningforlargetablestoi


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Dreamweaver CS6
Visual web development tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version
Useful JavaScript development tools

Notepad++7.3.1
Easy-to-use and free code editor

Atom editor mac version download
The most popular open source editor
