On Wed, Oct 18, 2023 at 1:20 PM mohammad sherafat
<
mohammad.sher...@gmail.com> wrote:
>
> 2. If copying base backup is part of PITR, you should do it before the need to PITR
>
Obvious, but having a replica (as you originally mentioned) is not
going to speed up things with regard to the effort needed to do the
replica.
> 3. OLTP/OLAP transactions should be handled on different servers to reduce workload. It depends on your system that whether is it possible or not?
> OLTP data is not required for subsequent OLTP transactions, so transferring them to OLAP database in a maintenance routine should be scheduled.
>
So what? This has nothing, _nothing_ to do with PITR. Physical backup
in general does not care how much connections nor transactions you are
running, nor the type of things you are doing. I suspect you are
messing up logical and physical backup here.
> 4. Summering data:
> What do you need from a bunch of data, record details or total metrics such as count, sum, ... Any already computed analysis.
The word you are looking for is "materializng".
And again, this has nothing to do with the speed of PITR, rather with
the speed of your own queries.
Luca