@KTzone » 數碼 - 手機綜合討論 » 數碼 - 智能手機電子書雜誌 » Writing and Querying MapReduce Views in CouchDB


2011-2-24 19:19 bunnylai
Writing and Querying MapReduce Views in CouchDB

[align=left][img]http://i1130.photobucket.com/albums/m521/cikachuno/_1449303129.jpg[/img][/align]


[align=left][b]Writing and Querying MapReduce Views in CouchDB[/b]

1 edition (March 7, 2011) | ISBN: 1449303129 | 67 pages | PDF | 2 MB[/align]

[align=left]

If you want to use CouchDB to support real-world applications, you'll need to create MapReduce views that let you query this document-oriented database for meaningful data. With this short and concise ebook, you'll learn how to create a variety of MapReduce views to help you query and aggregate data in CouchDB�s large, distributed datasets.

You'll get step-by-step instructions and lots of sample code to create and explore several MapReduce views through the course of the book, using an example database you construct. To work with these different views, you�ll learn how to use the Futon web administration console and the cURL command line tool that come with CouchDB.

* Learn how the Map and Reduce steps work independently and together to index your data
* Use the example database to create several temporary views based on different criteria
* Discover the uses of Map and Reduce javascript functions
* Convert your temporary views to permanent views within a design document
* Learn several options for querying the data within your views
* Limit the number of results returned, skip some results, or reverse the order of the output
* Group your results by exact keys or by parts of keys

Bradley Holt, co-founder of the creative services firm Found Line, is a web developer and entrepreneur ten years of PHP and MySQL experience. He began using CouchDB before the release of version 1.0. Bradley is an active member of the PHP community, and can be reached at bradley-holt.com.
[/align]

[align=left][url=http://www.filesonic.com/file/117020191/1449303129.rar]http://www.filesonic.com/file/117020191/1449303129.rar[/url][/align]

頁: [1]


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.