Big Database cover

Big Database

Rating 3.1
Word count
140K words
Chapters
188
ISBN
9787121316197

Tags

Summary

This book provides a detailed introduction to commonly used databases and related tools in big data environments, including HBase, Hive, Impala, Spark, Spark SQL, key-value databases, and streaming databases. It presents detailed working mechanisms and application methods, along with complete practical cases and code.

Editor's review

As a professional work focused on the core technologies of big data storage and processing, Big Database stands out in today's data-driven era. Rather than staying at the conceptual level, it deeply analyzes key technical systems such as distributed file systems, NoSQL databases, and NewSQL databases, with systematic exposition of the architecture, principles, and practical applications of mainstream systems including Hadoop, HBase, MongoDB, and Redis. As a well-known scholar and pioneer in China's cloud computing and big data fields, author Liu Peng combines academic rigor with an engineering practice perspective, ensuring depth and currency.

From an editor's professional judgment, the book's standout strength is its clear hierarchical structure and its tracing of technological evolution. It organizes the vast field of big data storage technologies along a main line that runs from the limitations of traditional relational databases to the rise of distributed file systems, then to the differentiation of various NoSQL databases and the integrative innovation of NewSQL, enabling readers to build a systematic knowledge map. The explanation of core theories such as the CAP theorem, consistency models, data sharding, and replication strategies provides a solid theoretical foundation for understanding the trade-offs behind various technology choices.

In terms of reading value, the book is well suited as a textbook for upper-level undergraduates and graduate students in computer-related majors, or as a reference for engineers and architects in the big data field seeking a deeper understanding of the underlying layers. It helps readers see beyond the surface of popular technology frameworks to understand their design philosophy and applicable scenarios, enabling more reasonable technical decisions in practical work. Although specific technology versions may iterate over time, the core principles and design ideas expounded in the book retain lasting reference value.

Who it's for

A good fit for

  • Upper-level undergraduates and graduate students in computer science, software engineering, and related majors who want to systematically learn big data storage technology systems
  • Mid- to senior-level engineers engaged in big data platform development, operations, or architecture design who need to deepen their understanding of underlying principles
  • Technical team leads or architects seeking theoretical grounding for selecting appropriate data storage solutions for projects
  • Enthusiasts with a strong interest in distributed systems and database principles who want to go beyond a single technology framework for systematic learning

Not a good fit for

  • Complete beginners with no programming or database background; the book requires some basic computer knowledge
  • Business or management personnel who only want a quick overview of big data concepts or application scenarios without delving into technical details

Reading tips

  1. Reading in chapter order is recommended; the first three chapters on big data challenges and distributed fundamentals are especially important as the foundation for later content
  2. While reading, verify your understanding by operating the open-source systems mentioned in the book (such as HBase and MongoDB) using their official documentation or a practice environment
  3. The book can be read alongside Professor Liu Peng's other work, Cloud Computing, to build a complete big data knowledge system from the two dimensions of storage and computation

About the publisher

Publishing House of Electronics Industry China · Founded in 1982

The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.

Contents

  1. 版权信息
  2. 内容简介
  3. 编写组
  4. 总序
  5. 前言
  6. 第1章 大数据库概述
  7. 1.1 传统关系型数据库面临的问题
  8. 1.2 大数据库技术
  9. 1.2.1 列式数据库
  10. 1.2.2 内存数据库
  11. 1.2.3 键值数据库
  12. 1.2.4 流式数据库
  13. 1.3 大数据SQL
  14. 1.4 当前主流大数据SQL简介
  15. 1.4.1 Hive
  16. 1.4.2 Impala
  17. 1.4.3 Shark
  18. 1.4.4 Spark SQL
  19. 1.5 本章总结
  20. 习题
  21. 参考文献
  22. 第2章 分布式数据库HBase
  23. 2.1 HBase基础
  24. 2.1.1 体系架构
  25. 2.1.2 数据模型
  26. 2.2 HBase操作简介
  27. 2.2.1 HBase接口简介
  28. 2.2.2 HBase Shell实战
  29. 2.2.3 HBase API
  30. 2.3 HBase实战
  31. 2.3.1 实战HBase之综例
  32. 2.3.2 实战HBase之使用MapReduce构建索引
  33. 习题
  34. 参考文献
  35. 第3章 数据仓库工具Hive
  36. 3.1 Hive简介
  37. 3.1.1 工作原理
  38. 3.1.2 体系架构
  39. 3.1.3 计算模型
  40. 3.1.4 Hive部署模式
  41. 3.2 Hive的使用
  42. 3.2.1 Hive的数据类型
  43. 3.2.2 Hive接口汇总
  44. 3.3 实战Hive Shell
  45. 3.3.1 DDL操作
  46. 3.3.2 DML操作
  47. 3.3.3 SQL操作
  48. 3.4 实战Hive之复杂语句
  49. 3.5 实战Hive之综合示例
  50. 3.6 实战Hive API接口
  51. 3.6.1 UDF编程示例
  52. 3.6.2 UDAF编程示例
  53. 习题
  54. 参考文献
  55. 第4章 大数据查询系统Impala
  56. 4.1 Impala简介
  57. 4.1.1 Impala的起源
  58. 4.1.2 Impala的特点
  59. 4.1.3 Impala 前辈及竞争对手
  60. 4.2 Impala工作原理
  61. 4.2.1 Impala 设计目标
  62. 4.2.2 Impala 服务器组件
  63. 4.2.3 Impala 编程特点
  64. 4.2.4 Impala在Hadoop生态圈中的生存之道
  65. 4.3 Impala环境搭建
  66. 4.3.1 Impala 安装前的考虑
  67. 4.3.2 Impala 安装途径与安装示范
  68. 4.4 Impala操作实例
  69. 4.4.1 Impala 基本操作
  70. 4.4.2 Impala 数据库操作
  71. 习题
  72. 参考文献
  73. 第5章 内存数据库Spark
  74. 5.1 Spark简介
  75. 5.1.1 Spark的引入
  76. 5.1.2 Spark生态系统BDAS
  77. 5.1.3 Spark系统架构
  78. 5.1.4 Spark工作流程
  79. 5.1.5 Spark应用案例
  80. 5.2 Spark计算模型
  81. 5.2.1 Spark程序模型
  82. 5.2.2 弹性分布式数据集(RDD)
  83. 5.2.3 Spark算子
  84. 5.3 Spark工作机制
  85. 5.3.1 Spark运行机制
  86. 5.3.2 Spark调度机制
  87. 5.3.3 Spark I/O机制
  88. 5.3.4 Spark通信机制
  89. 5.3.5 Spark容错机制
  90. 5.3.6 Spark Shuffle机制
  91. 5.4 Scala快速入门
  92. 5.4.1 Scala解释器
  93. 5.4.2 变量
  94. 5.4.3 函数
  95. 5.4.4 编写Scala脚本
  96. 5.4.5 while 配合if实现循环
  97. 5.4.6 foreach和 for 来实现迭代
  98. 5.4.7 类型参数化数组
  99. 5.4.8 Lists
  100. 5.4.9 使用元组(Tuples)
  101. 5.4.10 Sets和Maps
  102. 5.4.11 函数编程风格
  103. 5.4.12 读取文件
  104. 5.5 Spark环境部署
  105. 5.5.1 安装与配置Spark
  106. 5.5.2 Intellij IDEA构建Spark开发环境
  107. 5.5.3 SBT构建Spark程序
  108. 5.5.4 编译Spark程序
  109. 5.5.5 远程调试Spark程序
  110. 5.5.6 生成Spark部署包
  111. 5.6 Spark 编程案例
  112. 5.6.1 WordCount
  113. 5.6.2 Top K
  114. 5.6.3 倒排索引
  115. 习题
  116. 参考文献
  117. 第6章 Spark SQL
  118. 6.1 Spark SQL简介
  119. 6.1.1 Spark SQL发展历程
  120. 6.1.2 Spark SQL 架构
  121. 6.2 Spark SQL编程基础
  122. 6.2.1 数据类型及表达式
  123. 6.2.2 Spark SQL查询引擎Catalyst
  124. 6.2.3 SQL DSL API
  125. 6.2.4 Spark SQL ThriftServer和CLI
  126. 6.2.5 Spark SQL常用操作
  127. 6.3 Spark SQL实战
  128. 6.3.1 Spark SQL开发环境搭建
  129. 6.3.2 Spark SQL使用入门
  130. 习题
  131. 参考文献
  132. 第7章 键值数据库
  133. 7.1 概述
  134. 7.1.1 键值存储
  135. 7.1.2 键值数据库
  136. 7.2 Redis
  137. 7.2.1 简介
  138. 7.2.2 Redis数据服务及集群技术
  139. 7.2.3 Redis安装
  140. 7.2.4 Redis数据操作
  141. 7.2.5 案例:网站访问历史记录查询
  142. 7.3 Memcached
  143. 7.3.1 简介
  144. 7.3.2 Memcached缓存技术
  145. 7.3.3 Memcached安装
  146. 7.3.4 Memcached数据操作
  147. 7.3.5 Memcached分布式技术
  148. 7.3.6 案例:论坛帖子信息缓存
  149. 7.4 典型应用及局限
  150. 7.4.1 典型应用
  151. 7.4.2 键值数据库局限
  152. 习题
  153. 参考文献
  154. 第8章 流式数据库
  155. 8.1 流式计算模型
  156. 8.1.1 流式计算概念
  157. 8.1.2 流式计算数据特点
  158. 8.1.3 流式计算典型应用
  159. 8.1.4 典型流式计算平台
  160. 8.2 流式计算关键技术
  161. 8.2.1 计算拓扑
  162. 8.2.2 消息传递
  163. 8.2.3 高可用性
  164. 8.2.4 语义保障
  165. 8.2.5 其他关键技术
  166. 8.3 Storm平台
  167. 8.3.1 Storm简介
  168. 8.3.2 Storm原理
  169. 8.3.3 Storm部署
  170. 8.3.4 案例:Maven环境下的Storm编程
  171. 8.4 Spark Streaming平台
  172. 8.4.1 Spark Streaming简介
  173. 8.4.2 Spark Streaming原理
  174. 8.4.3 案例:集群环境下的Spark Streaming编程
  175. 习题
  176. 参考文献
  177. 第9章 大数据应用托管平台Docker
  178. 9.1 Docker技术简介
  179. 9.1.1 Docker是什么
  180. 9.1.2 Docker的架构和流程
  181. 9.2 Docker的优势和局限
  182. 9.2.1 Docker的优势
  183. 9.2.2 Docker的局限性
  184. 9.3 基于Docker的大数据系统设计
  185. 9.3.1 分布式Docker网络环境的搭建
  186. 9.3.2 Docker集群管理系统:Kubernetes
  187. 习题
  188. 参考文献

FAQ

How is this book different from a plain Hadoop or Spark tutorial?
This book focuses on the "storage" layer of the big data ecosystem, systematically explaining the principles of various databases and file systems, which is a deeper foundation. Many tutorials focus on the "computation" and application development of a specific framework (such as Spark). This book aims to help you understand how data is stored and organized, which is a prerequisite for efficiently using computation frameworks.
Are the technologies in the book outdated now?
Specific product versions mentioned in the book will update, but the core principles it explains (such as the CAP theorem, consistency models, distributed transactions, LSM trees, and the Raft protocol) remain unchanged. Understanding these principles enables you to quickly grasp any new technology variant. The book's value lies precisely in conveying these underlying logics.
Is there a lot of math or theoretical derivation? Is it hard to read?
The book focuses on engineering architecture and system design principles rather than pure theoretical derivation. It includes necessary formulas and model explanations, but the overall style leans toward technical exposition rather than mathematical proof. As long as you have basic knowledge of computer systems and data structures, reading is not difficult. The key is some receptiveness to distributed system concepts.

Comments

Find this book

This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.

About the author

Liu Peng Author · China · 1970

Liu Peng (born 1970) is a Chinese computer scientist. He holds a doctorate in computer architecture from Tsinghua University, has served as a professor and doctoral supervisor at the PLA University of Science and Technology, and is currently chairman of Nanjing Yunchuang Big Data Technology Co., Ltd. He has long been engaged in research and teaching in cloud computing, big data, and artificial intelligence. Fourteen of his works are held in the collection, spanning popular science, artificial intelligence, general computing, medicine, literary appreciation, and agriculture and forestry. His writing ranges from professional textbooks to general introductions, including works on cloud computing, machine learning and deep learning, pattern recognition, and the mathematical foundations of artificial intelligence, as well as a general reader on the Huangdi Neijing and a book on prefabricated structures in waterway engineering. Public information is limited, and details of his life should be based on the records available here.

More by the same author

Top rated in the same category