Writing and Querying MapReduce Views in CouchDB (Paperback)

Bradley Holt

  • 出版商: O'Reilly
  • 出版日期: 2011-04-12
  • 定價: $990
  • 售價: 8.0$792
  • 語言: 英文
  • 頁數: 106
  • 裝訂: Paperback
  • ISBN: 1449303129
  • ISBN-13: 9781449303129
  • 相關分類: NoSQL分散式架構
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

商品描述

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.

商品描述(中文翻譯)

如果您想要使用CouchDB支援真實世界的應用程式,您需要建立MapReduce視圖,以便在這個面向文件的資料庫中查詢有意義的資料。這本簡短而簡明的電子書將教您如何創建各種MapReduce視圖,以幫助您在CouchDB的大型分散式資料集中查詢和聚合資料。

您將獲得逐步的指示和大量的範例程式碼,透過本書的過程中,使用您自己建立的範例資料庫來創建和探索多個MapReduce視圖。為了使用這些不同的視圖,您將學習如何使用Futon網頁管理控制台和隨CouchDB附帶的cURL命令行工具。

學習Map和Reduce步驟如何獨立和共同索引您的資料
使用範例資料庫根據不同標準創建多個臨時視圖
了解Map和Reduce JavaScript函數的用途
將臨時視圖轉換為設計文件中的永久視圖
學習幾種在視圖中查詢資料的選項
限制返回的結果數量,跳過某些結果,或反轉輸出的順序
按照確切的鍵或鍵的部分對結果進行分組

Bradley Holt是創意服務公司Found Line的共同創辦人,是一位具有十年PHP和MySQL經驗的網頁開發人員和企業家。他在CouchDB 1.0版本發布之前就開始使用CouchDB。Bradley是PHP社群的活躍成員,可以在bradley-holt.com聯繫到他。