---
title: "Loading remote SQLite databases from web pages"
publication: "DB Weekly"
issue: 353
published_at: "2021-05-07"
canonical_url: "https://dbweekly.com/issues/353"
---

Plus what is a 'lakehouse', Timescale's $40m raise, and a search engine for datasets. |        

#​353 — May 7, 2021 

[Read on the Web](https://dbweekly.com/issues/353)   

Database Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/iruhe4vkzcujsonkceon.jpg)](https://www.elastic.co/blog/querying-a-petabyte-of-cloud-storage-in-10-minutes)  

[Querying a Petabyte of Cloud Storage in 10 Minutes](https://www.elastic.co/blog/querying-a-petabyte-of-cloud-storage-in-10-minutes) — Elastic’s move into supporting numerous ‘data tiers’ continues to interest me. The idea is you have different levels of responsiveness (e.g. cache vs disk vs ‘cold’ storage) and while Elastic’s ‘frozen’ data tier doesn’t promise rapid response times, it opens up the opportunity to query _huge_ datasets. This post explains what the frozen data tier is and benchmarks how it performs. 

Yannick Welsch (Elastic)   

⏱ [You Might As Well Timestamp It](https://changelog.com/posts/you-might-as-well-timestamp-it) — This is entirely one developer’s opinion, but I’ve gotta say, I’m (mostly) convinced. Jerod argues that rather than storing booleans, why not store timestamps? Rather than knowing merely if a user is active or not, isn’t it better to know when they _became_ active? 

Jerod Santo   [![\](https://copm.s3.amazonaws.com/b92122b5.jpg)](https://developer.couchbase.com/?utm_source=Cooperpress_DB_Weekly&utm_medium=newsletter&utm_campaign=q2_dev_awareness) 

[Document Database. SQL Queries. In-Memory Speed](https://developer.couchbase.com/?utm_source=Cooperpress_DB_Weekly&utm_medium=newsletter&utm_campaign=q2_dev_awareness) — The No. 1 reason developers choose Couchbase? You can use your existing SQL skills to easily query and access JSON. That’s more power and flexibility with less training. [Learn more](https://developer.couchbase.com/?utm_source=Cooperpress_DB_Weekly&utm_medium=newsletter&utm_campaign=q2_dev_awareness). 

Couchbase sponsor   

[Timescale Raises $40M Series B Investment](https://blog.timescale.com/blog/40-million-to-help-developers-measure-everything-that-matters/?utm_source=timescaledb&utm_medium=social&utm_campaign=abl-launch-2021&utm_content=abl-announcement-blog) — First appearing on our radar just two years ago, Timescale, a company behind a Postgres-based time-series data storage system, has grown rapidly. This post outlines their mission and intentions (‘10+ launches’ throughout this month, apparently). 

Ajay Kulkarni (Timescale)   

[Hosting SQLite Databases on GitHub Pages (or Any Static File Host)](https://phiresky.github.io/blog/2021/hosting-sqlite-databases-on-github-pages/) — A clever bit of hacking around here. [sql.js](https://github.com/sql-js/sql.js/) provides an SQLite client in the browser but the author created a virtual file system to fetch chunks of remotely hosted SQLite databases over HTTP. Some interesting potential here, I think. 

Phiresky   

[Google Dataset Search: A Search Engine for Datasets](https://datasetsearch.research.google.com/) — A handy way to dig around for just the right data you need or, perhaps, to find a dataset upon which to test your data processing skills (of course, not every dataset is open licensed, so check that if relevant). 

Google   

[How the New York Times Manages Readers’ Data Privacy](https://open.nytimes.com/how-we-manage-new-york-times-readers-data-privacy-d39627d79a64) — At the scale the New York Times operates, big problems often require big solutions (their paywall system allegedly [cost $40 million](https://philip.greenspun.com/blog/2011/03/28/how-did-the-new-york-times-manage-to-spend-40-million-on-its-pay-wall/) on its own) and so they built a system to allow a single team to implement data privacy changes across a suite of 70 products. 

Kelsey Johnson (NY Times)   

[📺 Livestream: CAP Theorem and Distributed Systems - Availability](https://www.cockroachlabs.com/webinars/the-cockroach-hour-cap-theorem-series-availability/?utm_campaign=cooperpress-2021-Q2-&utm_source=dbweekly&utm_medium=sponsor&utm_content=dbweekly-primary-0507) — How does CAP Theorem affect database implementations? Join us on 5/12 for this session on:**_Availability_**. 

Cockroach Labs sponsor   

[DynamoDB vs. MongoDB: A Comparison and How to Choose](https://www.lastweekinaws.com/blog/dynamodb-vs-mongodb-a-comparison/) — A real world comparison of two wildly successful modern replacements for traditional database systems, DynamoDB vs. MongoDB. 

Brian Scanlan   

[How Airbnb Achieved Metric Consistency at Scale](https://medium.com/airbnb-engineering/how-airbnb-achieved-metric-consistency-at-scale-f23cc53dea70) — An introduction to Minerva, Airbnb’s metrics platform, which they use to model and transform data into accurate, analysis-ready datasets. Here’s the story of how it was built and what they get out of it. 

Robert Chang, Amit Pahwa, Shao Xie   

## In Brief 

- Lakes, pools, warehouses, and now 'lakehouses'.. I can't blame you if you're confused by all of these terms. Two Databricks engineers chat about [the rise of the 'lakehouse'](https://databricks.com/blog/2021/05/06/rise-of-the-lakehouse.html), what went wrong with data lakes, and why the term 'lakehouse' exists at all.
- Timescale unveils how [they made `DISTINCT` queries up to 8000x faster](https://blog.timescale.com/blog/how-we-made-distinct-queries-up-to-8000x-faster-on-postgresql/) in Postgres. If their funding round (above) helps fund more work like this, good luck to them.
- Not familiar with using SQLite from Python? Here's [the 'Hitchhiker's guide'](https://arctype.com/blog/hitchhikers-guide-sqlite-python/) to doing just that.
- A Shopify engineer demonstrates how to [throttle MySQL database load with Vitess](https://kirshatrov.com/2021/05/02/vitess-throttling/), a popular MySQL clustering system.
- Some [best practices for upgrading Amazon RDS from Oracle 18c to 19c.](https://aws.amazon.com/blogs/database/best-practices-for-upgrading-amazon-rds-for-oracle-db-instances-from-18c-to-19c/)
- [Baserunner](https://iosiro.com/blog/baserunner-exploiting-firebase-datastores) is an open-source tool for querying the datastore of a Firebase application from an end-user's perspective to help identify security issues.
- After 50 years of ETL, [can SQL for ETL ever be replaced?](https://www.datanami.com/2021/05/06/50-years-of-etl-can-sql-for-etl-be-replaced/)     

Jobs  

[Find Data Engineering Jobs with Hired](https://hired.com/join/?utm_source=newsletter&utm_medium=sponsor&utm_campaign=%28b2c%29%28l-all%29%28r-all%29%28cooper-dbweekly%29&utm_content=5-minutes) — Take 5 minutes to build your free profile & start getting interviews for your next job. Companies on Hired are actively hiring right now. 
Hired            

A **[Cooperpress](https://cooperpress.com/)** publication. 

[Change your email address](https://dbweekly.com/edit_subscription/*|UID|*) or[Stop getting this newsletter](https://dbweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
