search
HomeDatabaseMysql TutorialSQL Server 2008的升级与部署方法和常见问题

SQL Server 2008的升级与部署方法和常见问题: Q:现在我所在的公司正在使用SQL 2005这个版本,那么SQL 从05升级到SQL 08的PDS(数据保护系统)过程中,我们最好选择什么方法呢?那么在升级到SQL 08后,SSIS(生成高性能数据集成解决方案平台)会不会有所提高呢? A

  SQL Server 2008的升级与部署方法和常见问题:

  Q:现在我所在的公司正在使用SQL 2005这个版本,那么SQL 从05升级到SQL 08的PDS(数据保护系统)过程中,我们最好选择什么方法呢?那么在升级到SQL 08后,SSIS(生成高性能数据集成解决方案平台)会不会有所提高呢?

  A:其实从SQL 2000里面的DPS升级到SQL 2005里面的DPS升级是一样的,我们推荐的方法仍然是重写,因为SQL 2005跟SQL 2008的引擎基本上类似。但是这两个版本跟SQL 2000完全不是一个引擎,虽然你升级过来是可以用的,但是性能达不到原来那样,所以建议你重写,按照SQL 2005或者SQL 2008里面推荐的方式去重写。SSIS的效率会高很多,因为目前业界里面做数据转换最快的记录者扔是微软保持的,好像20多分钟一个G.

  Q:我现在担心一个问题,在两个服务器之间传送的事务日志数量,尤其是对于我们每晚都需要执行的索引重建操作。听说镜像功能发送的是实际的重建命令而非事务日志是这样么?

  A:数据库镜像过程是通过将实际的事务日志记录从主体数据库发送到镜像服务器来完成的,这些记录在镜像数据库中将被“重播”.根据涉及的索引大小的不同,这可能意味着会生成大量事务日志,从而导致主体数据库的日志文件很大,您可以将数据库镜像视为实时日志传送。但是,在日志传送数据库方案中,数据是以日志备份而非连续流的形式发送到冗余数据库的。因此,对于镜像数据库与日志传送数据库中的索引重建而言,需要发送到冗余数据库的信息量几乎完全相同。实际的差别仅在于发送信息的方式 - 是连续发送还是成批发送。

  Q:如果我们现在使用的是SQL 2000这个版本,那么现在由于数据管理的需要,需要升级到SQL 2008这个版本,那么我们是不是只需要支付升级的费用呢?

  A:我记得不是这样的,但是我敢肯定的是,如果你是从SQL 2000升级过来的,那么你需要单独购买SQL 2008这个新产品。其实SQL的性价比还是比较高的!尽管在性能的深度和广度上落后于对手,但较低的价位加上和Windows系统以及其他的微软产品之间的兼容集成还是能够让微软迎头赶上。

  Q:如果在Vista环境下,,您推荐我们使用SQL的哪个版本呢?SQL 2000?SQL 2005?还是SQL 2008?

  A:现在你已经给我限制了使用环境,那么就根据你们企业的需要选择使用SQL 2005或者SQL 2008.为什么这么说呢?首先Vista是客户机的的系统,如果你安装了SQL 2000的话,那么你只能装一些特殊的版本(企业版,标准版,桌面版)了。而SQL 2005或者SQL 2008都有经典版,只不过在数据,内存和存储的数量上有所变化,功能上,语句上,表,库,那些概念都是一样的。

  Q:在工作中有这样一种现象,应用程序使用的每个表都包含大量索引。经询问才知道似乎是以前的DBA喜欢对各个表列及某些组合添加索引。我认为并非所有索引都是必要的,但我该如何找出可以安全删除的索引呢?我们运行的是 SQL Server 2005.

  A:是的,大量索引极有可能是造成性能不佳的主要因素。每次在表中插入、更新或删除行时,都需要在每个非群集索引中执行相应的操作。这将在 I/O、CPU 利用率和事务日志生成等方面增加大量的管理开销。在SQL 2005 中,则可使用新的动态管理视图,它可以跟踪索引使用情况。定期拍摄 DMV 输出的快照,然后对这些快照加以比较。这是提高性能的很好。

  Q:如果是从SQL 2000升级到SQL 2008的时候,我会在其中遇到一些问题,那么我可以去参阅帮助文档,但是我实际的应用中,我遇到的问题可能是文档中尚未提及的,那么在使用过程中,我们需要有什么注意的地方呢?比如说语句的变化?

  A:我觉得语句这个东西不太好说。纯凭你的个人喜好和你的逻辑思维。我可以告诉你,它会有很多新的语句和语法,还有什么类。但是微软并不知道你的业务,我唯一可以告诉你的,就是它有这个技术,但是这个技术怎么实现的快,就需要你去组合那些语句,需要你去精挑细选,所以说它没有什么需要注意的地方,唯一需要注意的就是不要叫你的语句过于冗长。

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
MySQL: Essential Skills for Beginners to MasterMySQL: Essential Skills for Beginners to MasterApr 18, 2025 am 12:24 AM

MySQL is suitable for beginners to learn database skills. 1. Install MySQL server and client tools. 2. Understand basic SQL queries, such as SELECT. 3. Master data operations: create tables, insert, update, and delete data. 4. Learn advanced skills: subquery and window functions. 5. Debugging and optimization: Check syntax, use indexes, avoid SELECT*, and use LIMIT.

MySQL: Structured Data and Relational DatabasesMySQL: Structured Data and Relational DatabasesApr 18, 2025 am 12:22 AM

MySQL efficiently manages structured data through table structure and SQL query, and implements inter-table relationships through foreign keys. 1. Define the data format and type when creating a table. 2. Use foreign keys to establish relationships between tables. 3. Improve performance through indexing and query optimization. 4. Regularly backup and monitor databases to ensure data security and performance optimization.

MySQL: Key Features and Capabilities ExplainedMySQL: Key Features and Capabilities ExplainedApr 18, 2025 am 12:17 AM

MySQL is an open source relational database management system that is widely used in Web development. Its key features include: 1. Supports multiple storage engines, such as InnoDB and MyISAM, suitable for different scenarios; 2. Provides master-slave replication functions to facilitate load balancing and data backup; 3. Improve query efficiency through query optimization and index use.

The Purpose of SQL: Interacting with MySQL DatabasesThe Purpose of SQL: Interacting with MySQL DatabasesApr 18, 2025 am 12:12 AM

SQL is used to interact with MySQL database to realize data addition, deletion, modification, inspection and database design. 1) SQL performs data operations through SELECT, INSERT, UPDATE, DELETE statements; 2) Use CREATE, ALTER, DROP statements for database design and management; 3) Complex queries and data analysis are implemented through SQL to improve business decision-making efficiency.

MySQL for Beginners: Getting Started with Database ManagementMySQL for Beginners: Getting Started with Database ManagementApr 18, 2025 am 12:10 AM

The basic operations of MySQL include creating databases, tables, and using SQL to perform CRUD operations on data. 1. Create a database: CREATEDATABASEmy_first_db; 2. Create a table: CREATETABLEbooks(idINTAUTO_INCREMENTPRIMARYKEY, titleVARCHAR(100)NOTNULL, authorVARCHAR(100)NOTNULL, published_yearINT); 3. Insert data: INSERTINTObooks(title, author, published_year)VA

MySQL's Role: Databases in Web ApplicationsMySQL's Role: Databases in Web ApplicationsApr 17, 2025 am 12:23 AM

The main role of MySQL in web applications is to store and manage data. 1.MySQL efficiently processes user information, product catalogs, transaction records and other data. 2. Through SQL query, developers can extract information from the database to generate dynamic content. 3.MySQL works based on the client-server model to ensure acceptable query speed.

MySQL: Building Your First DatabaseMySQL: Building Your First DatabaseApr 17, 2025 am 12:22 AM

The steps to build a MySQL database include: 1. Create a database and table, 2. Insert data, and 3. Conduct queries. First, use the CREATEDATABASE and CREATETABLE statements to create the database and table, then use the INSERTINTO statement to insert the data, and finally use the SELECT statement to query the data.

MySQL: A Beginner-Friendly Approach to Data StorageMySQL: A Beginner-Friendly Approach to Data StorageApr 17, 2025 am 12:21 AM

MySQL is suitable for beginners because it is easy to use and powerful. 1.MySQL is a relational database, and uses SQL for CRUD operations. 2. It is simple to install and requires the root user password to be configured. 3. Use INSERT, UPDATE, DELETE, and SELECT to perform data operations. 4. ORDERBY, WHERE and JOIN can be used for complex queries. 5. Debugging requires checking the syntax and use EXPLAIN to analyze the query. 6. Optimization suggestions include using indexes, choosing the right data type and good programming habits.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
Will R.E.P.O. Have Crossplay?
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Atom editor mac version download

Atom editor mac version download

The most popular open source editor