|
| 1 | +============================= |
| 2 | +Release Notes for MongoDB 1.4 |
| 3 | +============================= |
| 4 | + |
| 5 | +.. default-domain:: mongodb |
| 6 | + |
| 7 | +.. contents:: See the :doc:`full index of this page <1.4-changes>` for |
| 8 | + a complete list of changes included in 1.4. |
| 9 | + :backlinks: none |
| 10 | + :local: |
| 11 | + :depth: 1 |
| 12 | + |
| 13 | +Upgrading |
| 14 | +--------- |
| 15 | + |
| 16 | +We're pleased to announce the 1.4 release of MongoDB. 1.4 is a drop-in |
| 17 | +replacement for 1.2. To upgrade you just need to shutdown |
| 18 | +:program:`mongod`, then restart with the new binaries. (Users upgrading |
| 19 | +from release 1.0 should review the :doc:`1.2 release notes </release-notes/1.2>`, |
| 20 | +in particular the instructions for upgrading the DB format.) |
| 21 | + |
| 22 | +Release 1.4 includes the following improvements over release 1.2: |
| 23 | + |
| 24 | +Core Server Enhancements |
| 25 | +------------------------ |
| 26 | + |
| 27 | +- :doc:`concurrency </faq/concurrency>` improvements |
| 28 | + |
| 29 | +- indexing memory improvements |
| 30 | + |
| 31 | +- :ref:`background index creation <index-creation-background>` |
| 32 | + |
| 33 | +- better detection of regular expressions so the index can be used in |
| 34 | + more cases |
| 35 | + |
| 36 | +Replication and Sharding |
| 37 | +------------------------ |
| 38 | + |
| 39 | +- better handling for restarting slaves offline for a while |
| 40 | + |
| 41 | +- fast new slaves from snapshots (``--fastsync``) |
| 42 | + |
| 43 | +- configurable slave delay (``--slavedelay``) |
| 44 | + |
| 45 | +- replication handles clock skew on master |
| 46 | + |
| 47 | +- :doc:`$inc </reference/operator/inc>` replication fixes |
| 48 | + |
| 49 | +- sharding alpha 3 - notably 2-phase commit on config servers |
| 50 | + |
| 51 | +Deployment and Production |
| 52 | +------------------------- |
| 53 | + |
| 54 | +- :ref:`configure "slow threshold" for profiling <database-profiling-levels>` |
| 55 | + |
| 56 | +- ability to do :doc:`fsync + lock </reference/command/fsync>` for backing up raw files |
| 57 | + |
| 58 | +- option for separate directory per db (``--directoryperdb``) |
| 59 | + |
| 60 | +- ``http://localhost:28017/_status`` to get serverStatus via http |
| 61 | + |
| 62 | +- REST interface is off by default for security (``--rest`` to enable) |
| 63 | + |
| 64 | +- can rotate logs with a db command, :doc:`logRotate </reference/command/logRotate>` |
| 65 | + |
| 66 | +- enhancements to :doc:`serverStatus </reference/server-status/>` |
| 67 | + command (db.serverStatus()) - counters and :ref:`replication lag |
| 68 | + <replica-set-replication-lag>` stats |
| 69 | + |
| 70 | +- new :doc:`mongostat </reference/mongostat>` tool |
| 71 | + |
| 72 | +Query Language Improvements |
| 73 | +--------------------------- |
| 74 | + |
| 75 | +- :doc:`$all </reference/operator/all>` with regex |
| 76 | + |
| 77 | +- :doc:`$not </reference/operator/not>` |
| 78 | + |
| 79 | +- partial matching of array elements :doc:`$elemMatch </reference/projection/elemMatch>` |
| 80 | + |
| 81 | +- $ operator for updating arrays |
| 82 | + |
| 83 | +- :doc:`$addToSet </reference/operator/addToSet>` |
| 84 | + |
| 85 | +- :doc:`$unset </reference/operator/unset>` |
| 86 | + |
| 87 | +- :doc:`$pull </reference/operator/pull>` supports object matching |
| 88 | + |
| 89 | +- :doc:`$set </reference/operator/set>` with array indices |
| 90 | + |
| 91 | +Geo |
| 92 | +--- |
| 93 | + |
| 94 | +- :doc:`2d geospatial search </core/geospatial-indexes>` |
| 95 | + |
| 96 | +- geo :doc:`$center </reference/operator/center>` and :doc:`$box |
| 97 | + </reference/operator/box>` searches |
0 commit comments