Home  >  Article  >  Backend Development  >  Will it affect performance if the operation of foreign keys in mysql is set to NO ACTION?

Will it affect performance if the operation of foreign keys in mysql is set to NO ACTION?

WBOY
WBOYOriginal
2016-10-23 00:00:071083browse

RT, I just want to display the database structure more clearly in the database relationship diagram. As for the foreign key constraints, I will implement them in the code. Will setting both delete and update operations in the database to NO ACTION affect performance?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn