Neptune Lab Mode - Amazon Neptune

Neptune Lab Mode

You can use Amazon Neptune lab mode to enable new features that are in the current Neptune engine release, but that aren't yet ready for production use and aren't enabled by default. This lets you try out these features in your development and test environments.

Using Neptune Lab Mode

Use the neptune_lab_mode DB cluster parameter to enable or disable features. You do this by including (feature name)=enabled or (feature name)=disabled in the value of the neptune_lab_mode parameter in the DB Cluster Parameter group.

For example, in this engine release you might set the neptune_lab_mode parameter to Streams=disabled, ReadWriteConflictDetection=enabled.

For information about how to edit the DB cluster parameter group for your database, see Editing a Parameter Group. Note that you cannot edit the default DB cluster parameter group; if you are using the default group, you must create a new DB cluster parameter group before you can set the neptune_lab_mode parameter.

The following features are currently accessed in lab mode:

Enable or disable the Neptune DFE alternative query engine

You can enable the new experimental Neptune DFE engine by setting DFEQueryEngine to 1 in the neptune_lab_mode DB cluster parameter, or you can disable it by setting DFEQueryEngine to 0 (the default).


When the DFE is enabled, DFE data statistics are also enabled.

Enabling or Disabling a New OSGP Index

Neptune can now maintain a fourth index, namely the OSGP index, which is useful for data sets having a large number of predicates (see Enabling an OSGP Index).

Use ObjectIndex as the name in the neptune_lab_mode parameter that enables or disables an OSGP index.

By default, the OSGP index is disabled.


Once you enable the OSGP index, new additions to your graph will be indexed, but not your existing data. To index existing data in your graph you must re-load it all.

Enable or Disable the Streams Feature

You can use lab mode to enable or disable the new Neptune Streams feature that logs all database changes to a stream as they happen (see Capturing Graph Changes in Real Time Using Neptune Streams).

Use Streams as the name in the neptune_lab_mode parameter that enables or disables the streams feature.

By default, Neptune Streams is disabled.

Enable or Disable Formalized Transaction Semantics

Neptune has updated the formal semantics for concurrent transactions (see Transaction Semantics in Neptune).

Use ReadWriteConflictDetection as the name in the neptune_lab_mode parameter that enables or disables formalized transaction semantics.

By default, formalized transaction semantics are already enabled. If you want to revert to the earlier behavior, include ReadWriteConflictDetection=disabled in the value set for the DB Cluster neptune_lab_mode parameter.