Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8221511
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T13:56:55+00:00 2026-06-07T13:56:55+00:00

I have a firebird database that is edging the 4GB filesystem limit size. How

  • 0

I have a firebird database that is edging the 4GB filesystem limit size.
How do I split a single database file into multiple files?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T13:56:58+00:00Added an answer on June 7, 2026 at 1:56 pm

    Firebird databases can span upto several terabytes for a single file database. A limit of 4GB is mentioned in the InterBase 6.0 manual, but that limit only applies to filesystems which do not support larger files. As far as I know almost all filesystems support larger files than that (a notable exception is of course FAT(32)). See also Firebird Database Limits.

    If you do need to split your files, you need to add secondary files. There are two ways to go about this:

    1) Use ALTER DATABASE to add additional files:

    ALTER DATABASE ADD FILE '<path-to-file>' LENGTH <number> PAGES 
       STARTING AT PAGE <number>
    

    Be aware that specifying a STARTING AT PAGE number which has already been created will simply create the file when the next page is allocated. So it will not start at the specified page, but it will start at <current page count> + 1. See also page 22 in the InterBase 6.0 Language Reference (available from http://www.firebirdsql.org/en/reference-manuals/ ) or page 238 – 240 of The Firebird Book by Helen Borrie.

    2) (if you need to split an existing database): backup the database and restore it while specifying multiple files and the size of each file:

    gbak -C <backupfile> <file1> <maxsize of file1> 
        <file2> <maxsize of file2> .... <fileN>
    

    For the last file you don’t specify a size, it will grow until it hits a filesystem limit (if any), in that case you will need to add additional secondary files as described above. See also page 162 of the Interbase 6.0 Operations Guide (also available from http://www.firebirdsql.org/en/reference-manuals/ ) or page 825 – 827 of The Firebird Book.

    But as I said: on almost any (modern) filesystem the 4 GB limit does not apply.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a firebird database that I need to recreate. It contains an external
I have a desktop (winforms) application that uses a Firebird database as a data
I'm using Firebird database and I need to load Excel file into a database
I have a MySQL 5.5 database that I wish to migrate to Firebird Server
I have a C++ project that uses IBPP to access a firebird database. I
I have a Firebird database (running on server version 2.1.3) and am connecting to
I have a Firebird database, which let's say has Tables A and B which
I have a linked Firebird database on my SQL Server 2008 via ODBC. I
I have a dotnet application with a Firebird Database back-end. I am planning to
I seem to have an issue with connecting to an embedded FireBird database from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.