在我们安装ArcSDE时都会首先要查看系统需求,只有这样,才能保证我们的服务器环境运行比较稳定,以下是介绍在使用不同数据库中怎么查看相应的安装版本,以及相关的安装补
在我们安装ArcSDE时都会首先要查看系统需求,只有这样,才能保证我们的服务器环境运行比较稳定,以下是介绍在使用不同数据库中怎么查看相应的安装版本,以及相关的安装补丁。
Oracle
查看Oracle版本非常简单
C:\Users\gis>sqlplus sde/sde@orcl SQL*Plus: Release 11.2.0.1.0 Production on 星期二 8月 30 13:36:20 2011 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 * from v$version; BANNER -------------------------------------------------------------------------------- Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production PL/SQL Release 11.2.0.1.0 - Production CORE 11.2.0.1.0 Production TNS for 64-bit Windows: Version 11.2.0.1.0 - Production NLSRTL Version 11.2.0.1.0 - Production通过这个语句我们就知道我们现在的Oracle数据库是多少版本,多少位,企业版还是标准版等,其实更方便的是直接输入Sqlplus回车即可。
对Oracle来说,打不打补丁直接看XX.XX.X.X(11.2.0.1)
前两位标明是Oracle的大版本11G
第三位标明是R2版本
第四位就是补丁号(常见的10.2.0.1、10.2.0.3、11.1.0.6、11.1.0.7、10.2.0.4、10.2.0.5、11.2.0.2等)
SQL Server
SQLServer来说其实查看版本也差不多
C:\Documents and Settings\Administrator>sqlcmd -U sa -P esrichina 1> select @@version 2> go -------------------------------------------------------------------------------- Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64) Apr 2 2010 15:48:46 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 5.2 <x64> (Build 3790: ServicePack 2) (Hypervisor)</x64>查看SQL Server的版本同样和Oracle有点类似,直接使用Sqlcmd即可查看基本上该命令已经将相关的信息说明了,SQL Server 2008 R2 SP2 64Bit
我们可以看一下这个版本号:10.50.1600.1
10:代表2008版本,9代表2005版本,8代表2000版本
50:代表R2版本,00代表非R2版本
1:代表没有打补丁,如果2代表打了Sp1补丁,如果是3代表打了Sp2补丁,以此类推
600:代表相关的hotfix版本,我们在进行升级、备份、恢复一定要看清楚这个版本,只有在同一个版本下的相关数据才能进行恢复(同版本备份文件),这点需要注意。
SQL Server 2008 R2的版本信息
下表列出了SQL Server 2008 R2的主要版本。
发行 产品版本 SQL Server 2008 R2的Service Pack 1的 10.50.2500.0 SQL Server 2008 R2的RTM 10.50.1600.1 SQL Server 2008的版本信息
下表列出了SQL Server 2008的主要版本。
发行 产品版本 SQL Server 2008服务包2 10.00.4000.00 SQL Server 2008服务包1 10.00.2531.00 SQL Server 2008的RTM 10.00.1600.22 SQL Server 2005的版本信息
下表列出了SQL Server 2005的主要版本。
发行 产品版本 SQL Server 2005的Service Pack 4中 9.00.5000.00 SQL Server 2005的Service Pack 3中 9.00.4035 SQL Server 2005服务包2 9.00.3042 SQL Server 2005服务包1 9.00.2047 SQL Server 2005的RTM 9.00.1399 SQL Server 2000的版本信息
下表列出了Sqlservr.exe文件的版本号。
发行 产品版本 SQL服务器2000 Service Pack 4 8.00.2039 SQL Server 2000的ServicePack 3A 8.00.760 SQL Server 2000的Service Pack 3中 8.00.760 SQL Server 2000服务包2 8.00.534 SQL Server 2000服务包1 8.00.384 SQL Server 2000的RTM 8.00.194
ArcSDE
C:\Users\gis>sdesetup -o list -d oracle11g -s lish -p sde ESRI ArcSDE Server Setup Utility Tue Aug 30 13:42:27 2011 ---------------------------------------------------------------- SDE Server at Rev: 10.0.0. for Oracle11g Build 1343 Thu Feb 17 11:45:42 2011对ArcSDE的大版本来说我们可以使用Sde命令来查询,大家都知道我们可以使用PatchFind这个小工具来查看我们的ArcSDE是否打过SP补丁,那么如果当时你没有这个软件,而且服务也没有联网的情况下,在Windows操作系统中我们可以通过注册表来查看我们的ArcSDE是否打过补丁,而且具体什么补丁都是可以查看的。如图所示:
-------------------------------------------------------------------------------------------------------
QQ群: 78773981
Blog: http://blog.csdn.net/linghe301
Weibo: http://www.weibo.com/linghe301
-------------------------------------------------------------------------------------------------------

InnoDB uses redologs and undologs to ensure data consistency and reliability. 1.redologs record data page modification to ensure crash recovery and transaction persistence. 2.undologs records the original data value and supports transaction rollback and MVCC.

Key metrics for EXPLAIN commands include type, key, rows, and Extra. 1) The type reflects the access type of the query. The higher the value, the higher the efficiency, such as const is better than ALL. 2) The key displays the index used, and NULL indicates no index. 3) rows estimates the number of scanned rows, affecting query performance. 4) Extra provides additional information, such as Usingfilesort prompts that it needs to be optimized.

Usingtemporary indicates that the need to create temporary tables in MySQL queries, which are commonly found in ORDERBY using DISTINCT, GROUPBY, or non-indexed columns. You can avoid the occurrence of indexes and rewrite queries and improve query performance. Specifically, when Usingtemporary appears in EXPLAIN output, it means that MySQL needs to create temporary tables to handle queries. This usually occurs when: 1) deduplication or grouping when using DISTINCT or GROUPBY; 2) sort when ORDERBY contains non-index columns; 3) use complex subquery or join operations. Optimization methods include: 1) ORDERBY and GROUPB

MySQL/InnoDB supports four transaction isolation levels: ReadUncommitted, ReadCommitted, RepeatableRead and Serializable. 1.ReadUncommitted allows reading of uncommitted data, which may cause dirty reading. 2. ReadCommitted avoids dirty reading, but non-repeatable reading may occur. 3.RepeatableRead is the default level, avoiding dirty reading and non-repeatable reading, but phantom reading may occur. 4. Serializable avoids all concurrency problems but reduces concurrency. Choosing the appropriate isolation level requires balancing data consistency and performance requirements.

MySQL is suitable for web applications and content management systems and is popular for its open source, high performance and ease of use. 1) Compared with PostgreSQL, MySQL performs better in simple queries and high concurrent read operations. 2) Compared with Oracle, MySQL is more popular among small and medium-sized enterprises because of its open source and low cost. 3) Compared with Microsoft SQL Server, MySQL is more suitable for cross-platform applications. 4) Unlike MongoDB, MySQL is more suitable for structured data and transaction processing.

MySQL index cardinality has a significant impact on query performance: 1. High cardinality index can more effectively narrow the data range and improve query efficiency; 2. Low cardinality index may lead to full table scanning and reduce query performance; 3. In joint index, high cardinality sequences should be placed in front to optimize query.

The MySQL learning path includes basic knowledge, core concepts, usage examples, and optimization techniques. 1) Understand basic concepts such as tables, rows, columns, and SQL queries. 2) Learn the definition, working principles and advantages of MySQL. 3) Master basic CRUD operations and advanced usage, such as indexes and stored procedures. 4) Familiar with common error debugging and performance optimization suggestions, such as rational use of indexes and optimization queries. Through these steps, you will have a full grasp of the use and optimization of MySQL.

MySQL's real-world applications include basic database design and complex query optimization. 1) Basic usage: used to store and manage user data, such as inserting, querying, updating and deleting user information. 2) Advanced usage: Handle complex business logic, such as order and inventory management of e-commerce platforms. 3) Performance optimization: Improve performance by rationally using indexes, partition tables and query caches.


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

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

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

WebStorm Mac version
Useful JavaScript development tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment