Skip to content

Concurrent insert operations causing deadlock(并发插入时, 触发死锁) #81

@Sube-py

Description

@Sube-py

I am using jieba as the tokenizer and have configured triggers as per the documentation. During batch data insertion in my project, deadlocks are triggered. Additional questions:

  • Does index creation lock the table?
  • Are index statistics (e.g., document frequency) calculated per table or per row? My table contains multiple documents.

我使用了jieba作为分词器, 并按照文档设置了触发器, 当我在项目中批量插入数据时, 会触发死锁, 同时我有几个问题:

  1. 索引建立时会锁表吗?
  2. 索引统计的文档频率是整表的还是整行的? 我的表里会包含多篇文档

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