T24 Optimisation tips

I am recently getting some knowledge in T24 performance tuning. I will share some of my experience from my work while creating reports for APAP

* Never put a select blindly on heavily populated tables like ACCOUNT, CUSTOMER etc
* Even a medium sized bank have nearly 1 million records in the ACCOUNT table (including the internal accounts.). Blind selects on tables like these will never return.
* Index highly queried columns of the most common tables like CUSTOMER, ACCOUNT, CARD/ISSUE etc..
* Make sure you index only the necessary fields only. If you index large number of fields, it will inturn kill the server, as every commit on the table need to update all the indexes.
* Its better to use more robust databases like Oracle DB or SQL Server DB as the backend database instead of JBase as they have better performance.
* If you are writing a nofile enquiry never do a SSELECT if you need sorted output. Instead finish the processing of the output array and sort the array using the SORT function. This function uses quick sort algorithm and will be very fast.
* Before using a SORT fuction change all the VMs and SMs in the sort array and have seperation only on FM.

I will update this post more often with my experience.

Comments

Popular posts from this blog

Current Variables in T24

All accounting entries of an T24 account

Drop down enquiry based on condition.