Skip to content

rocksdb wal文件可以删除吗 #2369

Closed

Description

@songlf1002

Problem Type (问题类型)

None

Before submit

  • 我已经确认现有的 Issues 与 FAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)

Environment (环境信息)

  • Server Version: 0.12.0 (Apache Release Version)
  • Backend: RocksDB 1 nodes, SSD
  • OS: xx CPUs, xx G RAM, Ubuntu 2x.x / CentOS 7.x
  • Data Size: 110000vertices, 1300000 edges

Your Question (问题描述)

rocksdb存储,使用hugegraph-loader每日全量加载数据,wal文件一直变大,请问wal文件可以删除吗

Vertex/Edge example (问题点 / 边数据举例)

No response

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

No response

Activity

  1. imbajin commented on Dec 4, 2023

    @imbajin
    Member

    Yes, u could delete wal file directly if u understand the risk of it (WAL: Write Ahead Log, u could search the meaning first)

    However, from your case, u should better reduce the WAL TTL(Auto Delete) time or reduce the max size of WAL file, u could search it in RocksDBOptions(Normally WAL files are automatically deleted(TTL), adjusting the parameters is the best choice)

  2. locked and limited conversation to collaborators on Dec 4, 2023
  3. converted this issue into a discussion #2371 on Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions