统一数据库通常在连续模式下运行。有关连续模式及其替代模式(批处理模式)的信息,请参见了解 SQL Remote 消息代理 (dbremote)。
确保每个具有 REMOTE 权限的用户都指定了 SEND AT 或 SEND EVERY 频率。
在连续模式下,SQL Remote 消息代理 (dbremote) 会按在每个远程用户的属性中由 SEND AT 或 SEND EVERY 频率指定的时间来发送消息。请参见设置发送频率。
不使用 -b 选项启动 SQL Remote 消息代理 (dbremote)。
在 Windows 上,SQL Remote 消息代理 (dbremote) 名为 dbremote.exe。在 Unix 上,它的名称是 dbremote。在 Mac OS X 上,也可以使用 SyncConsole 启动 SQL Remote 消息代理 (dbremote)。请参见在 Mac OS X 上运行 SQL Remote 消息代理 (dbremote)和在 Unix 上运行 SQL Remote 消息代理 (dbremote)。
例如,以下语句将在连续模式下于名为 c:\mydata.db 的数据库文件中运行 dbremote,并使用用户名 ManagerSteve 和口令 sql 进行连接:
dbremote -c "UID=ManagerSteve;PWD=sql;DBF=c:\mydata.db" -l 40000 |
用户名 ManagerSteve 必须具有 REMOTE DBA 权限或 DBA 权限。对于系统中的所有数据库,由 -l 选项定义的最大消息长度必须相同。请参见SQL Remote 消息代理 (dbremote) 要求。
有关可以指定的 dbremote 选项的完整列表,请参见SQL Remote 消息代理实用程序 (dbremote)。
![]() |
使用DocCommentXchange 讨论此页。
|
版权 © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |