Oracle Database 11g MySQL 5.6开发手册》试读有感
大数据浪潮汹涌袭来、一场新的信息技术革命即将开始。ldquo;春江水暖鸭先知rdquo;,作为数据库从业人员的我、体会尤为深刻。然
大数据浪潮汹涌袭来、一场新的信息技术革命即将开始。“春江水暖鸭先知”,,作为数据库从业人员的我、体会尤为深刻。
然而、无论是Oracle的 EXADATA 还是MySQL的Scale Out、或者NoSQL、都有其各自的适用场景、没有优劣之分。
数据的大集中还是大分布、这取决于公司的财务、技术支持、氛围、需求等等。
看下2013年4月份各数据库在市场的占用率:
其次谈谈Oracle收购MySQL、很多人对MySQL持悲观态度、但我认为、Oracle对MySQL作了相当多的投入:
1.模块化重构MySQL代码
2.优化开发模型
3.出色的MySQL性能优化专家
4.持续提升MySQL的分区功能
5.严谨的MySQL QA团队
6.持续发展InnoDB
7.持续提升MySQL的复制、优化器以及可管理性
当然了、还有很多、这只是冰山一角、请悲观的人乐观些
这本书属于基础扫盲书籍、重在帮读者理清概念、每一章节都是两种数据库操作的对比、只有明白了这些差异、才能做到无缝操作
对于要在Oracle和MySQL之间迁移的用户、或者想基于这两种数据库平台开发应用的用户来说、应该是一个很大的帮助
举几个例子:
① 第6章、P131
在这一章里面、明确阐述了Oracle里的schema和用户是同义
而在MySQL里、schema其实和数据库是同义
我觉得、对于这一点的区分尤为重要、在Oracle中、创建一个库、那是个庞大的工程
然而、在MySQL中、却只要create database 即可
所以、有必要理清两者database的不同之处
② 第2章、P46
在这一章里、对MySQL Monitor的日常管理和基础操作作了比较详尽的介绍
MySQL Monitor和Oracle的SQL*PLUS是同义的、作者在书里也有相应的对比
③ 本书的架构非常好
本书的每一章节都是Oracle讲完、然后讲MySQL、接着对比这两者的异同点、
每一个小点都没有深入、简单明了、操作也清晰很多
④ 每章节后面的书后习题
对于这部分的设置、或许于已经工作的人来说没太大必要
如果把本书置于大学课堂、对于讲师、学生、可能还是很有用的
指不定在什么时候、大学的数据库原理所使用的数据库不再是MSSQL而是Oracle了
也许在不远、
⑤ 第5章的约束
数据库的5种约束、一直以来令很多初学者在使用上感到困惑
在这一章里面、我个人觉得作者对着两种数据库的约束在使用上做出了介绍
这种介绍在操作上让人一目了然、还是不错的
⑥ 第3章的安全模型
对于MySQL的安全讲的稍微不足、也许是本书的定位吧
本书在于对Oracle和MySQL在开发方面的介绍、但MySQL的安全、我认为从事DBA的人都应该深入理解
当然、本书也存在着一些翻译上的不足、略显生硬、
比如:第7章 P217 Oracle 数据库中抛弃视图、这里的"抛弃"、实属不该翻译出来
比如:第3章 P79 定义者和调用者权利、这里的"权利"、在数据库里术语应该是"权限"
这样的例子还有、就不一一列举、但这些都不妨碍阅读
Oracle Database 11g & MySQL 5.6开发手册 PDF清晰版 下载:

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

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

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



InnoDB's full-text search capabilities are very powerful, which can significantly improve database query efficiency and ability to process large amounts of text data. 1) InnoDB implements full-text search through inverted indexing, supporting basic and advanced search queries. 2) Use MATCH and AGAINST keywords to search, support Boolean mode and phrase search. 3) Optimization methods include using word segmentation technology, periodic rebuilding of indexes and adjusting cache size to improve performance and accuracy.

The article discusses using MySQL's ALTER TABLE statement to modify tables, including adding/dropping columns, renaming tables/columns, and changing column data types.

Full table scanning may be faster in MySQL than using indexes. Specific cases include: 1) the data volume is small; 2) when the query returns a large amount of data; 3) when the index column is not highly selective; 4) when the complex query. By analyzing query plans, optimizing indexes, avoiding over-index and regularly maintaining tables, you can make the best choices in practical applications.

Yes, MySQL can be installed on Windows 7, and although Microsoft has stopped supporting Windows 7, MySQL is still compatible with it. However, the following points should be noted during the installation process: Download the MySQL installer for Windows. Select the appropriate version of MySQL (community or enterprise). Select the appropriate installation directory and character set during the installation process. Set the root user password and keep it properly. Connect to the database for testing. Note the compatibility and security issues on Windows 7, and it is recommended to upgrade to a supported operating system.

The difference between clustered index and non-clustered index is: 1. Clustered index stores data rows in the index structure, which is suitable for querying by primary key and range. 2. The non-clustered index stores index key values and pointers to data rows, and is suitable for non-primary key column queries.

Article discusses popular MySQL GUI tools like MySQL Workbench and phpMyAdmin, comparing their features and suitability for beginners and advanced users.[159 characters]

Article discusses strategies for handling large datasets in MySQL, including partitioning, sharding, indexing, and query optimization.

The article discusses dropping tables in MySQL using the DROP TABLE statement, emphasizing precautions and risks. It highlights that the action is irreversible without backups, detailing recovery methods and potential production environment hazards.
