All Products
Search
Document Center

PolarDB:ST_ClearWorkspace

Last Updated:Mar 28, 2026

Releases the in-memory topological network data of a map matching workspace.

Syntax

boolean ST_ClearWorkspace(text wsname);

Parameters

ParameterDescription
wsnameThe name of the workspace. The name must be unique.

Return values

Return valueDescription
tThe workspace was released successfully.
fThe workspace failed to release.

Description

ST_ClearWorkspace releases only the in-memory topological network data. The workspace entry remains in the mapmatching_workspace table and can be reloaded at any time by calling ST_LoadWorkspace.

Examples

SELECT ST_ClearWorkspace('mm_ws_test');