Common law in Canada is a month per year of service, capping at 24 months severance pay for 24+ years of service.
This has some variability based on the age and reeemployability of the laid off person.
Rare cases with older workers (60 or 65+) and very company specific skillsets have been over 24 months. Younger people, with redeployabale skills, somewhat lower.
Also variability out there as to whether all of the RSU's that someone would have had vested over the 24 months (so two years vesting) is included in the severance for long tenured employees.
The Employment Standards Act gives the really cr-ppy severance. The common law gives the month per year.
Up in the air what Oracle will offer for Canada, as someone likely is on the list in the coming weeks/months. You're able to go to court for the full pay-out, and Oracle will likely want to avoid that. But they'll pay just enough to make it enticing for you to take the money and avoid court.