查询运行服务器关闭时重新启动时
我正在运行一个PHP脚本。它包含SQL查询,例如更新或删除,并且我有30 mil的记录。我想学习脚本运行何时运行,例如1 mil记录更新了,然后服务器关闭其他记录。如果服务器正在重新启动,查询是否会继续或停止?我对Localhost进行了测试。运行100万记录的插入查询。然后停止Apache2。启动后,Apache2查询停止。但是我不在服务器上测试它。实际上,我想在重新启动时学习服务器操作。
I'am running a php script. It's containing sql query for example update or delete and i have 30 mil records. I want to learn when script is running for example 1 mil records updated then server shutdown what about to other records. If server is restarting does query will be go on or stop? I'm tested to localhost. Running a insert query for 1 mil records. Then stopped the apache2. After started the apache2 query is stop. But i don't test it on a server. Actually i want to learn server action when restarting.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论