You need to enable JavaScript to run this app.
最新活动
大模型
产品
解决方案
定价
生态与合作
支持与服务
开发者
了解我们

如何通过SQL查询运行中QuestDB实例的配置属性?

Great question! You’re right that QuestDB has handy meta-functions for inspecting tables and columns, and it also lets you query runtime configuration properties directly via SQL. Here’s how to do it:

Querying Runtime Config with System Tables

QuestDB includes a built-in system.configuration table that holds all active configuration values for your running instance—this covers both default settings and any custom overrides you’ve set (via config files, command-line args, or even runtime changes where supported).

To pull up every configuration property along with its value and where it came from, run this query:

SELECT name, value, source FROM system.configuration;
  • name: The config key (like http.port or pg.max_connections)
  • value: The currently active value of the setting
  • source: Tells you if the value is a default, loaded from a config file, set via command line, etc.

Filter for Specific Settings

If you only care about a particular property, narrow things down with a WHERE clause:

SELECT value FROM system.configuration WHERE name = 'query.max.concurrent';

Quick Notes

  • Some configs are read-only once QuestDB is running (they can only be set on startup), but you can still view their current values here.
  • No extra setup is needed to access this table—it’s always available as long as you can connect to your QuestDB instance via SQL.

内容的提问来源于stack exchange,提问作者marregui

火山引擎 最新活动