[p4] Very big Perforce file : db.have
Jamison, Shawn
sjamison at ciena.com
Wed Aug 9 10:14:51 PDT 2006
I've just reduced my db.have from just over 12 Gigs to about 6 Gigs
doing a restore from checkpoint. Actually I shaved almost 12 Gig's
total from my P4ROOT directory by doing a restore from checkpoint.
I highly recommend you do a restore. You'll be surprised.
-Shawn J>
Perforce Admin
Ciena Corp.
-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Sweeney, Tony
Sent: Wednesday, August 09, 2006 11:48 AM
To: Andres Fuentes; perforce-user at perforce.com
Subject: Re: [p4] Very big Perforce file : db.have
Andres,
Perforce supports db.* files greater than 2GB on the platforms
listed at this page:
http://www.perforce.com/perforce/technotes/note053.html
db.have keeps track of what versions of files are in what clients, so
obviously it pays to get rid of unnecessary clients. However, Perforce
doesn't ordinarily compact db.* files when data is deleted -- it simple
creates "holes" in the data which may or may not be reused. It's a good
idea to periodically checkpoint and delete the database files, and
recreate the database from the checkpoint. This will compact any dead
space in the files. For best performance, it is a good thing if you
have enough memory in your server that db.have can be held entirely in
memory.
Tony.
quis custodiet ipsos custodes -- Juvenal VI, 347-8
> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of Andres
> Fuentes
> Sent: 09 August 2006 15:37
> To: perforce-user at perforce.com
> Subject: [p4] Very big Perforce file : db.have
> Importance: High
>
> Hello all,
>
> recently I've changed our license file in the perforceroot folder, for
> that I revised the rest of files and someones are very big...
> Could be dangerous for our Perforce system that any db.* files has
> more than 2Gb size?
> I know that this is critical on NT, but could be dangerous on Linux
> to? Exists any way to repare it?
>
> Thanks in advance
>
>
> A.F.
> _______________________________________________
> perforce-user mailing list - perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
_______________________________________________
perforce-user mailing list - perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
More information about the perforce-user
mailing list