Database / DuckDB Interview questions
What is DuckDB?
DuckDB is an in-process, open-source SQL database management system built specifically for analytical (OLAP) workloads. It runs directly inside a host application, a Python script, an R session, a command-line process, rather than as a separate server a client connects to over a network, similar in deployment model to SQLite but purpose-built for analytical queries instead of transactional ones.
It was created by Mark Raasveldt and Hannes Muhleisen at CWI (the Dutch national research institute for mathematics and computer science) and first released in 2019. DuckDB is written in C++ with no external dependencies, ships as a single library or binary, and is released under the permissive MIT license.
DuckDB can query data directly in formats like Parquet, CSV, and JSON without a separate import step, integrates with zero-copy data exchange with tools like Pandas and Apache Arrow, and supports full ACID transactions, making it a practical choice for fast, local analytical work on anything from megabytes to hundreds of gigabytes of data.
More Related questions...