在触发器中使用游标进行审计有帮助吗?如果是,那么如何?
是否可以在 MySQL 的触发器中使用游标?推荐吗?正如有人告诉我在触发器中使用光标进行审计很有帮助,
我需要这个来进行审计......
编辑
在触发器中使用游标进行审计有帮助吗?如果是,那么如何?
请帮忙.. 谢谢
Is it possible to Use cursor in triggers in MySQL? Is it recommended? as someone told me its helpfull to use cursor in triggers for auditing
I need this for auditing...
EDIT
is it helpful to use cursor in triggers for auditing? If Yes then How?
Please help ..
Thank You
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
简短的回答是的,您还想知道什么?
Short answer yes, what else you wanna know?
你可以并且应该。您也可以将系统调用和 Web 服务调用放在那里。您正在承担对 SQL 数据库性能最严重的拖累,并将其插入到被认为是最轻量级、最快的功能中。你最好准备好有充分的理由。
There's can you and should you. You can probably put system calls and web service calls in there too. You're taking just about the heaviest drag on SQL database performance and inserting it into the feature that's considered to be the lightest-weight, fastest feature. You'd best be prepared to have a very good reason.