GRAPH.CONFIG-GET
Retrieves the current value of a FalkorDB configuration parameter.
FalkorDB configuration parameters are detailed here.
* can be used to retrieve the value of all FalkorDB configuration parameters.
from falkordb import FalkorDB
client = FalkorDB()
config = client.config_get('*')
print(config)
import { FalkorDB } from 'falkordb';
const client = await FalkorDB.connect();
const config = await client.configGet('*');
console.log(config);
use falkordb::{FalkorClientBuilder, FalkorConnectionInfo};
let connection_info: FalkorConnectionInfo = "falkor://127.0.0.1:6379"
.try_into().expect("Invalid connection info");
let client = FalkorClientBuilder::new()
.with_connection_info(connection_info)
.build().expect("Failed to build client");
let config = client.config_get("*")?;
println!("{:?}", config);
import com.falkordb.*;
Driver driver = FalkorDB.driver("localhost", 6379);
String config = driver.configGet("*");
System.out.println(config);
graph.config get *
# Output:
# 1) 1) "TIMEOUT"
# 2) (integer) 0
# ...
timeout = client.config_get('TIMEOUT_DEFAULT')
print(timeout)
const timeout = await client.configGet('TIMEOUT_DEFAULT');
console.log(timeout);
let timeout = client.config_get("TIMEOUT_DEFAULT")?;
println!("{:?}", timeout);
String timeout = driver.configGet("TIMEOUT_DEFAULT");
System.out.println(timeout);
graph.config get TIMEOUT_DEFAULT
# Output:
# 1) "TIMEOUT_DEFAULT"
# 2) (integer) 0
Frequently Asked Questions 4
How do I retrieve all configuration parameters at once?
Use the wildcard * as the parameter name: GRAPH.CONFIG GET *. This returns all current FalkorDB configuration parameters and their values.
What configuration parameters are available?
Common parameters include TIMEOUT (query timeout), CACHE_SIZE (execution plan cache size), THREAD_COUNT (worker threads), RESULTSET_SIZE (max result rows), and more. See the configuration page for the full list.
Does GRAPH.CONFIG GET require any special permissions?
Yes. The GRAPH.CONFIG GET command typically requires administrative privileges to execute.
What format does the response use?
The response is a nested array containing the parameter name and its current value. For example: 1) 'TIMEOUT_DEFAULT' 2) (integer) 0.