Skip to content

perf: database optimization#3605

Merged
faustbrian merged 7 commits into2.6from
perf/db-optimization
Mar 19, 2020
Merged

perf: database optimization#3605
faustbrian merged 7 commits into2.6from
perf/db-optimization

Conversation

@air1one
Copy link
Copy Markdown
Contributor

@air1one air1one commented Mar 19, 2020

Summary

Optimize database adding indexes + restrict some api sorting and filtering parameters that are not needed.

Changes in API :

Removed searching blocks by

  • payloadLength
  • payloadHash
  • blockSignature

Removed sorting blocks by

  • id
  • payloadLength
  • payloadHash
  • previousBlock

Removed sorting transactions by

  • blockId
  • id
  • recipientId
  • senderPublicKey

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

@faustbrian faustbrian merged commit 8929708 into 2.6 Mar 19, 2020
@ghost ghost deleted the perf/db-optimization branch March 19, 2020 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants