BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Firebird backup of multi-file databases (Newbie)

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
KIB
Guest





PostPosted: Sun Apr 22, 2007 1:38 pm    Post subject: Firebird backup of multi-file databases (Newbie) Reply with quote



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





PostPosted: Sun Apr 22, 2007 7:12 pm    Post subject: Re: Firebird backup of multi-file databases (Newbie) Reply with quote



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





PostPosted: Sun Apr 22, 2007 7:38 pm    Post subject: Re: Firebird backup of multi-file databases (Newbie) Reply with quote



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





PostPosted: Sun Apr 22, 2007 8:17 pm    Post subject: Re: Firebird backup of multi-file databases (Newbie) Reply with quote

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





PostPosted: Mon Apr 23, 2007 8:11 am    Post subject: Re: Firebird backup of multi-file databases (Newbie) Reply with quote

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 Smile
Thanks again.

:)
Kai Inge
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.