• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Compressing Data

Sauron

Member
Hi Folks,

I have some trouble downloading data from the cloud and I read somewhere about compressing the data files to speed up this process.

I know that you can do this via tools - but can you also compress the main data files in the folders as well - and if so how do you do it?

Thanks in advance.

Steve
 
In the Launcher you can go to Tools, Manage Database, and Compress Database to free up some space from things you've added and then deleted from your local database. However, this won't change what needs to be transferred to/from the server.
 
Syncing with the cloud uses whatever protocols LWD have put in place. We (normal users) can't do anything to make the data smaller.

Are you syncing just one realm? How big is the realm (number of topics)?
 
When you compress the data files, you are compressing the data files in your folders.

Basically, what happens with a database is this. Say you add a name to your database.

"John"

Now you add three more names.

"John"
"Sara"
"Susan"
"Mike"

Now, let's say you delete Sara and Susan, but add five more names.

"John"
""
""
"Mike"
"Bill"
"Allan"
"Martha"
"Diane"
"Greg"

Now you delete Allan and Martha.

"John"
""
""
"Mike"
"Bill"
""
""
"Diane"
"Greg"

What I'm trying to illustrate is that deleting things from your database doesn't actually free up the space those items were taking. The size of your database file grows as you add records, but it never shrinks when you delete records. The illustration above isn't entirely accurate, because when you add records, it will fill in the blank space before growing the file, but this is just for a quick illustration, not an in-depth tech analysis.

So now you have this as a database file:
"John"
""
""
"Mike"
"Bill"
""
""
"Diane"
"Greg"

And you run the compression tool. The compression tool frees up all the empty space from the database file. So you end up with this:

"John"
"Mike"
"Bill"
"Diane"
"Greg"

Depending on the frequency and the dynamics of when and how you add and delete data, combined with how long it's been since your last compression, the difference after compressing your data could negligible or it could be dramatic. It could shrink your database by several gigabytes, or only by a few bytes. It all depends.
 
If you're having trouble syncing RW there are two likely culprits

1) a spotty internet connection.
2) A very large DB. (having a large DB is not itself a problem but it makes #1 more likely to be an issue)

Compressing your DB can be very helpful. Particularly if you've ever imported anything. The import process can create a lot of bloat in the DB for some reason. If you are still having problems your best bet is to check the stability and quality of your connection.
 
Back
Top