Oracle Stream Sizing
Scenario
Capturing and manipulating data does itself require disk storage. Sometimes it is useful to know how much space the system is using and how fast that usage is growing.
Where PhixFlow is running on top of an Oracle installation, there is no simple way to determine the amount of space used. The PhixFlow Model to analyse the current PhixFlow instance, must count or estimate field size and table size, table by table, field by field.
Solution:
- Create Streams to extract data from the internal PhixFlow tables.
- For each table that is part of a PhixFlow model, query the meta data table for its field types, and data size / disk requirements.
- In the case of varchar fields, take a statistically significent ramdom sample of actual data record fields to determine the average length of varchars stored.
- As an additional exercise, determine the number of records, the number of streams and the archive details for each stream.