Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Would this be a good "quick fix" to shrink Database Load?

Xio Jester
Killed the King.
Join date: 13 Nov 2006
Posts: 813
05-11-2007 12:40
How about if, after an account is abandoned for...6 months (an example)...all of thier Inventory is deleted. Ya know...kinda like Yahoo mail does.

I remembered a Yahoo Mail address I used ta use years ago, and I even remembered the password. I logged in to see just how many 1,000s of messages I had in that Inbox.

NONE! They gave me a message saying that after a Yahoo Mail account is inactive for a certain amt of months, they delete EVERY mail message in the box because they need (?) the server space!

If ya wanna go back and use that account, you can re-activate it...but have to you START OVER, with no E-mail "Inventory" from the past.

Since all our Inventory is saved on the Database, am I wrong...or MIGHT this practice (if used) lead us into an...
Epic Golden Age Of Low Lag??
:eek::confused::cool:

I read too many comics.
_____________________
~ In Shakespeare, 'Tis The Fool Who Speaks The Most Profound Truth. ~

http://slexchange.com/modules.php?name=Marketplace&MerchantID=37521
Jessica Elytis
Goddess
Join date: 7 Oct 2005
Posts: 1,783
05-11-2007 12:44
You'd have to have an LL programmer answer for sure, but since the files are jsut stored, not being accessed, I doubt they are eating bandwidth or CPU (Server) resources. Just simply another file of bytes stored. It may save them HD space, but I'm not sure if that's an issue.

~Jessy
_____________________
When your friend does somethign stupid:
From: Aldo Stern
Dude, you are a true and good friend, and I love you like the brother that my mom claims she never had, but you are in fact acting like a flaming douche on white toast with a side order of dickknob salsa..maybe you should reconsider this course of action and we go find something else to do.
Wildefire Walcott
Heartbreaking
Join date: 8 Nov 2005
Posts: 2,156
05-11-2007 13:06
That would have zero effect on performance/database load.
_____________________
Desperation Isle Estates: Great prices, great neighbors, great service!
http://desperationisle.blogspot.com/

New Desperation Isle: The prettiest BDSM Playground and Fetish Mall in SL!
http://desperationisle.com/

Desperation Isle Productions: Skyboxes for lots (and budgets) of all sizes!
Ceera Murakami
Texture Artist / Builder
Join date: 9 Sep 2005
Posts: 7,750
05-11-2007 13:09
The difference here is that most people pay real money for what is in their inventory. They pay nothing for what collects in a Yahoo mailbox.

If I lose 6 months worth of e-mail spam and dated messages that are far too old to be relevant any more from a free e-mail account, it's no big deal.

If I am forced to take a hiatus on short notice, and return to find that all my no-transfer inventory, hundreds of US dollars worth of merchandise, got deleted by a plan like you propose? I'd be tearing someone's throat out.
_____________________
Sorry, LL won't let me tell you where I sell my textures and where I offer my services as a sim builder. Ask me in-world.
Maximillian Desoto
Max's Landfall Bar & Dock
Join date: 26 Apr 2006
Posts: 323
05-11-2007 13:13
From: Jessica Elytis
You'd have to have an LL programmer answer for sure, but since the files are jsut stored, not being accessed, I doubt they are eating bandwidth or CPU (Server) resources. Just simply another file of bytes stored. It may save them HD space, but I'm not sure if that's an issue.

~Jessy


Yes it is an issue. All of these items are stored in a database. If you eliminate stale records from the database (All that stuff from old accounts) then you don't have to search through those records to find the one that you want. Database size is a limiting factor in search speed, that's why they are using distributed databases (multiple databases, so you search through 5 smaller databases at the one time, instead of 1 big database.

Max
Osprey Therian
I want capslocklock
Join date: 6 Jul 2004
Posts: 5,049
05-11-2007 13:14
Woman awakens after being asleep for six years and says, "Where's my Inventory?"
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
05-11-2007 13:46
From: Maximillian Desoto
Yes it is an issue. All of these items are stored in a database. If you eliminate stale records from the database (All that stuff from old accounts) then you don't have to search through those records to find the one that you want. Database size is a limiting factor in search speed, that's why they are using distributed databases (multiple databases, so you search through 5 smaller databases at the one time, instead of 1 big database.

Max



Yes, database size does limit search time...but generally a database can handle hundreds of millions of records with no problem. Getting rid of...lets see...my inventory is INSANELY cluttered and huge for me at the moment...and I've been a member for 2 years collecting stuff....so...hmmm...5,998 items...assuming all avatars have as much junk as I do (I probably need to cut that in half)...you'd need to probably get rid of over 1000 accounts to see any sort of SLIGHTLY noticable change. And when I say slight...I mean slight.

The detriment outweighs the benefit in this situation I feel.
_____________________
--AeonVox--

Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
05-11-2007 13:48
*moves*
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Haravikk Mistral
Registered User
Join date: 8 Oct 2005
Posts: 2,482
05-11-2007 14:35
I think deleting it is a bit harsh, but there's nothing preventing the system taking 'dead' accounts and shifting all their stuff out of the database, compressing it and archiving it. When you re-activate your account it would all be restored again.

But as already pointed out; databases aren't overly affected by large amounts of data as they use special indexes which typically are log(n) efficiency or better, ie; as the data grows the amount of time it takes to find something levels off to the point that we could reach bazillions and it'll take about the same time as it does today. So the benefits of doing this aren't that great, nice idea though.
The real issue is the number of people all accessing stuff at once, and the system's capacity to cope with that.
_____________________
Computer (Mac Pro):
2 x Quad Core 3.2ghz Xeon
10gb DDR2 800mhz FB-DIMMS
4 x 750gb, 32mb cache hard-drives (RAID-0/striped)
NVidia GeForce 8800GT (512mb)