Wednesday, 1 June 2016

Re: [firebird-support] Re: Issue with Database Cache Size on FB 3.0

 



Vlad
 
Thank you, english is not my first language, I interpreted the sentence as "go calculate the total amount of ram, then set the value as a number within such percentage of your ram...", but thanks for the clarification. Perhaps to avoid other users making the same mistake each configurable variable on firebird .cfg files could have a "domain" explaining what type of variable it is, like "Domain = From 0 to 100, up to 2 decimals allowed, decimal separator is DOT". Furthermore, in this case I first understood what was required was actually a percentage number, but then changed my mind as it would be too hard for most users to think that way, as percentage mathematically speaking the way to represent 20% is actually 0.2, so it goes from 0 to 1.
 
I hope this helps other users,
 
Cheers,
Fabian
 
----- Original Message -----
Sent: Wednesday, June 01, 2016 9:32 PM
Subject: [firebird-support] Re: Issue with Database Cache Size on FB 3.0

---In firebird-support@yahoogroups.com, <fabianch@...> wrote :

...

> The setting we are playing with are:
>
> On firebird.conf
>
> FileSystemCacheThreshold = 0
> FileSystemCacheSize = 17179869184 (this is 16 GB - the server has 32 GB
> ram.)

  Does you ever read comments describing this setting ? I can do it for you :

    "measured in % of total physical RAM".

I.e. any value not in range [0..100] is wrong by definition. Read firebird.log, it should contain
error message:

    "Incorrect FileSystemCacheSize setting %d. Using default (30 percent)."

If you really want to limit file system cache by 50% of avalable RAM - set FileSystemCacheSize
value to 50 (and restart Firebird), no need to calc in bytes...

Regards,
Vlad
 

__._,_.___

Posted by: <fabianch@itbizolutions.com.au>
Reply via web post • Reply to sender • Reply to group • Start a New Topic • Messages in this topic (8)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Visit http://www.firebirdsql.org and click the Documentation item
on the main (top) menu.  Try FAQ and other links from the left-side menu there.

Also search the knowledgebases at http://www.ibphoenix.com/resources/documents/

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

.

__,_._,___

No comments:

Post a Comment