Book Image

Pentaho Analytics for MongoDB

By : Bo Borland
Book Image

Pentaho Analytics for MongoDB

By: Bo Borland

Overview of this book

<p>Pentaho Analytics for MongoDB will teach you MongoDB and Pentaho integration points and developer skills needed to create turnkey analytic solutions that deliver insight and drive value for your organization.<br /><br />Starting with how to install, configure, and develop content in both Pentaho and MongoDB, this book will give you the complete range of skills needed to gain insight into MongoDB data using Pentaho Business Analytics.&nbsp; You will learn about MongoDB data models and query techniques, which are covered in combination with the provided sample MongoDB database. You then advance to data integration, analysis, and reporting using Pentaho.<br /><br />You will learn how to use Pentaho Data Integration to blend and enrich data from additional sources. From this blended data, you will develop professional-looking reports and analysis views that are visual and interactive. Lastly, we will cover the Pentaho web portal and web interfaces for deploying analytics out to a broader set of consumer users.</p>
Table of Contents (15 chapters)
Pentaho Analytics for MongoDB
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating a MongoDB connection and query


The first step in PRD report development is to create a database connection and execute one or more queries. This section explains how to create a MongoDB connection and query. When creating a MongoDB connection, there are several MongoDB-specific configuration options. We do not use some of the more advanced configuration options for exercises in this book, but it is important to be aware of them. MongoDB-specific configuration features, which are not used in the exercises, include the following:

  • Use all replica set members: Replica sets provide redundancy and increase data availability. If there is a replica set with more than one host, Pentaho discovers all hosts listed in the host field.

  • Read preference: This tells Pentaho which node to read first—primary, primaryPreferred, secondary, secondaryPreferred, or nearest.

  • Tag set: Tag sets let you customize write concern and read preferences for a replica set.

  • Fields expression: This controls the query fields...