Returns a number that rises with every run, tracked per prefix and starting from a seed: counter(prefix, seed) in Pipelines, often used for patch versions.
Also called counter.
Read more: Microsoft Learn
In the Ultra Transcenders books
Each book explains Counter expression in context, with comparison tables and the common traps.
Terms in this definition
- RETURNS
States what a function gives back, as a type or a table, inside
CREATE FUNCTION. SQL functions can leave it out and have the type worked out from their body.
Related terms
- Account lockout policy
Locks accounts after a set number of failed sign-ins, using domain settings for threshold, duration and counter reset. Thresholds run from 0 to 999, and 0 disables lockout.
- %ACTV
Memory counter in esxtop for how much guest physical memory is being referenced right now, as a percentage. For moving averages, see %ACTVS and %ACTVF.
- API Management llm-token-limit policy
Inbound AI gateway policy that caps token usage per counter key. Exceeding tokens-per-minute produces 429, an exhausted token quota produces 403, and estimate-prompt-tokens lets it reject before calling the backend.
- DAVG
An esxtop counter giving the average time in milliseconds the storage device takes per command. It is read against KAVG, the VMkernel's share of latency, and GAVG, the latency the guest experiences.
- DQLEN
An esxtop counter for a storage device showing its current queue depth. Looking at it together with ACTV and QUED helps reveal queuing.
- kernelLatency
A vSphere counter measuring how long, on average, the VMkernel takes over each SCSI command. Healthy values are 0-1 ms; above 4 ms the VMs are issuing more I/O than the setup can cope with. Adding it to deviceLatency gives total latency.
- %MLMTD
An esxtop counter for CPU time a VM or world lost on purpose: the VMkernel held it back because running it would have exceeded a limit setting. This time also counts towards %RDY.
- queueLatency
A vSphere disk counter measuring how long I/O sits in the host's queue. Anything over zero shows the workload is more than the storage configuration can handle, whereas a high deviceLatency suggests the array is the problem.