Question

  Asked: Jan 15 2007   7:27 AM GMT
  Asked by: HenryKafeman


Database (.nsf) has grown too large; use File New Replica to recreate your file with larger capacity.


Lotus Domino, Platform Issues

I have a Notes Replica which is 957 MB, but when I try to access it I get with v6.5.5 and v5.0.12:
"Database (.nsf) has grown too large; Use File New Replica to recreate your file with large capacity.".

Also Notes keeps performing consistency checks!

Now I can use File New Replica, but that will not include any Documents which are not on the Server or not in any other Replicas - Right?

I have tried running "NCOMPACT.EXE" which is supposed to sort this issue out, but that just returns:
Performing consistency check
Completed consistency check
Database compact error: Database (.nsf) has grown too large; use File New Replica to recreate your file with larger capacity.

Database (.nsf) has grown too large; use File New Replica to recreate your file with larger capacity.

Do any of you have any ideas on how to get around this problem????

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



Unfortunately, there's no "getting around" this issue. Your database appears to have a 1 GB limit on it and you have hit it. It may have been created in an early ODS (ODS 20 had a 1 GB default limit, although you could choose to go as high a 4 GB), or deliberately created with a size limit. Whatever the reason, it has a 1 GB limit and you MUST make a new copy with a larger limit or you're going to keep getting those messages. In addition, the database could become corrupted and completely unsalvageable if the B-Tree or on-disk structure corrupts, which often happens in these cases. Save yourself a lot of grief and just go ahead and fix it now. It doesn't matter what you think it SHOULD be -- you have to work with what IS.
  • AddThis Social Bookmark Button

Browse more Questions and Answers on Lotus Domino.

Looking for relevant Lotus Domino Whitepapers? Visit the SearchDomino.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register

HenryKafeman  |   Jan 15 2007  11:03AM GMT

Thanks, but I would like to be able to access the Database.

I have tried “NCOMPACT” which should update to current ODS and also “NCOMPACT -M” which should update ODS 20 to 4 GB.

Any other ideas to be able to access the Database? If I could access it, I could delete some content to make it smaller and also make sure that I have everyting I need in my other Replicas (which are ODS 41 or ODS 43)!

 

Brooklynegg  |   Jan 15 2007  11:04AM GMT

There is a command and option for increasing the largest allowable size for the database. I will look for it and let you know. Is this a mail database?

 

HenryKafeman  |   Jan 15 2007  11:10AM GMT

Yes this is a Mail Database and is probably ODS 20 or perhaps ODS 41.

 

Brooklynegg  |   Jan 15 2007  11:22AM GMT

I assume this is on the server. Try shutting down the server, running ncompact.exe -D -M from a command line prompt. The -D updates without any view indexes, which will save size as part of this emergency compact. It also does a copy style compact instead of compacting in place, which should help with corruption. The -M increases the size quota, as you already know. That’s probably as much help as I can give. I don’t have a ton of experience. If you have trouble with the syntax while running compact from the command line, let me know.

 

HenryKafeman  |   Jan 15 2007  12:29PM GMT

I am on a Client.
The .NSF File happens to be located on a Mapped Drive, but as far as Notes is concerned it is a “Local” Replica on the Client.

I did try copying the .NSF File to a local Drive but that made no difference when running NCOMPACT.

I will try with the -D Switch and let you know tomorrow as it is 5:30pm UK Time now!

 

Brooklynegg  |   Jan 16 2007  9:07AM GMT

I think you are back to simply creating a new replica. I am sure you won’t lose any documents. You can compare the number of documents between them. I can’t remember these issues from the past. I reviewed several I have dealt with and can’t find that they were that tough to handle. If you have already tried making a new replica and it fails for some reason, I would call IBM Support. In the past, I have been able to compact the database with success.

 

SteveT101  |   Jan 16 2007  12:56PM GMT

I’ve seen this method used to open an older ODS nsf:
1) Close your Notes Client.
2) Add “Skip_Fixup=1″ at the beginning of your Notes Client notes.ini.
3) At a cmd prompt, type “ncompact.exe dbname.nsf -m -c -i”.
4) Remove the notes.ini parameter.
While I haven’t had a need to use this, it was submitted as a client-side approach to allow opening the file.

 

HenryKafeman  |   Jan 17 2007  5:37AM GMT

“Skip_Fixup=1″ does not help - NCompact still performs a Consistency Check and then reports that the Database is too large. I have tried this with Notes v6.5.5. IS it worth trying with v5.0.12 (or even v5.0.8)?

 

HenryKafeman  |   Jan 17 2007  12:28PM GMT

MAGIC!
Skip_Fixup=1 works with v5.0.12!
The Database ended up as 630MB from 957MB!
It is working fine again although it has grown somewhat as a result of Replicating (not just due to incoming Emails) and is now at 642 MB.

Also my New Replica has grown from 757MB (after compacting it) to 803 MB - I thought it was doing this uncontrollably even in between Replications (a few days ago I did see it get to 1.4GB or so before I stopped it and reverted to a saved copy!) but it seems okay at the moment!

Do you have any knowledge/experience of Replica Databases growing for no apparent reason in this way - e.g. Why and how to stop/limit it????
Thanks for your Help.