Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

1) If I run dbsrv12.exe -c 30%% then

a) For 12.0.1.3537 - OK

    2: -c
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
b) For 12.0.1.4178: Invalid database server command line error

2) If I run dbsrv12.exe -c 30% then
a) For 12.0.1.3537 - OK
b) For 12.0.1.4178 - OK

    2: -c
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
Is it bug? For 12.0.1.3537 or for 12.0.1.4178 ?

asked 30 Mar '15, 07:56

Ilia63's gravatar image

Ilia63
1.2k515782
accept rate: 44%

edited 30 Mar '15, 11:18

Mark%20Culp's gravatar image

Mark Culp
24.9k10141297


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.

permanent link

answered 30 Mar '15, 08:05

John%20Smirnios's gravatar image

John Smirnios
12.0k396166
accept rate: 37%

2

Fortunately, "p" in this case doesn't stand for "petabytes." That would be a big cache.

(02 Apr '15, 14:41) Phil Mitchell
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×438
×5

question asked: 30 Mar '15, 07:56

question was seen: 1,632 times

last updated: 02 Apr '15, 14:41