Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多节点部署时,H2 如何共享数据 #724

Open
MrHyson opened this issue Jan 21, 2021 · 3 comments
Open

多节点部署时,H2 如何共享数据 #724

MrHyson opened this issue Jan 21, 2021 · 3 comments

Comments

@MrHyson
Copy link

MrHyson commented Jan 21, 2021

H2是不是只能通过更改服务模式连接才能共享数据,但是改为服务模式后。CREATE ALIAS IF NOT EXISTS f_todouble FOR "org.cboard.dataprovider.aggregator.h2.Functions.parserString2Double" 数据库自定义函数就失效了。该怎么处理

@MrHyson
Copy link
Author

MrHyson commented Jan 25, 2021

@yzhang921 hi bro 请问上面的问题应该怎么做?

@yzhang921
Copy link
Collaborator

多点部署不应该是每个节点都有自己的h2和服务端吗?

@MrHyson
Copy link
Author

MrHyson commented Jan 29, 2021

H2数据想做一下共享,如果每个节点都是自己的h2,那且不是做不到节点切换,每个用户只能访问固定的节点

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

No branches or pull requests

2 participants