This document discusses how Bank of Brazil uses PostgreSQL to process a high volume of documents every day as part of its multi-document processing application. It faces challenges from high concurrency with over 22,000 stations accessing the single PostgreSQL database. To address this, Bank of Brazil implemented solutions like PgBouncer for connection pooling, caching with Memcached, advisory locks, temporary tables, and partitioning of 24 tables. These solutions helped Bank of Brazil scale its PostgreSQL database to meet the heavy processing demands of scanning, recognizing, and managing documents from its over 6,000 branches.