FireBird 嵌入式服务器问题
我想运行单个窗口系统的两个应用程序,但我希望这两个应用程序共享相同的嵌入式数据库。
我正在阅读 windows 上的 firebird 嵌入式服务器描述,他们提到了一些我不明白的事情,请帮我澄清一下:
“您可以同时运行多个嵌入式服务器,并且可以让多个应用程序连接到同一个服务器嵌入式服务器已经运行也不是问题,但是,嵌入式服务器在成功连接后会锁定数据库文件以供其自己独占使用,这意味着您无法同时从多个嵌入式服务器进程访问同一数据库。或来自任何其他服务器,一旦嵌入式服务器锁定了文件)。”
来源:http://www.firebirdsql.org/manual/ufb-cs-embedded .html
这是否意味着两个应用程序可以共享一个嵌入式数据库?
I want to run two application of a single window system but I want the two application to share thesame embedded database.
I was reading the firebird embedded server on windows description and they mentioned some things which I don't understand, please help me clarify:
"You can have multiple embedded servers running at the same time, and you can have multiple apps connecting to the same embedded server. Having a regular server already running isn't a problem either. However, an embedded server locks a database file for its own exclusive use after successful connection. This means that you cannot access the same database from multiple embedded server processes simultaneously (or from any other servers, once an embedded server has locked the file)."
Source: http://www.firebirdsql.org/manual/ufb-cs-embedded.html
Does it mean that the two application can share a single embedded database?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,他们不能。这里的句子告诉你:
嵌入式服务器第一次连接数据库时会锁定数据库;嵌入式服务器的任何其他进程或实例将无法访问它。
No, they can't. The sentences here tell you that:
The first connection to the database by an embedded server will lock the database; any other process or instance of an embedded server won't be able to access it.