Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
  • TRADE
Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
  • TRADE
Crypto Flexs
Home»ADOPTION NEWS»BNB Chain Launches Multi-Data Storage Solution for BSC Geth
ADOPTION NEWS

BNB Chain Launches Multi-Data Storage Solution for BSC Geth

By Crypto FlexsJuly 8, 20243 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
BNB Chain Launches Multi-Data Storage Solution for BSC Geth
Share
Facebook Twitter LinkedIn Pinterest Email





BNB Chain has released a new multi-data storage solution for BNB Smart Chain (BSC) Geth nodes, which aims to address performance inefficiencies caused by rapid growth in data volumes. According to the BNB Chain Blog, this new approach addresses issues related to mixed data storage patterns, reduced query efficiency, and optimization conflicts within a single key-value database.

Current task

Currently, BSC node data is stored in a single key-value database instance, categorized by different prefixes. This setup has caused several problems.

  • Storing mixed data with different patterns is inefficient.
  • As database size grows, query efficiency deteriorates, especially during the execution process.
  • Because read and write optimizations often conflict, the ability to optimize database parameters for different data patterns is limited.

The existing storage pattern includes a single KV store and two ancient stores, which handle different types of data access patterns.

Proposed solution

Multi-database approach

The new solution involves separating blockchain data into three separate databases: a block database, a trie database, and a snapshot database, each designed with specific data schemas and access behaviors.

  • Block Database: Stores block-related data such as header, body, receipt, difficulty, and past block data.
  • Trie Database: Contains all tree nodes in their current state and past state data for approximately 90,000 blocks.
  • Snapshot database: House snapshot data, transaction index, contract code and other metadata. This database is read-intensive and frequently accessed during block execution.

Folder structure

The new folder structure includes the original database within the chaindata/ folder, and introduces new block/ and state/ folders to store block and trie data respectively. Each directory also includes an ancient folder to store historical data.

Impact and Achievements

The multi-database approach is expected to improve the performance, scalability, and maintainability of BSC nodes. By separating databases based on data schema and access behavior, the solution aims to reduce read/write latency and improve overall blockchain performance.

Block Database

The block database stores recent blocks in a key-value database and then migrates them to an older database to reduce disk bandwidth usage. The BNB chain plans to keep only 20-30 recent blocks in the key-value database, as opposed to the previous 90,000 blocks, to match the proof-of-stake consensus mechanism.

Try Database

Trie Database handles the fast-growing Trie nodes of Merkle Patricia Tries (MPT). This separation reduces the cost of database compression and improves read/write speeds, improving block execution and verification performance.

Snapshot database

BNB Chain aims to improve read/write performance by isolating snapshot data in its own database and reducing the depth of the Log-Structured Merge (LSM) tree. Frequent access to snapshot data during blockchain execution can benefit from this reduced latency.

Test Results

Our tests on an EC2 m6i.4xlarge machine with Geth v1.3.10 installed showed significant performance improvements. The multi-database setup outperformed the single-database model, especially when the databases were spread across multiple disks.

ETH Adoption

This multi-database solution is also being contributed to the Ethereum Geth client. Discussions with Geth developers are ongoing, and the feature is expected to become part of the Ethereum Geth client once the pull request is merged.

expect

As blockchain data continues to grow, BNB Chain emphasizes the importance of building an efficient storage model for various data types. Multi-database support helps store state data independently and paves the way for a high-performance state data engine. This initiative aims to make the BSC network more robust and efficient.

Image source: Shutterstock



Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

Algorand (Algo) Get momentum in the launch and technical growth.

July 14, 2025

It flashes again in July

July 6, 2025

Stablecoin startups surpass 2021 venture capital peaks as institutional money spills.

June 28, 2025
Add A Comment

Comments are closed.

Recent Posts

Bitcoin Price $ 123K Explosion -Trader Brace for Brake Out

July 20, 2025

Ether Lee Rium breaks $ 3K with 7,200% of the virus L2 coin eyes.

July 20, 2025

XRP Breaks Through $3.5! DL Mining Launches AI Cloud Mining Contracts, Earning Steady Profits Every Day

July 20, 2025

AAVE gains strength as AAVE dominates defect loans with net deposits of $ 50B or more.

July 19, 2025

As XRP Surges, DLMining Platform Opens New High-yield Cloud Mining Opportunities For Holders

July 19, 2025

Missed Out On Bitcoin At $9999? SIM Mining Cloud Mining Brings You New Opportunities For Wealth!

July 19, 2025

NFT is a rebound -there is a teenage NFTS this week.

July 19, 2025

MultiBank Group To List $MBG Token On Gate.io And MEXC During Official Token Generation Event

July 18, 2025

Earn $4,777 Daily! PaxMining Leads 2025’s Record-Breaking Bitcoin Mining Boom

July 18, 2025

GSR Leads $100M Private Placement Into Nasdaq-listed MEI Pharma To Launch First Institutional Litecoin Treasury Strategy Alongside Charlie Lee

July 18, 2025

KuCoin Launches XStocks, Delivering A One-Stop Access Point To Top Global Tokenized Equities

July 18, 2025

Crypto Flexs is a Professional Cryptocurrency News Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of Cryptocurrency. We hope you enjoy our Cryptocurrency News as much as we enjoy offering them to you.

Contact Us : Partner(@)Cryptoflexs.com

Top Insights

Bitcoin Price $ 123K Explosion -Trader Brace for Brake Out

July 20, 2025

Ether Lee Rium breaks $ 3K with 7,200% of the virus L2 coin eyes.

July 20, 2025

XRP Breaks Through $3.5! DL Mining Launches AI Cloud Mining Contracts, Earning Steady Profits Every Day

July 20, 2025
Most Popular

‘It’s a certainty’ – Ripple CEO Brad Garlinghouse says other crypto assets will get spot ETFs just like Bitcoin.

January 16, 2024

Bitcoin Trading Volume Plummets 30% in 6 Months as BTC Price ‘Lowers Interest’

September 5, 2024

Hong Kong Bitcoin and Ethereum ETFs are expected to surpass US trading volume on the first day.

April 30, 2024
  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions
© 2025 Crypto Flexs

Type above and press Enter to search. Press Esc to cancel.