postgresql - 如何通过跳过索引来运行 pgloader?
问题描述
是否可以运行 pgloader 以排除索引?当整个过程完成时,我总是可以在最后创建索引。
我的数据库是 10GB,我收到一个堆耗尽错误:
Heap exhausted during garbage collection: 576 bytes available, 2288 requested.
我正在使用命令:
pgloader mysql://root:@localhost/mydb postgresql:///mydbpsql
解决方案
推荐阅读
- android - recyclerview滚动和viewpager滑动之间的冲突
- java - 如何配置 ORMLite 以将 `byte[]` 保存为 DataType.BYTE_ARRAY?
- python - Flask 和 Google Calendar API 身份验证问题
- c# - 根据条件隐藏数据网格中的列
- javascript - javascript过滤器应用程序无法正常工作所有未处理的uls
- python - NP 阵列的形状为 (2186, 128)。我有兴趣将获得的数组应用于 SVM
- android - RecyclerView 刷新列表
- c# - WPF 引发 DoubleClick 事件
- c++ - 按 Enter 后 cin 的返回值不为 0
- flutter - 是否可以在 Flutter 中自动设置主题小部件?