I have a bulk update process which effects updates records in more than one salesforce objects like - Account, Contact, Contract , Opportunity and Oppt Line Item.
This bulk process does not update hundreds of records. But, yes - a lot of code is being executed and I get Apex CPU time limit exceeded error when there are more records being processed.
When my bulk process is run : all the triggers , process builders, workflows and validation rules get executed.
I am trying to understand how are validation rules executed - like does each validation rule run each time a save is done?
Does this effect the Apex CPU Time? If yes, I would like to deactivate some of the validation rules (over all - I have around 30 of them) which I don't need during this bulk process.