Subject | Re: [firebird-support] GBAK size limit question (again, sorry), also BLOB questions |
---|---|
Author | Artur Anjos |
Post date | 2003-09-19T21:31:37Z |
Hi Johannes,
only does what you told him to do. Gbak creates a backup file, I don't
understand what you are talking to with "updates the database itself".
This backup will be in one file, if the operating system can support his
size, or should be splited in many files, acording to maximum size. I don't
remember the maximum size of a file in NT4 and W2K, but you will pick this
info in google for sure.
sizes. :-)
Some people will tell you that it will be ok, other's the oposite. There is
no tech problem to have such a BLOB, the argument to keep the blob outside
the database and just keep a pointer to it inside it's very simple: Blob
data with that size don't change too much, so it will be easy to backup this
kind of database if you keep it outside the database. Get it? This way, it
will be easy (and faster) to backup the database, and it will be possible to
do incremental backups on the external files. But you will find some good
reasons to keep it inside the database too.
don't change that, there's no reason to update the blob pages. It's easy for
you to test this: just create something with a big blob, udate it, and watch
the file size.
Artur
> From what IGBak can do garbage collect, if this is what you are talking about. But Gbak
> understand, GBAK updates the database itself (rather than the files
> that make up the database), is that correct ?
only does what you told him to do. Gbak creates a backup file, I don't
understand what you are talking to with "updates the database itself".
> So then, on NTFS on Win NT4 or Win2k, what is the largest databaseYou can backup any database of any size.
> that I can back up ?
This backup will be in one file, if the operating system can support his
size, or should be splited in many files, acording to maximum size. I don't
remember the maximum size of a file in NT4 and W2K, but you will pick this
info in google for sure.
> Another question, about BLOBs: I'm storing BLOBs as big as 120 MB perSometimes I have the some doubt about myself, but never related with Blob
> row. Am I insane ?
sizes. :-)
Some people will tell you that it will be ok, other's the oposite. There is
no tech problem to have such a BLOB, the argument to keep the blob outside
the database and just keep a pointer to it inside it's very simple: Blob
data with that size don't change too much, so it will be easy to backup this
kind of database if you keep it outside the database. Get it? This way, it
will be easy (and faster) to backup the database, and it will be possible to
do incremental backups on the external files. But you will find some good
reasons to keep it inside the database too.
> When I update the record (but not the blob) doesI don't think so. What Firebird keeps is a pointer to the BLOB, so if you
> it still create (on disk) a completly new record with a copy of the
> blob (And the old record is garbage-collected in the next sweep) ?
don't change that, there's no reason to update the blob pages. It's easy for
you to test this: just create something with a big blob, udate it, and watch
the file size.
> When using the JDBC driver (...snip...)I can't help you here. Firebird-java list is the place to this question.
Artur