NPROC

Purpose

This function returns the number of database nodes in the cluster.

Syntax

nproc::=

Usage Notes

  • Only active database nodes are counted. No reserve nodes are counted.
  • In addition to this function, also refer to functions IPROC and VALUE2PROC.

Example

SELECT NPROC() NPROC;