[p4] Very big Perforce file : db.have
Sweeney, Tony
sweeney at ea.com
Wed Aug 9 08:48:12 PDT 2006
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
>
More information about the perforce-user
mailing list