Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow bigger cache sizes than 2 GB (16K * 128 K) for x64 builds [CORE1687] #2112

Closed
firebird-automations opened this issue Jan 12, 2008 · 17 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Timo Partanen (partim)

Votes: 4

64-bit Firebird servers should support the caching of big databases (bigger than 2 GB). Currently this is not possible because Firebird cannot benefit from the 64-bit address space. This prevents a database whose size is several gigabytes (e.g. 5 or 10 GB) from totally fitting to the memory and therefore providing the best performance for queries in all cases no matter what data is requested. This feature is important even though Firebird works via the OS file cache which helps much with the caching.

Commits: 1c1dbea

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Dmitry Yemanov [ dimitr ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Target: 2.5.0 [ 10221 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: Smirnoff Serg (wildsery)

"Helps much"? Hmm... You thinks that OS file cache is worse than Firebird cache? Some tests you made are prove this?
IMHO OS cache is enough for low disk usage, and my Linux-based classic Firebird tells me that.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 13814 ] => Firebird [ 14122 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: Jobin Augustine (jobinau)

if Database cache is not better than a file cache provided by OS...then what is the use of Database cache?
do we have a clear benchmark?. if it filesystem cache works fine, it is a good idea to depend on it.
many RDBMS systems like Oracle suffered because of this address space limit.
new 64bit architecture is great relief for them

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: Open [ 1 ] => Open [ 1 ]

Fix Version: 2.5 Alpha 1 [ 10224 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: Open [ 1 ] => Open [ 1 ]

Fix Version: 2.5 Beta 1 [ 10251 ]

Fix Version: 2.5 Alpha 1 [ 10224 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Dmitry Yemanov [ dimitr ] => Vlad Khorsun [ hvlad ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Fix Version: 2.5 RC1 [ 10300 ]

Fix Version: 2.5 Beta 1 [ 10251 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Fix Version: 2.5 RC1 [ 10362 ]

Fix Version: 2.5 Beta 2 [ 10300 ] =>

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

As 32-bit build anyway can't use more than 2GB memory i will relax cache size limit in 64-bit builds only.

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

Description changed

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

summary: Allow bigger cache sizes than 2 GB (16K * 128 K) => Allow bigger cache sizes than 2 GB (16K * 128 K) for x64 builds

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

In x64 builds max pages buffers limit is 2^31 -1 now

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants