首页> 外国专利> Method for fast and consistent invocation of concurrently modifiable user-defined functions

Method for fast and consistent invocation of concurrently modifiable user-defined functions

机译:快速且一致地调用并发可修改的用户定义函数的方法

摘要

Database techniques are provided that use state machines to manage polyglot subroutine bindings for database commands. In an embodiment, a computer receives a database command that contains call sites (CSs). Each CS is associated with a user defined logic (UDL). The computer associates an initial operational state with each of the CSs. During a first invocation of a particular CS, the CS becomes initialized and transitions to an optimized state that is configured for streamlined invocation of the UDL. The UDL is invoked to contribute data to a partial result for the database command. Eventually, command execution stalls and causes the CS to transition to an unready state, which entails releasing shared resources. Later execution resumes and during another invocation of the CS, resources are reacquired, the CS is made ready and transitioned back to the optimized state. The CS may again be repeatedly invoked while revisiting the optimized state.
机译:提供了数据库技术,该技术使用状态机来管理数据库命令的Polyglot子程序绑定。在一个实施例中,计算机接收包含呼叫站点(CSS)的数据库命令。每个CS与用户定义的逻辑(UDL)相关联。计算机将初始操作状态与每个CSS相关联。在特定CS的第一次调用期间,CS被初始化并转换为被配置用于简化UDL的调用的优化状态。调用UDL以将数据贡献到数据库命令的部分结果。最终,命令执行停止并使CS过渡到不常见的状态,这需要释放共享资源。稍后的执行恢复和在CS的另一次调用期间,REARESIFED资源,将CS准备好并转回优化状态。在重新审视优化状态的同时,可以再次反复调用CS。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号