we are planning to replace a self implemented legacy data historization by Hibernate Envers, because it allows us to separate business concerns from historization concerns.
Due to the fact, that amongst others we are dealing with historized/versioned time series data, I would like to ask about the typical order of magnitude of the number of revisions, which can be handled sensibly by Envers.
Moreover, would it be sensible to index the REVINFO table columns (the data base right now is Oracle 12)?
Unfortunately, not storing the time series data in the relational data base is no option.
Nothing different than tuning any other SQL query. Just check the Execution Plan before and after adding the index and you should know which indexes work better.