统一数据库通常在连续模式下运行。
确保每个具有 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)。
例如,以下语句将在连续模式下于名为 c:\mydata.db 的数据库文件中运行 dbremote,并使用用户名 ManagerSteve 和口令 sql 进行连接:
dbremote -c "UID=ManagerSteve;PWD=sql;DBF=c:\mydata.db" -l 40000 |
用户名 ManagerSteve 必须具有 REMOTE DBA 权限或 DBA 权限。对于系统中的所有数据库,由 -l 选项定义的最大消息长度必须相同。
![]() |
使用DocCommentXchange讨论此页。
|
版权 © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |