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-issue-importer opened this issue Jan 12, 2008 · 17 comments

Comments

@firebird-issue-importer

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-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 12, 2008

Modified by: @dyemanov

assignee: Dmitry Yemanov [ dimitr ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 12, 2008

Modified by: @dyemanov

Target: 2.5.0 [ 10221 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 14, 2008

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-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 28, 2008

Modified by: @pcisar

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 29, 2008

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-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Feb 20, 2008

Modified by: @dyemanov

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

Fix Version: 2.5 Alpha 1 [ 10224 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Feb 20, 2008

Modified by: @dyemanov

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

Fix Version: 2.5 Beta 1 [ 10251 ]

Fix Version: 2.5 Alpha 1 [ 10224 ] =>

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jun 10, 2008

Modified by: @dyemanov

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 8, 2009

Modified by: @dyemanov

Fix Version: 2.5 RC1 [ 10300 ]

Fix Version: 2.5 Beta 1 [ 10251 ] =>

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jul 11, 2009

Modified by: @dyemanov

Fix Version: 2.5 RC1 [ 10362 ]

Fix Version: 2.5 Beta 2 [ 10300 ] =>

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Sep 1, 2009

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-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Sep 6, 2009

Commented by: @hvlad

Description changed

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Sep 6, 2009

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-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Sep 6, 2009

Commented by: @hvlad

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Sep 6, 2009

Modified by: @hvlad

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

resolution: Fixed [ 1 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Nov 12, 2009

Modified by: @pcisar

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 19, 2016

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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants