marklogic - 使用 MLCP 复制数据时出现异常

标签 marklogic mlcp

我尝试使用 MLCP 将 100 万个文档从一个数据库复制到另一个数据库,但出现以下异常。

19/08/30 11:48:08 ERROR contentpump.DatabaseContentReader: RuntimeException reading /integration/test/88398921012548 :java.lang.RuntimeException: Could not buffer value as string

我不确定此异常的原因。

请指导我理解原因。

MLCP 以及我使用过的所有选项

mlcp copy -mode local -input_host 192.168.1.46 -input_port 9000 -input_username admin -input_password admin -input_database test  -output_host localhost -output_port 8000 -output_username admin -output_password admin -output_database test

最佳答案

MLCP 倾向于并行运行多个线程,但这可能会导致源或目标系统耗尽资源。此外,您在与目标数据库相同的主机上运行 MLCP,它们也可能会争夺资源。最好看看如果使用 -thread_count 1 降低 MLCP 的速度会发生什么。从那里您可以再次扩大规模。

还要注意 MLCP 内存消耗,您可能需要使用 JVM_OPTS 为其提供更多内存。另请参阅:https://stackoverflow.com/a/54685758/918496

呵呵!

关于marklogic - 使用 MLCP 复制数据时出现异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57721535/

相关文章:

xml - 使用 XSD 和 XSI 对 XML 文档进行 MarkLogic TDE

full-text-search - 忽略 cts :search 中的元素

marklogic - 我应该使用 XCC insertContent 还是 xdmp :document-insert?

marklogic - 使用 MarkLogic mlcp 拆分文档

java - 使用 MarkLogic 和 Java 客户端 API 进行工作?

marklogic - 在 MarkLogic 8 中删除/更新双时态三元组

hadoop - 马克逻辑 : Error while importing files using MLCP

marklogic - 在 Marklogic 中将 MLCP 内容加载命令作为计划任务执行

linux - Linux 上的 Blobfuse 与 Azure - 如何在 Azure 上创建 tmp-path

java - Gradle 项目转换为 Maven