Muutke küpsiste eelistusi

MongoDB in Action [Pehme köide]

(Uuem väljaanne: 9781617291609)
  • Formaat: Paperback / softback, 308 pages, kõrgus x laius x paksus: 234x192x17 mm, kaal: 558 g, Illustrations
  • Ilmumisaeg: 21-Dec-2011
  • Kirjastus: Manning Publications
  • ISBN-10: 1935182870
  • ISBN-13: 9781935182870 (Uuem väljaanne: 9781617291609)
Teised raamatud teemal:
  • Pehme köide
  • Hind: 49,14 €*
  • * saadame teile pakkumise kasutatud raamatule, mille hind võib erineda kodulehel olevast hinnast
  • See raamat on trükist otsas, kuid me saadame teile pakkumise kasutatud raamatule.
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Lisa soovinimekirja
  • Formaat: Paperback / softback, 308 pages, kõrgus x laius x paksus: 234x192x17 mm, kaal: 558 g, Illustrations
  • Ilmumisaeg: 21-Dec-2011
  • Kirjastus: Manning Publications
  • ISBN-10: 1935182870
  • ISBN-13: 9781935182870 (Uuem väljaanne: 9781617291609)
Teised raamatud teemal:
DESCRIPTION MongoDB is a document-oriented database that's highly scalable and delivers very high-performance, especially with massive data sets that need to be spread across multiple servers. It blends the things you expect with any database like indexing, querying, and high availability with powerful new features like easy horizontal scaling ("auto-sharding"), map/reduce aggregation, and a flexible document data model to support dynamic schemas. MongoDB in Action is a comprehensive guide to MongoDB for application developers. The book begins by explaining what makes MongoDB unique and describing its ideal use cases. A series of tutorials designed for MongoDB mastery then leads into detailed examples for leveraging MongoDB in e-commerce, social networking, analytics, and other common applications. KEY POINTS F Numerous examples, implemented in Ruby F Comprehensive explanations F Written by a MongoDB insider
Preface xv
Acknowledgments xvii
About This Book xviii
About The Cover Illustration xxi
PART 1 GETTING STARTED
1(52)
1 A database for the modern web
3(20)
1.1 Born in the cloud
5(1)
1.2 MongoDB's key features
5(8)
The document data model
5(3)
Ad hoc queries
8(2)
Secondary indexes
10(1)
Replication
10(1)
Speed and durability
11(1)
Scaling
12(1)
1.3 MongoDB's core server and tools
13(3)
The core server
14(1)
The JavaScript shell
14(1)
Database drivers
15(1)
Command-line tools
16(1)
1.4 Why MongoDB?
16(5)
MongoDB versus other databases
17(2)
Use cases and production deployments
19(2)
1.5 Tips and limitations
21(1)
1.6 Summary
22(1)
2 MongoDB through the JavaScript shell
23(14)
2.1 Diving into the MongoDB shell
24(5)
Starting the shell
24(1)
Inserts and queries
25(1)
Updating documents
26(2)
Deleting data
28(1)
2.2 Creating and querying with indexes
29(4)
Creating a large collection
29(2)
Indexing and explain()
31(2)
2.3 Basic administration
33(2)
Getting database information
33(1)
How commands work
34(1)
2.4 Getting help
35(1)
2.5 Summary
36(1)
3 Writin programs using MongoDB
37(16)
3.1 MongoDB through the Ruby lens
38(5)
Installing and connecting
38(1)
Inserting documents in Ruby
39(1)
Queries and cursors
40(1)
Updates and deletes
41(1)
Database commands
42(1)
3.2 How the drivers work
43(4)
Object ID generation
43(1)
BSON
44(1)
Over the network
45(2)
3.3 Building a simple application
47(5)
Setting up
47(1)
Gathering data
48(2)
Viewing the archive
50(2)
3.4 Summary
52(1)
PART 2 APPLICATION DEVELOPMENT IN MONGODB
53(74)
4 Document-oriented data
55(21)
4.1 Principles of schema design
56(1)
4.2 Designing an e-commerce data model
57(8)
Products and categories
58(3)
Users and orders
61(3)
Reviews
64(1)
4.3 Nuts and bolts: on databases, collections, and documents
65(10)
Databases
65(2)
Collections
67(3)
Documents and insertion
70(5)
4.4 Summary
75(1)
5 Queries and aggregation
76(25)
5.1 E-commerce queries
77(4)
Products, categories, and reviews
77(2)
Users and orders
79(2)
5.2 MongoDB's query language
81(11)
Query selectors
81(9)
Query options
90(2)
5.3 Aggregating orders
92(3)
Grouping reviews by user
92(2)
Map-reduce for orders by region
94(1)
5.4 Aggregation in detail
95(5)
Maxima and minima
95(1)
Distinct
96(1)
Group
96(2)
Map-reduce
98(2)
5.5 Summary
100(1)
6 Updates, atomic operations, and deletes
101(26)
6.1 A brief tour of document updates
102(2)
6.2 E-commerce updates
104(8)
Products and categories
104(4)
Reviews
108(2)
Orders
110(2)
6.3 Atomic document processing
112(6)
Order state transitions
112(2)
Inventory management
114(4)
6.4 Nuts and bolts: MongoDB updates and deletes
118(8)
Update types and options
118(1)
Update operators
119(4)
The findAndModify command
123(1)
Deletes
124(1)
Concurrency, atomicity, and isolation
124(1)
Update performance notes
125(1)
6.5 Summary
126(1)
PART 3 MONGODB MASTERY
127(114)
7 Indexing and query optimization
129(27)
7.1 Indexing theory
130(7)
A thought experiment
130(3)
Core indexing concepts
133(3)
B-trees
136(1)
7.2 Indexing in practice
137(7)
Index types
138(2)
Index administration
140(4)
7.3 Query optimization
144(11)
Identifying slow queries
144(3)
Examining slow queries
147(6)
Query patterns
153(2)
7.4 Summary
155(1)
8 Replication
156(28)
8.1 Replication overview
157(2)
Why replication matters
157(1)
Replication use cases
158(1)
8.2 Replica sets
159(18)
Setup
159(4)
How replication works
163(6)
Administration
169(8)
8.3 Master-slave replication
177(1)
8.4 Drivers and replication
177(6)
Connections and failover
177(2)
Write concern
179(2)
Read scaling
181(1)
Tagging
182(1)
8.5 Summary
183(1)
9 Sharding
184(34)
9.1 Sharding overview
185(5)
What sharding is
185(2)
How sharding works
187(3)
9.2 A sample shard cluster
190(10)
Setup
191(4)
Writing to a sharded cluster
195(5)
9.3 Querying and indexing a shard cluster
200(5)
Shard query types
200(4)
Indexing
204(1)
9.4 Choosing a shard key
205(3)
Ineffective shard keys
205(2)
Ideal shard keys
207(1)
9.5 Sharding in production
208(9)
Deployment and configuration
208(4)
Administration
212(5)
9.6 Summary
217(1)
10 Deployment and administration
218(23)
10.1 Deployment
219(9)
Deployment environment
219(4)
Server configuration
223(2)
Data imports and exports
225(1)
Security
226(2)
10.2 Monitoring and diagnostics
228(6)
Logging
228(1)
Monitoring tools
229(3)
External monitoring applications
232(1)
Diagnostic tools (mongosniff, bsondump)
233(1)
10.3 Maintenance
234(3)
Backups and recovery
234(1)
Compaction and repair
235(1)
Upgrading
236(1)
10.4 Performance troubleshooting
237(3)
Check indexes and queries for efficiency
238(1)
Add RAM
238(1)
Increase disk performance
239(1)
Scale horizontally
239(1)
Seek professional assistance
240(1)
10.5 Summary
240(1)
Appendix A Installation 241(8)
Appendix B Design patterns 249(11)
Appendix C Binary data and GridFS 260(6)
Appendix D MongoDB in PHP, Java, and C++ 266(8)
Appendix E Spatial indexing 274(5)
Index 279
Kyle Banker works as a software engineer at 10gen, the company behind MongoDB, where he maintains the official MongoDB Ruby driver. He can be found blogging about MongoDB and related topics of interest at http://kylebanker.com/blog.