You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/export/export-rdf.md
+14-6
Original file line number
Diff line number
Diff line change
@@ -90,11 +90,11 @@ graph value that will then be associated with every triple that Flux writes to a
90
90
91
91
To compress each file written by Flux using gzip, simply include `--gzip` as an option.
92
92
93
-
## Enabling point-in-time queries
93
+
## Exporting consistent results
94
94
95
-
Flux depends on MarkLogic's support for
95
+
By default, Flux uses MarkLogic's support for
96
96
[point-in-time queries](https://docs.marklogic.com/11.0/guide/app-dev/point_in_time#id_47946) when querying for
97
-
documents containing RDF data, thus ensuring a [consistent snapshot of data](https://docs.marklogic.com/guide/java/data-movement#id_18227).
97
+
documents, thus ensuring a [consistent snapshot of data](https://docs.marklogic.com/guide/java/data-movement#id_18227).
98
98
Point-in-time queries depend on the same MarkLogic system timestamp being used for each query. Because system timestamps
99
99
can be deleted when MarkLogic [merges data](https://docs.marklogic.com/11.0/guide/admin-guide/en/understanding-and-controlling-database-merges.html),
100
100
you may encounter the following error that causes an export command to fail:
@@ -108,7 +108,15 @@ To resolve this issue, you must
108
108
by configuring the `merge timestamp` setting. The recommended practice is to
109
109
[use a negative value](https://docs.marklogic.com/11.0/guide/admin-guide/en/understanding-and-controlling-database-merges/setting-a-negative-merge-timestamp-to-preserve-fragments-for-a-rolling-window-of-time.html)
110
110
that exceeds the expected duration of the export operation. For example, a value of `-864,000,000,000` for the merge
111
-
timestamp would give the export operation 24 hours to complete.
111
+
timestamp would give the export operation 24 hours to complete.
112
112
113
-
Flux will soon include an option to not use a snapshot for queries for when the risk of inconsistent results is deemed
114
-
to be acceptable.
113
+
Alternatively, you can disable the use of point-in-time queries by including the following option:
114
+
115
+
```
116
+
--no-snapshot
117
+
```
118
+
119
+
The above option will not use a snapshot for queries but instead will query for data at multiple points in time. As
120
+
noted above in the guide for [consistent snapshots](https://docs.marklogic.com/guide/java/data-movement#id_18227), you
121
+
may get unpredictable results if your query matches on data that changes during the export operation. If your data is
122
+
not changing, this approach is recommended as it avoids the need to configure merge timestamp.
0 commit comments