By Carlos Lopez on Thursday, 12 March 2015
Category: Oracle Fusion Middleware DBA

Hyperion Planning Performance Tunning Automate

Performance Tuning Process Description thru a bat using mxl scripts:

                                                    Code at the first batch

1. Variables configuration that will be used at the rest of the code:

2. Register at log details of last execution :

3. Erase temp files and ancient logs:

From the path previously configure at the variables.

4. Set the header log:

5. Erase ancient exported files.

From the path previously configure at the variables.

6. Export process.

7. Import file creation.

8. Import process.

9. Instruction to record scripts duration and names at  the log file.

Instruction to record scripts duration and names at the log file.

10. Record at the end of the log file a resume of the statistics of the process execution.

Instruction to record at the end of the log file, the date, time and duration of the whole batch process execution.

11. Historic file creation.

Is an instruction to create a file to record the dates, time and duration of each time that this batch is executed.

Process requested to be executed by the Batch “LAPnL01Defrag.bat”

The batch process explained before request the execution of these 3 processes:

“LAPnL01DefragExport.mxl”

“BuildImportFiles.bat”

“LAPnL01DefragImport.mxl”

1.- Connects to the application and database, according to the parameters configured at the batch “LAPnL01Degrag.bat”

2.- Creates a log file to record errors and statistics of the execution, specifying the path and name, then log out all the users, and record to insert the statistics of dimensions and data blocks.

3.- Run the instruction to start the application and database and runs an export of the data at level zero to a text file, and set the path where it will be extracted.

4.- Then configures that if the process generates an error gives the instruction to end the process and start the application and database.

5.- I has been set a cleardata thru the mxl command “reset” .

6.- Instruction to execute the calcscript CLRPnL and then logout.

Next Steps

1.- Configures the variables for the accesses and paths for the rest of the code:

2.- Mention that the next files should exist at the specified path:

3.- Construction process of the file that will be imported:

Next Steps

1.- Connects to the application and data base according to the parameters set at the batch “LAPnL01Degrag.bat”

2.- Generates a log file to record errors and outputs specifying the name and path.

3.- Instruction to import the local file specifying the path and name, and if fan error occurs, ask to abort the process.

4.- Instruction to execute the next calculation scripts:

PartDF15                     Roll Up FY15

PartDF14                     Roll Up FY14

PartDF13                     Roll Up FY13

PartDF12                     Roll Up FY12   

PartDF11                     Roll Up FY11

PartDF10                     Roll Up FY10

5.- Instruction to insert the dimension and data blocks statistics at the log file, then exit the application and start again the application and database in case of error , is requested to insert at the log file “Error”, specifying the path and name, then to logout.

Disclaimer - Views expressed in this blog are author's own and do not necessarily represents the policies of aclnz.com

Leave Comments