70 likes | 170 Views
Lightning Queries. Miguel Branco. Obs. 1: Eating our own (dog) food. How many of you use databases to store your own data?. Data. Obs. 2: Data Deluge. Which one are we going to “move”?. Database. “Lightning Fast” Queries?. Time. Loading “Overhead”. Preparation “Overhead”.
E N D
Lightning Queries Miguel Branco
Obs. 1: Eating our own (dog) food How many of you use databases to store your own data? Data Obs. 2: Data Deluge Which one are we going to “move”? Database
“Lightning Fast”Queries? Time Loading “Overhead” Preparation “Overhead”
In-situ databases! Databases that operate directly on raw data files Large collections of files Multiple data formats Integration with existing tools Changing areas of interest … lack of trust in database vendors … databases “forever owning” the data
Great, but what about …… performance? competitive
Positional Maps Year,Make,Model,Description,Price 1997,Ford,E350,"ac, abs, moon",3000.00 1999,Chevy,"Venture ""Extended Edition""","",4900.00 1999,Chevy,"Venture ""Extended Edition, Very Large""","",5000.00 1996,Jeep,Grand Cherokee,"MUST SELL! air, moon roof, loaded",4799.00 Positional Maps + Caching + Indices + File System Integration Blocks of raw files Row-store Col-store Best suited for … raw file format user queries Caching User does not need to control when, what, how or where data is cached != Data Loading • In-Situ Database • Usability • Data Deluge Indices Indices over … raw files cached data File System integration Trap FS calls to maintain caches Scan FS buffer to build caches or maps