 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
KIB Guest
|
Posted: Sun Apr 22, 2007 1:38 pm Post subject: Firebird backup of multi-file databases (Newbie) |
|
|
Hello.
I'm a newbie in Firebird and sql servers. So I get a bit confused when
the Firebird manual on bacup issues tells me that the new tool,
nbackup, for Firebird 2 does not support multi-file backup.
Is there at all a database with only one file? It doesn't make sense,
so I obviously is misunderstanding something here.
I come from a dBase environment as a hobby programmer and there a file
is a file. With dbf extension.
In Firebird I discovered that a .fdb file is more than one file, in
fact a multi file thing. So how is it possible to back it up if not
multi file back up is allowed?
:)
Kai Inge |
|
| Back to top |
|
 |
Don Guest
|
Posted: Sun Apr 22, 2007 7:12 pm Post subject: Re: Firebird backup of multi-file databases (Newbie) |
|
|
| Quote: | I'm a newbie in Firebird and sql servers. So I get a bit confused when
the Firebird manual on bacup issues tells me that the new tool,
nbackup, for Firebird 2 does not support multi-file backup.
Is there at all a database with only one file?
I come from a dBase environment as a hobby programmer and there a file
is a file. With dbf extension.
In Firebird I discovered that a .fdb file is more than one file, in
fact a multi file thing. So how is it possible to back it up if not
multi file back up is allowed?
|
The dBase .DBF file is the same thing as a table in Firebird. Firebird
tables (the equivalent of the .DBF file) are created and stored in a single
database file (.fdb) by default. You can optionally allocate additional
files for page storage using the CREATE DATABASE statement. This is the
feature that nbackup does not support.
I believe you're just confused by the .DBF table vs. Firebird database
concepts. Tables are not files in Firebird. |
|
| Back to top |
|
 |
KIB Guest
|
Posted: Sun Apr 22, 2007 7:38 pm Post subject: Re: Firebird backup of multi-file databases (Newbie) |
|
|
On 22 Apr, 16:12, "Don" <mudsh...@joesgarage.org> wrote:
| Quote: | I'm a newbie in Firebird and sql servers. So I get a bit confused when
the Firebird manual on bacup issues tells me that the new tool,
nbackup, for Firebird 2 does not support multi-file backup.
Is there at all a database with only one file?
I come from a dBase environment as a hobby programmer and there a file
is a file. With dbf extension.
In Firebird I discovered that a .fdb file is more than one file, in
fact a multi file thing. So how is it possible to back it up if not
multi file back up is allowed?
The dBase .DBF file is the same thing as a table in Firebird. Firebird
tables (the equivalent of the .DBF file) are created and stored in a single
database file (.fdb) by default. You can optionally allocate additional
files for page storage using the CREATE DATABASE statement. This is the
feature that nbackup does not support.
I believe you're just confused by the .DBF table vs. Firebird database
concepts. Tables are not files in Firebird.
|
Thank You for the answer. Then I understand. the file issue.
Page Storage, what is that?
:)
Kai Inge |
|
| Back to top |
|
 |
Wayne Niddery [TeamB] Guest
|
Posted: Sun Apr 22, 2007 8:17 pm Post subject: Re: Firebird backup of multi-file databases (Newbie) |
|
|
KIB wrote:
| Quote: |
Page Storage, what is that?
|
An allocation unit for storage. Typically a page is 4 or 8K in size, and the
database allocates space in pages for storing records and indexes.
The multifile issue, while still supported by the database itself (both
Firebird and InterBase), is more historical. InterBase has been around for
over 20 years and originally, a single physical file could not be more than
2 gig in size, therefore to have larger databases, they had to allow for
multiple physical files. Once allocated, you did not have to worry about
different files when connecting to or accessing records in the database, the
database server took care of that transparently. To allocate multiple files,
you would tell the database how many pages it can use before it must start
writing to the next physical file. With later versions (both for the
database and the O/S) however, the physical size of a single database can go
much larger - terrabytes, so multiple physical files for the same database
are no longer really needed.
--
Wayne Niddery - Winwright, Inc (www.winwright.ca)
Working for yourself is great because you get to work half days, and
you can choose any twelve hours you want. |
|
| Back to top |
|
 |
KIB Guest
|
Posted: Mon Apr 23, 2007 8:11 am Post subject: Re: Firebird backup of multi-file databases (Newbie) |
|
|
On 22 Apr, 17:17, "Wayne Niddery [TeamB]" <wnidd...@chaffaci.on.ca>
wrote:
| Quote: | KIB wrote:
Page Storage, what is that?
An allocation unit for storage. Typically a page is 4 or 8K in size, and the
database allocates space in pages for storing records and indexes.
The multifile issue, while still supported by the database itself (both
Firebird and InterBase), is more historical. InterBase has been around for
over 20 years and originally, a single physical file could not be more than
2 gig in size, therefore to have larger databases, they had to allow for
multiple physical files. Once allocated, you did not have to worry about
different files when connecting to or accessing records in the database, the
database server took care of that transparently. To allocate multiple files,
you would tell the database how many pages it can use before it must start
writing to the next physical file. With later versions (both for the
database and the O/S) however, the physical size of a single database can go
much larger - terrabytes, so multiple physical files for the same database
are no longer really needed.
--
Wayne Niddery - Winwright, Inc (www.winwright.ca)
Working for yourself is great because you get to work half days, and
you can choose any twelve hours you want.
|
Thank you very much.
I enjoy learning new things, and people found in theese Delphi groups
are the best teachers
Thanks again.
:)
Kai Inge |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|