## Development Patterns 

• Perform Two Phase Commits (page 115) 

• Create an Auto-Incrementing Sequence Field (page 125) 

• Enforce Unique Keys for Sharded Collections (page 732) 

• Aggregation Examples (page 452) 

• Model Data to Support Keyword Search (page 165) 

• Limit Number of Elements in an Array after an Update (page 109) 

• Perform Incremental Map-Reduce (page 463) 

• Troubleshoot the Map Function (page 465) 

• Troubleshoot the Reduce Function (page 466) 

• Store a JavaScript Function on the Server (page 235) 

## Text Search Patterns 

• Create a text Index (page 539) 

• Specify a Language for Text Index (page 540) 

• Specify Name for text Index (page 542) 

• Control Search Results with Weights (page 543) 

• Limit the Number of Entries Scanned (page 544) 

## Data Modeling Patterns 

• Model One-to-One Relationships with Embedded Documents (page 152) 

• Model One-to-Many Relationships with Embedded Documents (page 153) 

• Model One-to-Many Relationships with Document References (page 154) 

• Model Data for Atomic Operations (page 164) 

• Model Tree Structures with Parent References (page 157) 

• Model Tree Structures with Child References (page 158) 

• Model Tree Structures with Materialized Paths (page 161) 

• Model Tree Structures with Nested Sets (page 163) 

## See also: 

The MongoDB Manual contains administrative documentation and tutorials though out several sections. See Replica Set Tutorials (page 602) and Sharded Cluster Tutorials (page 690) for additional tutorials and information. 

## 5.3 Administration Reference 

UNIX ulimit Settings (page 287) Describes user resources limits (i.e. ulimit ) and introduces the considerations and optimal configurations for systems that run MongoDB deployments. 

