Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Where PhixFlow is running on top of onĀ  a SQLServer installation, set up a PhixFlow Model to analyse the current PhixFlow instance, to determine and detail how much disk space is being used.

...

  • Create Streams to extract data from the internal PhixFlow tables.
  • For each table that is part of a PhixFlow model, query sqlserver for its data size / disk requirements. Use the built in SQL Server stored procedure : sp_spaceused.
  • As an additional exercise, determine the number of records, the number of streams and the archive details for each stream

Oracle

Where PhixFlow is running on 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.