SereneDB Environment
SereneDB provides a number of functions and PRAGMA options to retrieve information on the running SereneDB instance and its environment.
Version
The version() function returns the version number of SereneDB.
Using a PRAGMA:
Platform
The platform information consists of the operating system, system architecture, and, optionally, the compiler.
To retrieve the platform, use the following PRAGMA:
The platform string combines the operating system and architecture — for example osx_arm64 on macOS with Apple Silicon, windows_amd64 on Windows on AMD64, or linux_arm64 on Ubuntu Linux on ARM64.
Meta Table Functions
SereneDB has the following built-in table functions to obtain metadata about available catalog objects:
duckdb_columns(): columnsduckdb_constraints(): constraintsduckdb_databases(): lists the databases that are accessible from within the current SereneDB processduckdb_dependencies(): dependencies between objectsduckdb_extensions(): extensionsduckdb_functions(): functionsduckdb_indexes(): secondary indexesduckdb_keywords(): SereneDB's keywords and reserved wordsduckdb_optimizers(): the available optimization rules in the SereneDB instanceduckdb_schemas(): schemasduckdb_sequences(): sequencesduckdb_settings(): settingsduckdb_tables(): base tablesduckdb_temporary_files(): the temporary files SereneDB has written to disk, to offload data from memoryduckdb_types(): data typesduckdb_views(): views