Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Fix the driver behind crashes, sound loss and screen glitches3Clear out junk files and repair common Windows errorsFacebook made its warehouse faster by changing both query execution and the way data was stored and read. Its Presto engine pipelined SQL work instead of waiting for successive disk-mediated MapReduce stages to finish, while customized ORC storage and a purpose-built reader reduced the data and decoding work needed for selective queries. Facebook reported large gains in its own systems between 2013 and 2015, but the results depended on workload and test conditions.
Why Facebook needed faster warehouse queries
Facebook’s data warehouse ran on large Hadoop and HDFS clusters. Hive and MapReduce provided reliable, large-scale processing, but interactive analysis had a different requirement: analysts needed answers with lower latency, not just the ability to process large volumes of data. Facebook’s Data Infrastructure team started Presto in fall 2012; the company said its first production system was running in early 2013 and its company-wide rollout was complete by spring that year.
The scale helps explain the engineering problem. In its November 2013 account, Facebook said the warehouse held more than 300 petabytes and Presto processed more than 30,000 queries—covering one petabyte of data—daily, with more than 1,000 employees using it. In April 2014, Facebook described a 300 PB warehouse receiving about 600 TB per day and growing to three times its size over the preceding year. These are company-reported figures from those dates, not current measurements.
Presto changed how query stages exchanged data
In the Hive/MapReduce path Facebook described, a query was broken into sequential stages. Tasks read inputs from disk and wrote intermediate results back to disk, so later work could wait for earlier stages and their output. Presto instead ran stages concurrently and streamed intermediate data onward as it became available. That reduced waiting and avoidable intermediate I/O; it did not mean that queries never read from disk or that the warehouse was held entirely in memory.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Scan for outdated or missing drivers - takes under a minuteDriver Scan →#1 Best Overall
- Entry-level NAS Personal Storage:UGREEN NAS DH2300 is your first and best NAS made easy. It is designed for beginners who want a simple, private way to store videos, photos and personal files, which is intuitive for users moving from cloud storage or external drives and move away from scattered date across devices. This entry-level NAS 2-bay perfect for personal entertainment, photo storage, and easy data backup (doesn't support Docker or virtual machines).
- Set Your Devices Free, Expand Your Digital World: This unified storage hub supports massive capacity up to 64TB.*Storage drives not included. Stop Deleting, Start Storing. You can store 22 million 3MB images, or 2 million 30MB songs, or 43K 1.5GB movies or 67 million 1MB documents! UGREEN NAS is a better way to free up storage across all your devices such as phones, computers, tablets and also does automatic backups across devices regardless of the operating system—Window, iOS, Android or macOS.
- The Smarter Long-term Way to Store: Unlike cloud storage with recurring monthly fees, a UGREEN NAS enclosure requires only a one-time purchase for long-term use. For example, you only need to pay $459.98 for a NAS, while for cloud storage, you need to pay $719.88 per year, $2,159.64 for 3 years, $3,599.40 for 5 years. You will save $6,738.82 over 10 years with UGREEN NAS! *NAS cost based on DH2300 + 12TB HDD; cloud cost based on 12TB plan (e.g. $59.99/month).
- Blazing Speed, Minimal Power: Equipped with a high-performance processor, 1GbE port, and 4GB RAM on Board, this NAS handles multiple tasks with ease. File transfers reach up to 125MB/s—a 1GB file takes only 8 seconds. Don't let slow clouds hold you back; they often need over 100 seconds for the same task. The difference is clear.
- Let AI Better Organize Your Memories: UGREEN NAS uses AI to tag faces, locations, texts, and objects—so you can effortlessly find any photo by searching for who or what's in it in seconds. It also automatically finds and deletes similar or duplicate photo, backs up live photos and allows you to share them with your friends or family with just one tap. Everything stays effortlessly organized, powered by intelligent tagging and recognition.
| Approach | Execution model | Role in Facebook’s account |
|---|---|---|
| Hive with MapReduce | Sequential MapReduce stages read inputs and write intermediate outputs to disk. | Large transformations and warehouse table processing. |
| Presto | Distributed SQL stages run concurrently and stream data between stages. | Interactive, ad-hoc analysis with a lower-latency goal. |
Presto’s coordinator parsed, analyzed, and planned SQL, then assigned work across nodes close to data. Connectors let the engine query Hive/HDFS and other stores. Facebook presented Presto and Hive as complementary tools, not as a wholesale replacement of Hive.
Facebook’s 2013 engineering post characterized Presto as delivering 10× better CPU efficiency and latency for most of its queries compared with Hive/MapReduce. “Most” matters: this was the company’s characterization of its own queries and systems, not an independent benchmark or a result for every query.
Rank #2
- 【Advanced Home Data & Media Hub】For advanced home users who need phone backup, file storage, and centralized data management. Centralize family photos, 4K videos, movies, computer backups, and personal files in one place while running multiple apps for home entertainment and everyday data management. Suitable for households with growing digital libraries and multiple NAS use cases.
- 【Built for Creators, Media Servers & Advanced Apps】Powered by the Intel N100 Quad-Core CPU, 8GB DDR5 RAM, 2.5GbE networking, and dual M.2 NVMe slots, DXP2800 handles large files and heavier workloads with ease. Run Docker, virtual machines, and media server applications compatible with Plex—ideal for content creators, tech enthusiasts, and advanced home users managing 4K videos, RAW photos, personal media libraries, and multiple NAS apps.
- 【Up to 80TB for Growing Digital Libraries】 Supports up to 80TB of storage using two HDD bays and two M.2 NVMe SSD slots for family photos, movies, RAW photos, 4K videos, work files, and device backups. AI photo management supports recognition of people, objects, scenes, and locations, album organization, and duplicate photo detection. HDDs and SSDs are not included.
- 【AI-powered Home Surveillance】Turn DXP2800 into a centralized home surveillance hub by connecting compatible network cameras and storing recordings locally on your NAS. AI-powered features include Face Recognition, People Detection, and Pet Detection, helping advanced home users review important events more efficiently while managing home surveillance and personal data in one place.
- 【One data Center Across Your Devices】Keep files from desktops, laptops, phones, tablets, and other devices together instead of scattered across cloud accounts and external drives. Access, back up, organize, and share data across Windows, macOS, Android, iOS, web browsers, and compatible smart TVs—ideal for creators and advanced home users working across multiple devices.
Facebook improved storage as well as execution
Faster query planning and scheduling could not eliminate the cost of reading and decoding warehouse data. Facebook’s 2014 account described moving from RCFile toward a customized ORCFile format. RCFile grouped rows and stored each column in a contiguous chunk, allowing a query to avoid decompressing and deserializing columns it did not use. Facebook reported average compression of 5× on a representative sample of its raw warehouse data with RCFile.
The team added column-level encodings, including run-length, dictionary, frame-of-reference, and numeric encodings. Rather than apply one encoding everywhere, it used observed column values and distinct-value thresholds to choose where dictionary encoding was worthwhile; high-entropy strings, for example, could grow rather than shrink under dictionary encoding. The team also considered character sets when choosing encodings and adjusted integer encoding. Facebook said it selected a 256 MB ORC stripe size empirically for its environment.
Recommended Free Tools
Rank #3
- Entry-level NAS Home Storage: The UGREEN NAS DH4300 Plus is an entry-level 4-bay NAS that's ideal for home media and vast private storage you can access from anywhere and also supports Docker but not virtual machines. You can record, store, share happy moment with your families and friends, which is intuitive for users moving from cloud storage, or external drives to create your own private cloud, access files from any device.
- Smart Photo Backup & AI Album: Automatically back up photos and videos from your phone in real time and keep growing family memories organized with AI-powered photo albums. Semantic search, custom learning, and recognition of people, objects, pets, and similar photos help you quickly find the moments you want. Duplicate photo removal also helps keep your library organized—ideal for families and users with large photo collections.
- User-Friendly App & Easy Setup: Connect quickly via NFC, set up simply and share files fast on Windows, macOS, Android, iOS, web browsers, and smart TVs. You can access data remotely from any of your mixed devices. What's more, UGREEN NAS enclosure comes with beginner-friendly user manual and video instructions to ensure you can easily take full advantage of its features.
- More Cost-effective Storage Solution: Unlike cloud storage with recurring monthly fees, A UGREEN NAS enclosure requires only a one-time purchase for long-term use. For example, you only need to pay $629.99 for a NAS, while for cloud storage, you need to pay $719.88 per year, $1,439.76 for 2 years, $2,159.64 for 3 years, $7,198.80 for 10 years. You will save $6,568.81 over 10 years with UGREEN NAS! *NAS cost based on DH4300 Plus + 12TB HDD; cloud cost based on 12TB plan (e.g. $59.99/month).
- Your Data, You Control:No third-party clouds, no hidden access, UGREEN NAS provides a more secure and private data storage solution. It stores data locally on your private hard drives and does automatic backups. Thus, you can keep full control over it. The advanced encryption is TRUSTe certified in the United States and is awarded the first (and only) ETSI EN 303 645 certification mark for NAS products by TÜV SÜD Group.
Facebook reported that these storage changes raised average compression from 5× with RCFile to 8× with Facebook ORCFile across its representative data. In its tests, selective queries on Facebook ORCFile ran 3× faster than on open-source ORCFile. The company also said the format had rolled out to many tens of petabytes and reclaimed tens of petabytes of capacity; both are dated company-reported rollout claims.
Writer changes reduced the cost of producing files
Encoding and compression can save read and storage costs but make file production more expensive. Facebook changed its writer as well: replacing a red-black-tree dictionary structure with a memory-efficient hash map reduced dictionary memory footprint by 30% and improved write performance by 1.4×, according to its 2014 post. A later switch to Airlift Slice improved writer performance by a further 20–30%. After the format improvements, Facebook also lowered the Zlib compression level and reported a 20% writing-performance gain with minimal compression impact. These are measurements from Facebook’s implementation, not guaranteed gains for other systems.
Rank #4
- Get enhanced features, cloud capabilities, MacOS 26 compatibility, and up to 7x faster performance than LS 200.
- Connect the LinkStation to your router and enjoy shared network storage for all your devices. The NAS is compatible with Windows and MacOS 26, and Buffalo's US-based support is on-hand 24/7 for installation walkthroughs.
- Subscription-Free Personal Cloud – Store, back up, and manage all your videos, music, and photos and access them anytime without paying any monthly fees.
- Storage Purpose-Built for Data Security – A NAS designed to keep your data safe, the LS700 features a closed system to reduce vulnerabilities from 3rd party apps and SSL encryption for secure file transfers.
- Back Up Multiple Computers & Devices – NAS Navigator management utility and PC backup software included. You can set up automated backups of data on your computers.
The newer reader avoided work on data a query did not need
In March 2015, Facebook described a Presto-specific reader for ORC and DWRF. The available Hive readers and Facebook’s DWRF reader did not, in combination, offer the three capabilities and type support the team wanted. The new reader addressed that gap in three ways:
- Columnar reads: It fed columns directly to Presto, rather than reading rows and reorganizing them into columns.
- Predicate pushdown: It used recorded minimum and maximum values at file, stripe, and finer granularities to skip segments that could not meet a filter.
- Lazy reads: It examined filter columns first, then read other columns only for segments with matching rows.
Predicate pushdown is most useful when stored minimum and maximum values can rule out a segment. It may be less effective for exact-match filters on high-cardinality identifiers: a segment’s range can include the requested identifier even when the identifier is absent. Lazy reads can still help in that case by postponing other-column reads until the filter has identified matching data.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Best Value
- High-Performance NAS with Powerful Procesor: DXP4800 Plus is ideal for small offices, & More. You can enjoy smooth performance and seamless collaboration, while making use of advanced features like Docker and virtual machines. It works semalessly across every device inluding Windows, macOS, Linux, iOS, Android or Google services and so on.
- Better Way to Store Than External Drives: NAS offers centralized storage, automatic backups, remote access, and a wide range of RAID options for easy data recovery even if a drive fails. Massive Storage Capacity: Never worry about storage limits again. With up 144TB capacity, you can store 50 million 1MB photos or 98K 1.5GB movies,5 million 30MB songs! *Hard Drives not included.
- Super-Fast Transfers: Back up 1GB in less than a second using either the 10GbE network port or the 10Gbps USB ports.
- Secure Private Cloud: Retain 100% data ownership with advanced encryption to protect your files. Flexible permission management makes it easy to protect your privacy when collaborating with others.
- AI-Powered Photo Album: Automatically organizes your photos by recognizing faces, scenes, objects, and locations. It can also instantly remove duplicates, freeing up storage space and saving you time.
What Facebook’s speed figures do—and do not—show
Facebook’s 2015 post reported 2–4× wall-time and CPU-time speedups for its new Presto ORC reader against an older Hive-based ORC reader and an RCFile-binary reader on terabyte-scale, ZLIB-compressed tables. It also reported 4× or greater gains with lazy reads and 30× or greater with predicate pushdown on tested workloads. The post cautioned that its carefully crafted queries stressed the reader; bandwidth-bound or computation-heavy queries could see little or no improvement.
| Reported result | What Facebook compared or measured | Important boundary |
|---|---|---|
| 10× better CPU efficiency and latency for most queries | Presto versus Hive/MapReduce, as Facebook characterized results in 2013. | Company-reported result for most Facebook queries, not all queries or an independent benchmark. |
| 5× average compression, later 8× | RCFile versus Facebook ORCFile on Facebook’s representative warehouse data, reported in 2014. | Compression ratios describe that data sample and implementation. |
| 3× faster selective queries | Facebook ORCFile versus open-source ORCFile in Facebook’s 2014 tests. | Specific to the tested selective queries and files. |
| 2–4× wall-time and CPU-time speedup | New Presto ORC reader versus older Hive-based ORC and RCFile-binary readers on terabyte-scale ZLIB-compressed tables, reported in 2015. | Results vary with workload and measured metric. |
| 4×+ with lazy reads; 30×+ with predicate pushdown | Facebook’s 2015 reader workloads. | Carefully crafted queries stressed the reader; other bottlenecks could leave little or no gain. |
The 2015 account also described a benchmark using TPC-H-generated data, a 14-machine test cluster, Presto 0.89, and Impala 2.0.1. Results varied with column type, compression, and number of columns; CPU-time and wall-time comparisons could differ when a system did not use all test-machine CPUs. A multiplier without those conditions is not a sound basis for predicting how another engine or workload will perform.
When these techniques are likely to matter
The engineering lesson is a stack, not a single speed switch. Pipelining targets delay between query stages; columnar formats and selective decoding target unnecessary data work; predicate pushdown targets segments that file statistics can rule out. Which one matters most depends on where a query spends its time and how its filters match the stored data.
- If a query waits on sequential stages and intermediate writes, concurrent pipelining can reduce stage-boundary delays.
- If it reads many columns but uses few, columnar storage and lazy decoding can avoid processing irrelevant values.
- If file statistics exclude large portions of data, predicate pushdown can skip those segments; if statistics are too broad, lazy reads may still defer work on nonmatching data.
- If a query is limited by bandwidth or heavy computation rather than reader overhead, the 2015 post warns that these reader optimizations may have little effect.
The accounts were published by Facebook in 2013, 2014, and 2015, and their performance figures describe Facebook’s systems and test setups at those times. They explain how the company pursued lower latency and less wasted work; they do not establish a current, transferable speed ratio for a different warehouse.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

