Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
chainmaker-explorer
chainmaker-explorer
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • chainmaker
  • chainmaker-explorerchainmaker-explorer
  • Merge Requests
  • !3

Merged
Opened Sep 05, 2022 by weihang li@liweihang

refactor: 优化高频sql查询《获取区块最大高度》,基于block_height索引为查询条件替代max语句

  • Overview 0
  • Commits 1
  • Changes 1

优化前:通过max获取最大高度,区块数据为30w+情况下,响应时间为1500ms+; 优化后:通过命中block_height索引进行查询,同样查询条件下,响应时间为10ms+。

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: chainmaker/chainmaker-explorer!3
Source branch: develop

Copyright © 2021 ChainMaker Org. All Rights Reserved. 长安链 版权所有。