MongoDB in action:
Gespeichert in:
Beteilige Person: | |
---|---|
Format: | Buch |
Sprache: | Englisch |
Veröffentlicht: |
Greenwich, Conn.
Manning
2012
|
Schlagwörter: | |
Links: | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=024802930&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
Umfang: | XXI , 287 S. Ill., graph. Darst. 24 cm |
ISBN: | 9781935182870 1935182870 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV039944916 | ||
003 | DE-604 | ||
005 | 20211019 | ||
007 | t| | ||
008 | 120308s2012 xx ad|| |||| 00||| eng d | ||
010 | |a 2011284963 | ||
020 | |a 9781935182870 |9 978-1-935182-87-0 | ||
020 | |a 1935182870 |9 1-935182-87-0 | ||
035 | |a (OCoLC)835248333 | ||
035 | |a (DE-599)BVBBV039944916 | ||
040 | |a DE-604 |b ger |e rakwb | ||
041 | 0 | |a eng | |
049 | |a DE-739 |a DE-860 |a DE-2174 |a DE-210 | ||
050 | 0 | |a QA76.9.D3 | |
050 | 0 | |a QA76.9.D3 B354 2012 | |
082 | 0 | |a 005.7565 | |
084 | |a ST 270 |0 (DE-625)143638: |2 rvk | ||
084 | |a ST 271 |0 (DE-625)143639: |2 rvk | ||
100 | 1 | |a Banker, Kyle |e Verfasser |0 (DE-588)1026679524 |4 aut | |
245 | 1 | 0 | |a MongoDB in action |c Kyle Banker |
246 | 1 | 3 | |a Mongo DB in action |
264 | 1 | |a Greenwich, Conn. |b Manning |c 2012 | |
300 | |a XXI , 287 S. |b Ill., graph. Darst. |c 24 cm | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 4 | |a Object-oriented databases | |
650 | 4 | |a Database management |x Software | |
650 | 4 | |a Open source software | |
650 | 0 | 7 | |a Open Source |0 (DE-588)4548264-0 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a NoSQL-Datenbanksystem |0 (DE-588)7722784-0 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Datenbanksystem |0 (DE-588)4113276-2 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a MongoDB |0 (DE-588)7724020-0 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a MongoDB |0 (DE-588)7724020-0 |D s |
689 | 0 | 1 | |a NoSQL-Datenbanksystem |0 (DE-588)7722784-0 |D s |
689 | 0 | |5 DE-604 | |
689 | 1 | 0 | |a Datenbanksystem |0 (DE-588)4113276-2 |D s |
689 | 1 | 1 | |a Open Source |0 (DE-588)4548264-0 |D s |
689 | 1 | |5 DE-604 | |
856 | 4 | 2 | |m Digitalisierung UB Passau |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=024802930&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
943 | 1 | |a oai:aleph.bib-bvb.de:BVB01-024802930 |
Datensatz im Suchindex
_version_ | 1819373105914576896 |
---|---|
adam_text | contents
preface
xv
acknowledgments
xvii
about this book
xviii
about the cover illustration
xxi
Part
1
Getting started
...............................................1
1
A database for the modern web
3
1.1
Born in the cloud
5
1.2
MongoDB s key features
5
The document data model
5 ■
Ad hoc queries
8 ■
Secondary
indexes
10
Replication
10*
Speed and durability
11
Scaling
12
1.3
MongoDB s core server and tools
13
The core server
14 *
The JavaScript shell
14 ■
Database
drivers
15 ■
Command-line tools
16
1.4
WhyMongoDB?
16
MongoDB versus other databases
17 я
Use cases and
production deployments
19
1.5
Tips and limitations
21
1.6
Summary
22
2
MongoDB through the JavaScript shell
23
2.1
Diving into the MongoDB shell
24
Starting the shell
24 *
Inserts and queries
25 *
Updating
documents
26 *
Deleting data
28
2.2
Creating and querying with indexes
29
Creating a large collection
29 *
Indexing and explainQ
31
2.3
Basic administration
33
Getting database information
33 *
How commands work
34
2.4
Getting help
35
2.5
Summary
36
Writing programs using MongoDB
3 7
3.1
MongoDB through the Ruby lens
38
Installing and connecting
38 *
Inserting documents in Ruby
39
Queries and cursors
40 *
Updates and deletes
41 *
Database
commands
42
3.2
How the drivers work
43
Object ID generation
43 *
BSON
44 *
Over the network
45
3.3
Building a simple application
47
Setting up
47*
Gathering data
48*
Viewing the archive
50
3.4
Summary
52
Part
2
Application development in MongoDB
........53
3
4
5
Documentroriented data
55
4.1
Principles of schema design
56
4.2
Designing an e-commerce data model
57
Products and categories
58 *
Users and orders
61
Reviews
64
4.3
Nuts and bolts: on databases, collections,
and documents
65
Databases
65 *
Collections
67 ■
Documents and insertion
70
4Л
Summary
75
Queries and aggregation
76
5.1
E-commerce queries
77
Products, categories, and reviews
77 *
Users and orders
79
5.2
MongoDB s query language
81
Query selectors
81 *
Query options
90
5.3
Aggregating orders
92
Grouping reviews by user
92 *
Map-reduce for orders by
region
94
5.4
Aggregation in detail
95
Maxima and minima
95 *
Distinct
96 *
Group
96
Map-reduce
98
5.5
Summary
100
Updates, atomic operations, and deletes
101
6.1
A brief tour of document updates
102
6.2
E-commerce updates
104
Products and categories
104 *
Reviews
108
Orders
110
6.3
Atomic document processing
112
Order state transitions
112*
Inventory management
114
6.4
Nuts and bolts: MongoDB updates and deletes
118
Update types and options
118*
Update operators
119
The findAndModify command
123 *
Deletes
124
Concurrency, atomicity, and isolation
124 *
Update
performance notes
125
6.5
Summary
126
Part
3
MongoDB mastery
........................................ 127
Indexing and query optimization
129
7.1
Indexing theory
130
A thought experiment
130 ·
Core indexing concepts
133
B-trees
136
7.2
Indexing in practice
137
Index types
138 *
Index administration
140
7.3
Query optimization
144
Identifying slow queries
144 ■
Examining slow queries
147
Query patterns
153
7.4
Summary
155
8
Replication
156
8.1
Replication overview
157
Why replication matters
157 -
Replication use cases
158
8.2
Replica sets
159
Setup
159*
How replication works
163
Administration
169
8.3
Master-slave replication
177
8.4
Drivers and replication
177
Connections
andfaüover
177 *
Write concern
179
Read scaling
181 *
Tagging
182
8.5
Summary
183
Sharding
184
9.1
Sharding overview
185
What sharding is
185 *
How sharding works
187
9.2
A sample shard cluster
190
Setup
191 *
Writing to a sharded cluster
195
9.3
Querying and indexing a shard cluster
200
Shard query types
200 *
Indexing
204
9.4
Choosing a shard key
205
Ineffective shard keys
205 ■
Ideal shard keys
207
9.5
Sharding in production
208
Deployment and configuration
208 *
Administration
212
9.6
Summary
217
Deployment and administration
218
10.1
Deployment
219
Deployment environment
219 *
Server configuration
223
Data imports and exports
225 *
Security
226
10.2
Monitoring and diagnostics
228
Logging
228 *
Monitoring tools
229 *
External monitoring
applications
232 *
Diagnostic tooL· (mongosniff
bsondump)
233
10.3
Maintenance
234
Backups and recovery
234 *
Compaction and repair
235
Upgrading
236
10.4
Performance
troubleshooting
237
Check
indexes and queries for efficiency
238 ■
Add RAM
Increase disk performance
239 ■
Scale horizontally
239
Seek professional assistance
240
10.5
Summary
240
appendix A Installation
241
appendix
В
Design patterns
249
appendix
С
Binary data and GridFS
260
appendix
D
MongoDB in PHP, Java, and
C++ 266
appendix
E
Spatial indexing
274
index
279
238
|
any_adam_object | 1 |
author | Banker, Kyle |
author_GND | (DE-588)1026679524 |
author_facet | Banker, Kyle |
author_role | aut |
author_sort | Banker, Kyle |
author_variant | k b kb |
building | Verbundindex |
bvnumber | BV039944916 |
callnumber-first | Q - Science |
callnumber-label | QA76 |
callnumber-raw | QA76.9.D3 QA76.9.D3 B354 2012 |
callnumber-search | QA76.9.D3 QA76.9.D3 B354 2012 |
callnumber-sort | QA 276.9 D3 |
callnumber-subject | QA - Mathematics |
classification_rvk | ST 270 ST 271 |
ctrlnum | (OCoLC)835248333 (DE-599)BVBBV039944916 |
dewey-full | 005.7565 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.7565 |
dewey-search | 005.7565 |
dewey-sort | 15.7565 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01923nam a2200517 c 4500</leader><controlfield tag="001">BV039944916</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20211019 </controlfield><controlfield tag="007">t|</controlfield><controlfield tag="008">120308s2012 xx ad|| |||| 00||| eng d</controlfield><datafield tag="010" ind1=" " ind2=" "><subfield code="a">2011284963</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781935182870</subfield><subfield code="9">978-1-935182-87-0</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1935182870</subfield><subfield code="9">1-935182-87-0</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)835248333</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV039944916</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rakwb</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-739</subfield><subfield code="a">DE-860</subfield><subfield code="a">DE-2174</subfield><subfield code="a">DE-210</subfield></datafield><datafield tag="050" ind1=" " ind2="0"><subfield code="a">QA76.9.D3</subfield></datafield><datafield tag="050" ind1=" " ind2="0"><subfield code="a">QA76.9.D3 B354 2012</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">005.7565</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 270</subfield><subfield code="0">(DE-625)143638:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 271</subfield><subfield code="0">(DE-625)143639:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Banker, Kyle</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)1026679524</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">MongoDB in action</subfield><subfield code="c">Kyle Banker</subfield></datafield><datafield tag="246" ind1="1" ind2="3"><subfield code="a">Mongo DB in action</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Greenwich, Conn.</subfield><subfield code="b">Manning</subfield><subfield code="c">2012</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XXI , 287 S.</subfield><subfield code="b">Ill., graph. Darst.</subfield><subfield code="c">24 cm</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Object-oriented databases</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Database management</subfield><subfield code="x">Software</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Open source software</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Open Source</subfield><subfield code="0">(DE-588)4548264-0</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">NoSQL-Datenbanksystem</subfield><subfield code="0">(DE-588)7722784-0</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Datenbanksystem</subfield><subfield code="0">(DE-588)4113276-2</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">MongoDB</subfield><subfield code="0">(DE-588)7724020-0</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">MongoDB</subfield><subfield code="0">(DE-588)7724020-0</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="1"><subfield code="a">NoSQL-Datenbanksystem</subfield><subfield code="0">(DE-588)7722784-0</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="689" ind1="1" ind2="0"><subfield code="a">Datenbanksystem</subfield><subfield code="0">(DE-588)4113276-2</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="1" ind2="1"><subfield code="a">Open Source</subfield><subfield code="0">(DE-588)4548264-0</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="1" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Passau</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=024802930&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="943" ind1="1" ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-024802930</subfield></datafield></record></collection> |
id | DE-604.BV039944916 |
illustrated | Illustrated |
indexdate | 2024-12-20T16:05:51Z |
institution | BVB |
isbn | 9781935182870 1935182870 |
language | English |
lccn | 2011284963 |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-024802930 |
oclc_num | 835248333 |
open_access_boolean | |
owner | DE-739 DE-860 DE-2174 DE-210 |
owner_facet | DE-739 DE-860 DE-2174 DE-210 |
physical | XXI , 287 S. Ill., graph. Darst. 24 cm |
publishDate | 2012 |
publishDateSearch | 2012 |
publishDateSort | 2012 |
publisher | Manning |
record_format | marc |
spellingShingle | Banker, Kyle MongoDB in action Object-oriented databases Database management Software Open source software Open Source (DE-588)4548264-0 gnd NoSQL-Datenbanksystem (DE-588)7722784-0 gnd Datenbanksystem (DE-588)4113276-2 gnd MongoDB (DE-588)7724020-0 gnd |
subject_GND | (DE-588)4548264-0 (DE-588)7722784-0 (DE-588)4113276-2 (DE-588)7724020-0 |
title | MongoDB in action |
title_alt | Mongo DB in action |
title_auth | MongoDB in action |
title_exact_search | MongoDB in action |
title_full | MongoDB in action Kyle Banker |
title_fullStr | MongoDB in action Kyle Banker |
title_full_unstemmed | MongoDB in action Kyle Banker |
title_short | MongoDB in action |
title_sort | mongodb in action |
topic | Object-oriented databases Database management Software Open source software Open Source (DE-588)4548264-0 gnd NoSQL-Datenbanksystem (DE-588)7722784-0 gnd Datenbanksystem (DE-588)4113276-2 gnd MongoDB (DE-588)7724020-0 gnd |
topic_facet | Object-oriented databases Database management Software Open source software Open Source NoSQL-Datenbanksystem Datenbanksystem MongoDB |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=024802930&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT bankerkyle mongodbinaction |