Salesforce docs says: "Each upsert statement consists of two operations, one for inserting records and one for updating records. Each of these operations is subject to the runtime limits for insert and update, respectively. For example, if you upsert more than 10,000 records and all of them are being updated, you receive an error."
Does this mean if I do DML of 12,000 record where 2000 will be inserted and 10,000 records will be update will not give too many dml rows exception.
Or will it means if I do DML of 10,000 record with 8000 as insert and 2000 as update then will it give exception of too many dml rows?