+ Start a Discussion
SFDC-cloudSFDC-cloud 

How do we measure ?

Total number of SOQL queries issued issues per transcation / request while loading a Visual force Page?

Navatar_DbSupNavatar_DbSup

Hi,

Try the below code snippet as reference:

 

System.debug('1.Number of Queries used in this apex code so far: ' + Limits.getQueries());

 

 

For more detail follow the below link:

http://wiki.developerforce.com/page/Apex_Code_Best_Practices

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.