It's the last week of December at a bank's head office in Motijheel. The managing director calls a meeting and asks one plain question: which branches grew their SME loans fastest this year? Everyone turns to the IT officer. The core banking system is excellent at its own job: it can tell you Rahim's balance this second, or post a deposit at the counter in a blink. But it was never built for a question like this, which needs five years of history from many systems, cleaned, joined up and summed. And under that question sits a quieter worry. Once the history is gathered it is worth years of work, so what happens if the server dies tonight?
Answering takes the three things this chapter builds. A data warehouse collects the bank's history in one clean, organised place. OLAP lets a manager look at that history from any side: by branch, by month, by product. And a good backup plan makes sure the history can always be brought back. Bank and BCS papers ask these ideas as one-mark MCQs and, more and more, as written questions that want a table and a real example.
By the end of the chapter you'll be able to explain why a bank keeps a warehouse apart from its live database, and tell a database, a warehouse and a data mart apart. Then you'll compare OLTP with OLAP, walk data through ETL, and design a star schema and turn it into a snowflake. Next comes the cube: you roll up, drill down, slice, dice and pivot a real grid of numbers, and then do the same in SQL. The chapter ends with backup: telling it from recovery, working out whether incremental or differential suits a bank, and laying out a plan that a bank could actually use.