Skip to content

Optimize lock granularity at com.starrocks.service.FrontendServiceImpl#describeTable #66515

@murphyatwork

Description

@murphyatwork

Enhancement

locker.lockDatabase(db.getId(), LockType.READ);

Executing frequent queries like SELECT * FROM information_schema.columns WHERE xxxx triggers com.starrocks.service.FrontendServiceImpl#describeTable, which unnecessarily employs a database lock, potentially causing performance degradation.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions