Use NDB API to Check for an Empty Table (Doc ID 2090553.1)

Last updated on MAY 17, 2016

Applies to:

MySQL Cluster - Version 7.4 and later
Information in this document applies to any platform.

Goal

To be able to use NDB API to check if a table is empty or not.

This should be less resource (CPU) consuming , especially if this check needs to be done very frequently as in a polling kind of use case.

 



Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms