function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sridhar BonagiriSridhar Bonagiri 

Too many SOQL queries (101)

 

Hi All,

 

As per salesforce.com Winter'12 release  now 'Total number of SOQL queries issued is 200 instead of 100' , but when I checked the debug logs it is still counting for 100 only.

 

Any body any idea ??

 

Thanks in advance

 

Sridhar Bonagiri.

Best Answer chosen by Admin (Salesforce Developers) 
Chamil MadusankaChamil Madusanka

 

It's clearly said that limit increments are relevent for Batch Apex and future methods.

 

From Winter 12' release note;

 

In addition, some governor limits are higher for Batch Apex and future methods:
• Total number of SOQL queries issued is 200 instead of 100.

• Total number of executed code statements is 1,000,000 instead of 200,000.
• Total heap size for Batch Apex and future methods is 12 MB instead of 6 MB.

 

If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.

 


All Answers

raseshtcsraseshtcs

It may be because of the version of the class...

Chamil MadusankaChamil Madusanka

 

It's clearly said that limit increments are relevent for Batch Apex and future methods.

 

From Winter 12' release note;

 

In addition, some governor limits are higher for Batch Apex and future methods:
• Total number of SOQL queries issued is 200 instead of 100.

• Total number of executed code statements is 1,000,000 instead of 200,000.
• Total heap size for Batch Apex and future methods is 12 MB instead of 6 MB.

 

If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.

 


This was selected as the best answer
Chamil MadusankaChamil Madusanka

No, version of class is not the reason for that