Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: Relocate \powerhome Directory Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
renard
Groupie
Groupie
Avatar

Joined: November 01 2009
Location: United States
Online Status: Offline
Posts: 74
Posted: February 28 2019 at 18:53 | IP Logged Quote renard

How do I relocate the \powerhome directory to another drive? It is currently on my c: drive and I recently upgraded my c: drive to an SSD and the activity on the \powerhome directory is killing the SSD's life. It is down to 92% in less than a month.

Thanks,


__________________
Terry
Back to Top View renard's Profile Search for other posts by renard
 
gg102
Senior Member
Senior Member


Joined: January 29 2013
Location: United States
Online Status: Offline
Posts: 245
Posted: February 28 2019 at 19:00 | IP Logged Quote gg102

Hi,

I have a similar configuration. To minimize disk accesses, I run PH on a RAM drive. I copy the
database to Drive-C only once a day, at midnight, or if I make some changes to my app.

To start PH, I have a .BAT that copies the necessary files and directories to the RAM disk.

Just my suggestion.

It's FREE!
http://www.dataram.com/
Back to Top View gg102's Profile Search for other posts by gg102
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: February 28 2019 at 19:08 | IP Logged Quote dhoward

Renard,

Most of the drive activity is going to be the result of the eventlog database being written to. You can easily relocate this to another drive by
editing your pwrhome.ini file. This will be at the very top of the file under the [Database] section.

Of course, you'll want to first shut PowerHome down. Then copy/move the database files from their current location to the new location. Edit the
pwrhome.ini file and restart PowerHome.

Most activity will be in the eventlog file so if you want to just move that, you can. The main database will be updated as device status changes and
the like so for maximum longevity, you can move that file as well.

The only other file that may get written to is pwrhome.ini but that will be very infrequent. It would only happen when you make changes to the Setup
section of PowerHome Explorer or when window sizes/positions change will won't be very frequent.

Hope this helps,

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
renard
Groupie
Groupie
Avatar

Joined: November 01 2009
Location: United States
Online Status: Offline
Posts: 74
Posted: February 28 2019 at 23:11 | IP Logged Quote renard

DBs relocated. Works perfectly. Given the increased use for SSDs for the system drive, others may have the same issue. With Core i5- level CPUs or better, bootup is a few seconds. Program startup is basically instantaneous. Magic!

Thanks for the quick response.

__________________
Terry
Back to Top View renard's Profile Search for other posts by renard
 
Dullens
Newbie
Newbie
Avatar

Joined: March 07 2019
Location: United States
Online Status: Offline
Posts: 1
Posted: March 08 2019 at 08:30 | IP Logged Quote Dullens

That's great to know. I've literally ordered an SSD
drive earlier today. Looking forward to setting it up.
Back to Top View Dullens's Profile Search for other posts by Dullens
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum