Data is getting bigger and more complex by the day, and so are your choices in handling it. Explore some of the most cutting-edge databases available—from traditional relational databases to newer NoSQL approaches—and make informed decisions about challenging data storage problems. This is the only comprehensive guide to the world of NoSQL databases, with in-depth practical and conceptual introductions to seven different technologies: Redis, Neo4J, CouchDB, MongoDB, HBase, Postgres, and DynamoDB. This second edition includes a new chapter on DynamoDB and updated content for each chapter.
Seven Databases in Seven Weeks, Second Edition: A Guide to Modern Databases and the NoSQL Movement
by Luc Perkins, Jim Wilson, Eric Redmond
Seven Databases in Seven Weeks, Second Edition
A Guide to Modern Databases and the NoSQL Movement
by Luc Perkins, Jim Wilson, Eric Redmond
About this Title
Pages: 350 (est)
Release: B3.0 (2017-08-05)
While relational databases such as MySQL remain as relevant as ever, the alternative, NoSQL paradigm has opened up new horizons in performance and scalability and changed the way we approach data-centric problems. This book presents the essential concepts behind each database alongside hands-on examples that make each technology come alive.
With each database, tackle a real-world problem that highlights the concepts and features that make it shine. Along the way, explore five database models—relational, key/value, columnar, document, and graph—from the perspective of challenges faced by real applications. Learn how MongoDB and CouchDB are strikingly different, make your applications faster with Redis and more connected with Neo4J, build a cluster of HBase servers using cloud services such as Amazon’s Elastic MapReduce, and more. This new edition brings a brand new chapter on DynamoDB, updated code samples and exercises, and a more up-to-date account of each database’s feature set.
Whether you’re a programmer building the next big thing, a data scientist seeking solutions to thorny problems, or a technology enthusiast venturing into new territory, you will find something to inspire you in this book.
What You Need
You’ll need a *nix shell (Mac OS or Linux preferred, Windows users will need Cygwin), Java 6 (or greater), and Ruby 1.8.7 (or greater). Each chapter will list the downloads required for that database.
Contents & Extracts
This book is currently in beta, so the contents and extracts will change as the book is developed.
- Why a NoSQL Book
- Why Seven Databases
- What’s in This Book
- What This Book Is Not
- Code Examples and Conventions
- Online Resources
- It Starts with a Question
- The Genres
- Onward and Upward
- That’s Post-greS-Q-L
- Day 1: Relations, CRUD, and Joins
- Day 2: Advanced Queries, Code, and Rules
- Day 3: Full Text and Multidimensions
- Introducing HBase
- Day 1: CRUD and Table Administration
- Day 2: Working with Big Data excerpt
- Day 3: Taking It to the Cloud
- Day 1: CRUD and Nesting
- Day 2: Indexing, Aggregating, Mapreduce excerpt
- Day 3: Replica Sets, Sharding, GeoSpatial, and GridFS
- Relaxing on the Couch
- Day 1: CRUD, Fauxton, and cURL Redux
- Day 2: Creating and Querying Views
- Day 3: Advanced Views, Changes API, and Replicating Data
- Neo4j is Whiteboard Friendly
- Day 1: Graphs, Cypher, and CRUD
- Day 2: REST, Indexes, and Algorithms excerpt
- Day 3: Distributed High Availability
- DynamoDB and the (Almost) Ops-free Lifestyle
- Day 1: Let’s Go Shopping!
- Day 2: Building a Streaming Data Pipeline
- Day 3: Building an “Internet of Things” System Around DynamoDB
- Data Structure Server Store
- Day 1: CRUD and Datatypes
- Day 2: Advanced Usage, Distribution
- Day 3: Playing with Other Databases
- Wrapping Up
- Genres Redux
- Making a Choice
- Where Do We Go from Here?
- The CAP Theorem
- Eventual Consistency
- CAP in the Wild
- The Latency Trade-Off
Luc Perkins is a customer success engineer at Reflect Technologies, a data reporting and visualization startup in Portland, OR. In the past, he has worked as a technical writer for companies such as Twitter and Basho, and is actively involved in the Write the Docs community of technical writers.
Eric Redmond has been in the software industry for more than 20 years, working with Fortune 500 companies, governments, and many startups. He is a coder, illustrator, international speaker, and active organizer of several technology groups.
Jim R. Wilson is a software engineer at Google creating machine learning visualizations on the Big Picture team. He’s contributed to TensorFlow’s visualization suite, TensorBoard, and other open source projects.