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
4.x already supports more information, but will not print the information of each file, a log record is as follows: {"level":"info","ts":"2023-03-02T13:47:38+08:00","caller":"manager/manager.go:394","msg":"40s 14s 74.00%(48 MiB/65 MiB) Records{Finished: 1352009, Failed: 0, Rate: 33592.35/s}, Requests{Finished: 10573, Failed: 0, Latency: 9.897295ms/37.723963ms, Rate: 262.70/s}, Processed{Finished: 1352009, Failed: 0, Rate: 33592.35/s}","app":"nebula-importer"}
2&3. I think maintainers need to plan the size of the disk and expand it when necessary. In addition, the importer cannot know the disk usage, and there is no suitable algorithm to estimate how much disk is needed.
Importer is currently designed to be a stateless tool.
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
现在控制台输出的只能看到: 当前已经导入了多少条记录和网络延时,
用户可能更希望看到的是 每秒导入了多少条记录 类似于tpmc这种
性能指标。
改进建议如下:
或者增加进度说明。例如:
一共多少个csv文件,当前处理的是哪个csv文件,
本csv文件一共需要导入多少条记录
现在导入了多少条记录
预计需要花费的时间。
导入测试数据集前对磁盘容量进行检测,如果剩余磁盘空间 小于 预估的容量,
则报错提示无法导入。并输出具体的错误信息。
预估容量的计算要考虑到底层存储的问题,例如底层存储使用了RocksDB的话,
会有写放大的问题出现,这样可能会占据更多的磁盘空间,因此在预估磁盘容量
时尽量按照上限计算;
断点续传: 例如有20个csv文件,已经完成了10个,在导入第11个文件的时候
因为磁盘空间不足导致导入中断,下次再运行导入程序能不能从第11个文件开始,
不用再重复导入已经完成的文件。
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: