在clickbench上看到firebolt数据库的跑分挺高的。到它的github存储库 https://github.com/firebolt-db/firebolt-core 试用。简介如下Firebolt Core 是 Firebolt 高性能分布式查询引擎的免费、自托管版本旨在为当今要求最苛刻的应用程序背后的数据基础设施提供动力。在任何地方部署从单台笔记本电脑到您自己的数据中心主要特性强大。Firebolt Core 配备了 Firebolt 托管云数据仓库的所有关键性能和可用性特性包括最先进的查询优化器、分布式查询执行引擎、Iceberg 支持等等。免费使用。Firebolt Core 可免费永久使用详情请参阅 LICENSE。无使用限制。Firebolt Core 没有使用限制。处理无限数据根据需要扩展到任意数量的节点并运行任意数量的查询。️兼容 Postgres。Firebolt 的 SQL 方言兼容 Postgres。我们为分析工作负载提供了强大的扩展例如用于数组处理的 lambda 函数。完整参考请参阅 SQL 参考文档。️自包含。Firebolt Core 打包为单个 Docker 镜像 (ghcr.io/firebolt-db/firebolt-core:preview-rc)其中包含运行它所需的一切。自托管。您可以将 Firebolt Core 部署到任何地方从您的个人工作站到大型本地集群或 VPC。一流的支持包括文档、更新以及通过 GitHub Discussions 提供的活跃社区支持。我们鼓励您加入对话为 AI 准备的架构针对现代数据和机器学习应用进行了优化。专为要求苛刻的应用设计。为实时分析、嵌入式分析和大规模数据处理工作负载提供动力。工作负载兼容性。许多工作负载可与托管版 Firebolt 互换运行。页面提供了两种安装方式第一种bash (curl -s https://get-core.firebolt.io/)查看脚本得知其中调用了docker, 那么就采用第二种docker安装。Microsoft Windows [版本 10.0.26200.8037] (c) Microsoft Corporation。保留所有权利。 C:\Users\ltwsl rootDESKTOP-59T6U68:/mnt/c/Users/lt# docker pull ghcr.io/firebolt-db/firebolt-core:preview-rc Trying to pull ghcr.io/firebolt-db/firebolt-core:preview-rc... Getting image source signatures Copying blob 9b4220b2fb60 done Copying blob 721befee6b5a done Copying blob c13fbaf30317 done Copying blob a47e9ef9ca4d done Copying blob 4234f05e1c4e done Copying blob 5d4028d8b4fc done Copying blob 99f8b25ed450 done Copying blob 90dc5bab6875 done Copying blob 092d9c161819 done Copying blob e9674cc5dbb5 done Copying blob 423ccf643ad1 done Copying blob 38bfc8d215bc done Copying blob c027e89110b5 done Copying config 7d3b91626f done Writing manifest to image destination Storing signatures 7d3b91626fd6f8077e8fc48e8fcc7c3e6126ad2181399fa1ad39ecd8fb196f00 rootDESKTOP-59T6U68:/mnt/c/Users/lt# cd /mnt/c/d rootDESKTOP-59T6U68:/mnt/c/d# docker run -itd --name fb --ulimit memlock8589934592:8589934592 --security-opt seccompunconfined -p 127.0.0.1:3473:3473 -v ./firebolt-core-data:/firebolt-core/volume ghcr.io/firebolt-db/firebolt-core:preview-rc Error: statfs /mnt/c/d/firebolt-core-data: no such file or directory rootDESKTOP-59T6U68:/mnt/c/d# mkdir firebolt-core-data rootDESKTOP-59T6U68:/mnt/c/d# docker run -itd --name fb --ulimit memlock8589934592:8589934592 --security-opt seccompunconfined -p 127.0.0.1:3473:3473 -v ./firebolt-core-data:/firebolt-core/volume ghcr.io/firebolt-db/firebolt-core:preview-rc b7ac2db594a3b9ebc6802e9480c3b39f53c0237f56b35618e4774b7072b7ed30 rootDESKTOP-59T6U68:/mnt/c/d# docker exec -it fb bash firebolt-coreb7ac2db594a3:/firebolt-core$ fb --core SELECT 42; { errors: [ { description: An unexpected error has occurred during the server startup and initialization process. Firebolt Core is unable to accept queries. Details:\nDB::Exception: Firebolt Core is unable to start since its minimum system requirements are not met. The following problems were detected:\n - Firebolt Core requires a more recent Linux kernel (version 6.1.0) to run. Your version is 5.15.167. } ] Time: 14.6ms Error: Query failed }firebolt-coreb7ac2db594a3:/firebolt-core$ exit rootDESKTOP-59T6U68:/mnt/c/d# logout执行出错说linux内核版本太低需要6.1.0以上我的是5.15.167。首先想到另外下载一个linux发行版下载的Debian最新版结果内核版本没有变。其他版本估计也都一样。C:\Users\ltwsl --list 适用于 Linux 的 Windows 子系统分发: Ubuntu-22.04 (默认) C:\Users\ltwsl --install -d Debian 正在下载: Debian GNU/Linux 正在安装: Debian GNU/Linux 已成功安装分发。它可通过 “wsl.exe -d Debian” 启动 C:\Users\ltwsl --list 适用于 Linux 的 Windows 子系统分发: Ubuntu-22.04 (默认) Debian C:\Users\ltwsl.exe -d Debian Please create a default UNIX user account. The username does not need to match your Windows username. For more information visit: https://aka.ms/wslusers Enter new UNIX username: user New password: Retype new password: passwd: password updated successfully usermod: no changes userDESKTOP-59T6U68:/mnt/c/Users/lt$ uname -a Linux DESKTOP-59T6U68 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 GNU/Linux userDESKTOP-59T6U68:/mnt/c/Users/lt$ cat /etc/issue Debian GNU/Linux 13 \n \l userDESKTOP-59T6U68:/mnt/c/Users/lt$ PS C:\Users\lt wsl --list --online 以下是可安装的有效分发的列表。 使用 wsl.exe --install Distro 安装。 NAME FRIENDLY NAME AlmaLinux-8 AlmaLinux OS 8 AlmaLinux-9 AlmaLinux OS 9 AlmaLinux-Kitten-10 AlmaLinux OS Kitten 10 AlmaLinux-10 AlmaLinux OS 10 Debian Debian GNU/Linux FedoraLinux-44 Fedora Linux 44 FedoraLinux-43 Fedora Linux 43 SUSE-Linux-Enterprise-15-SP7 SUSE Linux Enterprise 15 SP7 SUSE-Linux-Enterprise-16.0 SUSE Linux Enterprise 16.0 Ubuntu Ubuntu Ubuntu-24.04 Ubuntu 24.04 LTS Ubuntu-22.04 Ubuntu 22.04 LTS Ubuntu-20.04 Ubuntu 20.04 LTS archlinux Arch Linux eLxr eLxr 12.12.0.0 GNU/Linux kali-linux Kali Linux Rolling openSUSE-Tumbleweed openSUSE Tumbleweed openSUSE-Leap-16.0 openSUSE Leap 16.0 OracleLinux_7_9 Oracle Linux 7.9 OracleLinux_8_10 Oracle Linux 8.10 OracleLinux_9_5 Oracle Linux 9.5 openSUSE-Leap-15.6 openSUSE Leap 15.6 SUSE-Linux-Enterprise-15-SP6 SUSE Linux Enterprise 15 SP6 PS C:\Users\lt查阅了网上wsl更新内核的文档最简单的方法是用wsl --update命令。PS C:\Users\lt wsl --version WSL 版本 2.4.11.0 内核版本 5.15.167.4-1 WSLg 版本 1.0.65 MSRDC 版本 1.2.5716 Direct3D 版本 1.611.1-81528511 DXCore 版本 10.0.26100.1-240331-1435.ge-release Windows 版本 10.0.26200.8037 C:\Users\ltwsl --update 正在检查更新。 正在将适用于 Linux 的 Windows 子系统更新到版本 2.6.3。 C:\Users\ltwsl --version WSL 版本: 2.6.3.0 内核版本: 6.6.87.2-1 WSLg 版本: 1.0.71 MSRDC 版本: 1.2.6353 Direct3D 版本: 1.611.1-81528511 DXCore 版本: 10.0.26100.1-240331-1435.ge-release Windows: 10.0.26200.8037虽然比WSL内核网站https://github.com/microsoft/WSL2-Linux-Kernel/releases的最新版本6.18略低对firebolt足够了。C:\Users\ltwsl.exe -d Debian userDESKTOP-59T6U68:/mnt/c/Users/lt$ uname -a Linux DESKTOP-59T6U68 6.6.87.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun 5 18:30:46 UTC 2025 x86_64 GNU/Linux logout C:\Users\ltwsl rootDESKTOP-59T6U68:/mnt/c/Users/lt# uname -a Linux DESKTOP-59T6U68 6.6.87.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun 5 18:30:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux rootDESKTOP-59T6U68:/mnt/c/Users/lt# firebolt-coreb7ac2db594a3:/firebolt-core$ fb --core SELECT 42; URL: http://localhost:3473/?output_formatPSQL ?column? --------- 42 Time: 31ms Request Id: 7b691a8f-3a1c-430e-bb6a-16b3ea71623f firebolt-coreb7ac2db594a3:/firebolt-core$ fb --core No previous history Press CtrlD to exit. select * from generate_series(1,3); URL: http://localhost:3473/?output_formatPSQL ?column? --------- 1 2 3 Time: 26.3ms Request Id: 3e392128-cef7-4c8f-8db8-5cb8e1a380f3 select sum(i) from generate_series(1,10000000)t(i); URL: http://localhost:3473/?output_formatPSQL sum --------------- 50000005000000 Time: 32.1ms Request Id: f73fd7bc-e001-433e-8e4a-babcad5c6f96 select sum(i) from generate_series(1,10000000)t(i) group by round(log(i)); URL: http://localhost:3473/?output_formatPSQL sum --------------- 4949999577625 4950617 494990550 45000005506497 6 49499924625 490 49590 Time: 124.2ms Request Id: c1198735-56a5-4bad-b4a9-f866fde10222启动同样的容器这次就执行成功了10000000行数据的分组汇总在几十到100多毫秒确实挺快。