on 2015 Mar 30 8:56 AM
1) If I run dbsrv12.exe -c 30%% then
a) For 12.0.1.3537 - OK
2: -cb) For 12.0.1.4178: Invalid database server command line error
3: 30%%
...
SQL Anywhere Network Server Version 12.0.1.3537
...
Running Windows 7 Build 7601 Service Pack 1 on X86_64
Server built for X86_64 processor architecture
2511152K of memory used for caching
Minimum cache size: 2511152K, maximum cache size: 7529760K
2) If I run dbsrv12.exe -c 30% then
a) For 12.0.1.3537 - OK
b) For 12.0.1.4178 - OK
2: -cIs it bug? For 12.0.1.3537 or for 12.0.1.4178 ?
3: 30%
...
SQL Anywhere Network Server Version 12.0.1.4178
...
Running Windows 7 Build 7601 Service Pack 1 on X86_64
Server built for X86_64 processor architecture
2511152K of memory used for caching
Minimum cache size: 2511152K, maximum cache size: 7529760K
You want one "%" sign to make it to the server. If the server is invoked from a shell (cmd.exe on Windows), "%%" gets converted to "%" by the shell because "%" is used for environment variable substitutions. You appear to be invoking the server without using a shell so you only want -c 30%.
To avoid issues with shells and %, you could just use -c 30p.
-john.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Fortunately, "p" in this case doesn't stand for "petabytes." That would be a big cache.
User | Count |
---|---|
62 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.