Can mysql quickly verify and save a large amount of data at the same time?

the saving speed can be solved by forming a sql statement, but some fields in it must be associated with multiple tables for verification check.
if you save the previous verification, then you will not be able to achieve the purpose of fast saving. Is fast saving and data validation not compatible

?
Mar.03,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e544db-5a2ec.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e544db-5a2ec.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?