Skip to content

Conversation

@littleniannian
Copy link

@littleniannian littleniannian commented Nov 17, 2025

修复方案

  • register的时候保留注册BACKEND_DATASOURCE
  • 获取数据库PL对象(PLObjectErrMsgUtils),查看数据库详情(DBSchemaAccessors),查询当前数据库存在的会话(DBSessionService),负责会话窗口的相关操作(DefaultDBSessionManage),对数据库对象(FUNCTION,PROCEDURE,TYPE)的操作,SQL执行计划(SqlDiagnoseService,OBQueryProfileManager),分区表操作(PartitionPlanService),事务回滚(RollbackGeneratorFactory) 这些本来使用BackendDatasource的地方使用ConsoleDataSource进行复用。
  • 其余的数据归档,OB性能分析,影子表同步因为在页面上做了隐藏所以不做修改,保持原来的样式。

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

获取数据库PL对象的编译错误信息

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

下拉数据库,查看数据库详情信息

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

查询当前数据库存在的会话

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

负责会话窗口的相关操作

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

从DBFunctionService开始都是对一些数据库对象的操作,

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

负责性能分析,执行计划

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

负责事务回滚

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

主要负责数据归档任务创建,验证归档配置的有效性

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

捕获traceId,负责OB数据库的性能分析

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

用于批量同步影子表

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant