Replies: 2 comments 11 replies
-
Here are some real life example for the operationplan export:
The number of records you're exporting is bigger than this. Some tweaking may be required to speed this up. I'm 100% sure there is low hanging fruit to drastically change the timing.
|
Beta Was this translation helpful? Give feedback.
-
For customizing exported fields: frepple/freppledb/output/commands.py Line 381 in 4f72d23 For the postgresql tuning; |
Beta Was this translation helpful? Give feedback.
-
Hi, there,
I setup the frePPLe and PostgreSQL on two K8s pods, and tune the PostgreSQL based on PGTune suggestions. I tried to load data into the frePPLe and executed plan. The exporting data spent 183 mins and the logs as below:
`INFO Start step 401 'Export plan' at 09:31:11
INFO Start step export2 1 'Exporting resource plans' at 09:31:11
INFO Start step export1 1 'Exporting operationplans' at 09:31:11
INFO Finished 'Exporting resource plans' at 09:31:11
INFO Start step export2 2 'Exporting problems' at 09:31:11
INFO Finished 'Exporting problems' at 09:35:54
INFO Start step export2 3 'Exporting constraints' at 09:35:54
INFO Finished 'Exporting constraints' at 09:36:58
INFO Finished 'Exporting operationplans' at 12:21:40
INFO Start step export1 2 'Exporting operationplan materials' at 12:21:40
INFO Finished 'Exporting operationplan materials' at 12:22:12
INFO Start step export1 3 'Exporting operationplan resources' at 12:22:12
INFO Finished 'Exporting operationplan resources' at 12:22:12
INFO Start step export1 4 'Exporting demand pegging' at 12:22:12
INFO Finished 'Exporting demand pegging' at 12:34:33
INFO Start step export1 5 'Compute period of cover' at 12:34:33
INFO Finished 'Compute period of cover' at 12:34:43
INFO Finished 'Export plan' at 12:34:43 `
Exporting operationplan is very slowly that export 7505742 records. And I tried to analyze postgresql log for exporting operationplan.
Could anybody give some tuning advises about frePPLe and PostgreSQL?
Beta Was this translation helpful? Give feedback.
All reactions