ClickHouse VS lnav

Compare ClickHouse vs lnav and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
ClickHouse lnav
208 75
34,153 6,686
2.3% -
10.0 9.5
about 16 hours ago 2 days ago
C++ C++
Apache License 2.0 BSD 2-clause "Simplified" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ClickHouse

Posts with mentions or reviews of ClickHouse. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-24.
  • We Built a 19 PiB Logging Platform with ClickHouse and Saved Millions
    1 project | news.ycombinator.com | 2 Apr 2024
    Yes, we are working on it! :) Taking some of the learnings from current experimental JSON Object datatype, we are now working on what will become the production-ready implementation. Details here: https://github.com/ClickHouse/ClickHouse/issues/54864

    Variant datatype is already available as experimental in 24.1, Dynamic datatype is WIP (PR almost ready), and JSON datatype is next up. Check out the latest comment on that issue with how the Dynamic datatype will work: https://github.com/ClickHouse/ClickHouse/issues/54864#issuec...

  • Build time is a collective responsibility
    2 projects | news.ycombinator.com | 24 Mar 2024
    In our repository, I've set up a few hard limits: each translation unit cannot spend more than a certain amount of memory for compilation and a certain amount of CPU time, and the compiled binary has to be not larger than a certain size.

    When these limits are reached, the CI stops working, and we have to remove the bloat: https://github.com/ClickHouse/ClickHouse/issues/61121

    Although these limits are too generous as of today: for example, the maximum CPU time to compile a translation unit is set to 1000 seconds, and the memory limit is 5 GB, which is ridiculously high.

  • Fair Benchmarking Considered Difficult (2018) [pdf]
    2 projects | news.ycombinator.com | 10 Mar 2024
    I have a project dedicated to this topic: https://github.com/ClickHouse/ClickBench

    It is important to explain the limitations of a benchmark, provide a methodology, and make it reproducible. It also has to be simple enough, otherwise it will not be realistic to include a large number of participants.

    I'm also collecting all database benchmarks I could find: https://github.com/ClickHouse/ClickHouse/issues/22398

  • How to choose the right type of database
    15 projects | dev.to | 28 Feb 2024
    ClickHouse: A fast open-source column-oriented database management system. ClickHouse is designed for real-time analytics on large datasets and excels in high-speed data insertion and querying, making it ideal for real-time monitoring and reporting.
  • Writing UDF for Clickhouse using Golang
    2 projects | dev.to | 27 Feb 2024
    Today we're going to create an UDF (User-defined Function) in Golang that can be run inside Clickhouse query, this function will parse uuid v1 and return timestamp of it since Clickhouse doesn't have this function for now. Inspired from the python version with TabSeparated delimiter (since it's easiest to parse), UDF in Clickhouse will read line by line (each row is each line, and each text separated with tab is each column/cell value):
  • The 2024 Web Hosting Report
    37 projects | dev.to | 20 Feb 2024
    For the third, examples here might be analytics plugins in specialized databases like Clickhouse, data-transformations in places like your ETL pipeline using Airflow or Fivetran, or special integrations in your authentication workflow with Auth0 hooks and rules.
  • Choosing Between a Streaming Database and a Stream Processing Framework in Python
    10 projects | dev.to | 10 Feb 2024
    Online analytical processing (OLAP) databases like Apache Druid, Apache Pinot, and ClickHouse shine in addressing user-initiated analytical queries. You might write a query to analyze historical data to find the most-clicked products over the past month efficiently using OLAP databases. When contrasting with streaming databases, they may not be optimized for incremental computation, leading to challenges in maintaining the freshness of results. The query in the streaming database focuses on recent data, making it suitable for continuous monitoring. Using streaming databases, you can run queries like finding the top 10 sold products where the “top 10 product list” might change in real-time.
  • Proton, a fast and lightweight alternative to Apache Flink
    7 projects | news.ycombinator.com | 30 Jan 2024
    Proton is a lightweight streaming processing "add-on" for ClickHouse, and we are making these delta parts as standalone as possible. Meanwhile contributing back to the ClickHouse community can also help a lot.

    Please check this PR from the proton team: https://github.com/ClickHouse/ClickHouse/pull/54870

  • 1 billion rows challenge in PostgreSQL and ClickHouse
    1 project | dev.to | 18 Jan 2024
    curl https://clickhouse.com/ | sh
  • We Executed a Critical Supply Chain Attack on PyTorch
    6 projects | news.ycombinator.com | 14 Jan 2024
    But I continue to find garbage in some of our CI scripts.

    Here is an example: https://github.com/ClickHouse/ClickHouse/pull/58794/files

    The right way is to:

    - always pin versions of all packages;

lnav

Posts with mentions or reviews of lnav. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-26.
  • FLaNK Stack 26 February 2024
    50 projects | dev.to | 26 Feb 2024
  • LNAV – The Logfile Navigator
    1 project | news.ycombinator.com | 25 Feb 2024
    1 project | news.ycombinator.com | 24 Feb 2024
  • Toolong: Terminal application to view, tail, merge, and search log files
    6 projects | news.ycombinator.com | 9 Feb 2024
    The code base seems like a good reference as a small Python project.

    My fav option in this class of apps: https://lnav.org/ It lets you use journalctl with pipes as requested here: https://github.com/Textualize/toolong/issues/4

  • Logdy.dev – web based logs viewer UI for local development environment
    5 projects | news.ycombinator.com | 6 Feb 2024
    For local development, I cannot recommend lnav[1] enough. Discovering this tool was a game changer in my day to day life. Adding comments, filtering in/out, prettify and analyse distribution is hard to live without now.

    I don't think a browser tool would fit in my workflow. I need to pipe the output to the tool.

    [1] https://lnav.org/

  • Textanalysistool.net
    3 projects | news.ycombinator.com | 21 Jan 2024
  • Ask HN: What apps have you created for your own use?
    212 projects | news.ycombinator.com | 12 Dec 2023
  • Ask HN: How does `lnav` run its playground which you can just SSH into?
    3 projects | news.ycombinator.com | 1 Nov 2023
    It looks like they run an SSH server inside a Docker container defined by this Dockerfile [1]. This uses the ForceCommand directive in the sshd_config file to ensure that a specific command is run when a user connects (rather than the user connecting directly to a shell).

    Depending on whether the user connects as the `playground` or `tutorial1` user they interact with a bash script that is either [2] or [3].

    [1]: https://github.com/tstack/lnav/blob/master/demo/Dockerfile

    [2]: https://github.com/tstack/lnav/blob/master/docs/tutorials/pl...

    [3]: https://github.com/tstack/lnav/blob/master/docs/tutorials/tu...

  • Show HN: Tailspin – A Log File Highlighter
    5 projects | news.ycombinator.com | 1 Nov 2023
    This is really pretty - I do really wish for a good rust replacement for lnav[1] someday.

    1: https://lnav.org/

  • Structured Logging with Slog
    11 projects | news.ycombinator.com | 22 Aug 2023
    > I also don't see something else I might want: a way to have a different "view" for certain log messages; maybe to switch between filtering/viewing particular ones, maybe to just have line-format be conditional based on the detected format.

    Have a look at the following comment on an issue that might be similar to what you're thinking of:

    https://github.com/tstack/lnav/issues/1065#issuecomment-1602...

    > I guess I can sort of do this based on `module-field`? but I might want it lighter-weight/finer-grained than that.

    Unfortunately, the "module-field" does not work for JSON logs at the moment. It's something I should really fix.

    Ultimately, lnav has existed for almost two decades now and I use it every day. So, it's always seeing improvements. If you're having a problem with it, file an issue on github. I don't always get around quickly to fixing other folks feature requests / issues, but it tends to happen eventually.

    Thanks.

What are some alternatives?

When comparing ClickHouse and lnav you can also consider the following projects:

loki - Like Prometheus, but for logs.

lightproxy - 💎 Cross platform Web debugging proxy

duckdb - DuckDB is an in-process SQL OLAP Database Management System

dive - A tool for exploring each layer in a docker image

Trino - Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)

glow - Render markdown on the CLI, with pizzazz! 💅🏻

VictoriaMetrics - VictoriaMetrics: fast, cost-effective monitoring solution and time series database

GoAccess - GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.

TimescaleDB - An open-source time-series SQL database optimized for fast ingest and complex queries. Packaged as a PostgreSQL extension.

conio-for-linux - Conio.h for linux

datafusion - Apache DataFusion SQL Query Engine

nnn - n³ The unorthodox terminal file manager