All Products
Search
Document Center

PolarDB:ST_LoadWorkspace

Last Updated:Mar 28, 2026

Loads a map matching workspace and builds an in-memory topological network from data in a relational table.

Syntax

boolean ST_LoadWorkspace(text wsname);

Parameters

ParameterDescription
wsnameThe name of the workspace. Must be unique.

Return values

Return valueDescription
tThe workspace loaded successfully.
fThe workspace failed to load.

Description

When the database process exits, the in-memory topological network data in the workspace is released. To perform map matching, reload the workspace data using the SQL statement that specifies the workspace name.

Examples

SELECT ST_LoadWorkspace('mm_ws_test');