Stellar-core 22.1 will drop SQL support for ledger state and transaction history tables. The release introduces a new high-throughput HTTP query server with the `getledgerentryraw` endpoint as the replacement for direct SQL access.

Starting with stellar-core 22.1, SQL tables storing ledger state (ACCOUNT, TRUSTLINE, DATA, CLAIMABLE_BALANCE, LIQUIDITY_POOL, CONTRACT_DATA, CONTRACT_CODE, CONFIG_SETTING, TTL) and transaction history (TXSETHISTORY, TXHISTORY) will be permanently dropped. These tables were deprecated in previous releases but could still be enabled via configuration; 22.0 is the final version supporting this option. To replace SQL-based ledger state queries, stellar-core 22.0 introduces a new HTTP query server with the `getledgerentryraw` endpoint, capable of serving 20,000 requests per second with 500µs average latency. Transaction and transaction set history will no longer be stored in stellar-core; users should instead run RPC or Horizon nodes or query public history archives. The `--in-memory` mode flag is also deprecated and will be ignored starting in 22.1.