Which cache needs more space first?

Why ask this?

A storage administrator comparing each cache has an hourly usage estimate. Divide available space by that rate to get hours remaining, then divide by 24 to estimate days if the rate holds.

Start with the sample data

Open source.csv. In the first row of source.csv, Cache = A, Usage = 0, Quota = 12, Hourly growth = 2.

What to say

Using the current hourly growth rate, which cache runs out of storage first? Show days remaining.

Recorded with the Karen synthetic voice.

Processing time

Recorded audio to table ready
4.07 s
Transcript to table ready
0.52 ms

One local replay from recorded audio through transcription and native table data preparation. Recording time and screen painting are excluded.

See the transcript in the composerRecorded transcript entered in the native composer

How the canvas produces the result

  1. CSV Input · Read the sample records

    source.csv supplies 2 rows. These records are the inputs to the next step.

  2. Column Filter · Keep matching rows

    Choose Cache as the column and set Mode to keep. Enable regular expressions and enter \S as the pattern. Leave case-sensitive matching off. 2 rows continue to the next step.

  3. Column Filter · Keep matching rows

    Choose Usage as the column and set Mode to keep. Enable regular expressions and enter ^[0-9]+(\.[0-9]+)?$ as the pattern. Leave case-sensitive matching off. 2 rows continue to the next step.

  4. Column Filter · Keep matching rows

    Choose Quota as the column and set Mode to keep. Enable regular expressions and enter ^[0-9]+(\.[0-9]+)?$ as the pattern. Leave case-sensitive matching off. 2 rows continue to the next step.

  5. Column Filter · Keep matching rows

    Choose Hourly growth as the column and set Mode to keep. Enable regular expressions and enter ^[0-9]+(\.[0-9]+)?$ as the pattern. Leave case-sensitive matching off. 2 rows continue to the next step.

  6. Measure Filter · Keep the requested rows

    The filter uses Hourly growth > 0 in keep mode. 2 rows remain including A.

  7. Math · Calculate Space left

    Apply [Quota] - ([Usage]) to each input row. Under Decimal places, choose Keep calculated precision so the next step receives the full calculated value. The first row yields 12.

  8. Measure Filter · Keep the requested rows

    The filter uses Space left > 0 in keep mode. 2 rows remain including A.

  9. Math · Calculate Days remaining

    Apply [Space left] / [Hourly growth] / 24 to each input row. Under Decimal places, choose Keep calculated precision so the next step receives the full calculated value. The first row yields 0.25.

  10. Measure Filter · Keep the requested rows

    The filter uses Days remaining > 0 in keep mode. 2 rows remain including A.

  11. Sort · Order the results

    Sort by Days remaining (numeric ascending). The first rows in order are B → A.

  12. Limit rows · Keep the first row

    Set Rows to 1. Leave off “Take from the end.” Leave “Skip blanks in” empty. The retained result begins with Cache = B, Usage = 2.

  13. Joiner · Keep every resource tied for first place

    Connect the full candidate table to the first input and the earliest row to the second. Choose Inner join and match Days remaining on both sides before rounding. The first matched row contains Cache = B, Usage = 2, Quota = 8, Hourly growth = 2, Space left = 6, Days remaining = 0.125.

  14. Math · Calculate Days remaining

    Apply [Space left] / [Hourly growth] / 24 to each input row. Set Decimal places to 6 to round the result. The first row yields 0.125.

  15. Wild Headers · Keep only the columns you asked for

    Use keep mode with the regular expression ^(Cache|Days remaining)$. The output contains Cache, Days remaining. Turn on case-sensitive matching.

Native n0is canvas for Which cache needs more space first?

The result table

Workflow result in n0is
CacheDays remaining
B0.125

How to use the result

For Cache B, the sample reports Days remaining of 0.125.

Synthetic test audio. Screenshots from the recorded workflow in n0is.