Provides a data type for multi-dimensional cubes.
cube
extension already enabled, so there’s no need to run create extension
.
cube
extension, you can perform various operations on multi-dimensional data:
(0,0,0)
to (5,5,5)
.
cube
type supports up to 100 dimensions by default.+
, -
, or *
directly; you must use provided cube functions.cube
extension in PostgreSQL enables efficient storage and querying of multi-dimensional data. It is particularly useful for geometric and scientific applications where vector operations and spatial indexing are needed.
For more details, refer to the PostgreSQL documentation.