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. The name must be unique.

Return values

ValueDescription
tThe workspace was loaded successfully.
fThe workspace failed to load.

Description

The in-memory topological network is released when the database process exits. To resume map matching after the database process exits, call ST_LoadWorkspace again with the target workspace name.

Examples

SELECT ST_LoadWorkspace('mm_ws_test');