---
title: "Big Data"
type: concept
related: [Spark, Big Data]
source: https://www.jemoka.com/posts/kbhbig_data/
confidence: high
status: active
---

Big Data is a term for datasets large enough that traditional data processing applications are inadequate. i.e. when non-parallel processing is inadequate.
That is: &ldquo;Big Data&rdquo; is when Pandas and SQL is inadequate. To handle big data, its very difficult to sequentially go through and process stuff. To make it work, you usually have to perform parallel processing under the hood.
Rules of Thumb of Datasets 1000 Genomes (AWS, 260TB) CommonCraw - the entire web (On PSC! 300-800 TB) GDELT - https://www.gdeltproject.org/ a dataset that contains everything that&rsquo;s happening in the world right now in terms of news (small!! 2.5 TB per year; however, there is a LOT of fields: 250 Million fields) Evolution of Big Data Good Ol&rsquo; SQL schemas are too set in stone (&ldquo;not a fit for Agile development&rdquo; &mdash; a research scientist) SQL sharding, when working correctly, is KV Stores And this is why we gave up and made Redis (or Amazon DynamoDB, Riak, Memcached) which keeps only Key/Value information. We just make the key really really complicated to support structures: GET cart:joe:15~4...
But the problem with key-value stores isn&rsquo;t good at indexing at all: if we want like to get all of Joe&rsquo;s cart, you can&rsquo;t just GET cart:joe because you can&rsquo;t compare partial hashes.
Document Stores [And something something mongo&rsquo;s document stores but something its bad about those too but CMU can&rsquo;t do tech and the speakers died]
Wide Column Stores Google BigTable type thing
Just have a wide column of arbitrary width with no schema:
Cart Joe 15~4 Cart Robert 15~3 More Things! Chicken 15~2 Etc. No idea how you query this but google does it and CMU&rsquo;s speakers died again good on them.
Graphs! Neo4j: don&rsquo;t store triples, and have better schemes for encoding. You can then use nice graph query schemes.
Hard to visualize VERY hard to serialize Queries are hard And so: And sooooo. Introducing Spark. We don&rsquo;t want to do parallel programming, we want to use traditional databases, so we just make someone else do it on an adapter and just query boring databases with lots of parallel connections.
