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

During restoring my database I received such error: [CORE5589] #2122

Closed
firebird-automations opened this issue Jul 21, 2017 · 5 comments
Closed

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Buvan (buvanmca)

During restoring my database I received such error: Can you please guide me how to fix this issue.

gbak: activating and creating deferred index PK_CISTA
gbak:cannot commit index PK_CISTA
gbak: ERROR:sort error
gbak: ERROR: No free space found in temporary directories
gbak: ERROR: operating system directive write failed
gbak: ERROR: Success
gbak: ERROR:action cancelled by trigger (3) to preserve data integrity
gbak: ERROR: Cannot deactivate index used by a PRIMARY/UNIQUE constraint
gbak:Exiting before completion due to errors

Note : The index table contain around 170000000 records.

CREATE TABLE CLIENT_IMPORT_SUB_TABLE_ARCHIVE (
CLIENT_IMPORT_SEQNO T_SEQNO_REQUIRED /* T_SEQNO_REQUIRED = INTEGER NOT NULL */,
PARAMETER_ID T_FIELD_NAME_REQ /* T_FIELD_NAME_REQ = VARCHAR(31) NOT NULL */,
PARAMETER_VALUE T_NOTES_256 /* T_NOTES_256 = VARCHAR(256) */
);

ALTER TABLE CLIENT_IMPORT_SUB_TABLE_ARCHIVE ADD CONSTRAINT PK_CISTA PRIMARY KEY (CLIENT_IMPORT_SEQNO, PARAMETER_ID);

ALTER TABLE CLIENT_IMPORT_SUB_TABLE_ARCHIVE ADD CONSTRAINT FK_CISTA_CIA_SEQNO FOREIGN KEY (CLIENT_IMPORT_SEQNO) REFERENCES CLIENT_IMPORT_ARCHIVE (CLIENT_IMPORT_SEQNO);

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

Error message is clear: there is not enough free space in temp dirs to build index PK_CISTA.
Temp dirs is configured in firebird.conf, see TempDirectories setting.

PS This is support question, next time ask such questions in support list, please.

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

security: Developers [ 10012 ] =>

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

Not a bug

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

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

resolution: Won't Fix [ 2 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant