The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tags vs DB Query?
Author Message
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #7
RE: Tags vs DB Query?
Im storing large amounts of data on mysql. For example in my shard runebooks can store 128 slots, so im storing that data on sql with a table which has 32 columns. Total rows in that table is 64,941.

If you expect performance from mysql:

Sql server must in the same machine with sphere.

You need to know how to optimize tables, adding indexes. for example if you are putting 15000 player into a table, you need to index that table by uid column.

Tags are faster, but in time they are creating high memory usage and long save times. My shard consumes 432 mb ram with 870000 items. Another shard in Turkey consumes 900 mb ram with 900000 items because they are storing everything on tags, vars etc.
(This post was last modified: 02-01-2013 07:38 AM by Shaklaban.)
02-01-2013 07:36 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Tags vs DB Query? - Ultima One - 02-01-2013, 02:20 AM
RE: Tags vs DB Query? - darksun84 - 02-01-2013, 03:21 AM
RE: Tags vs DB Query? - Ultima One - 02-01-2013, 03:54 AM
RE: Tags vs DB Query? - Wap - 02-01-2013, 03:57 AM
RE: Tags vs DB Query? - Ultima One - 02-01-2013, 05:57 AM
RE: Tags vs DB Query? - darksun84 - 02-01-2013, 06:12 AM
RE: Tags vs DB Query? - Shaklaban - 02-01-2013 07:36 AM
RE: Tags vs DB Query? - Ultima One - 02-01-2013, 07:44 AM
RE: Tags vs DB Query? - Staff_Stanic - 02-01-2013, 02:00 PM
RE: Tags vs DB Query? - Mordaunt - 02-01-2013, 10:29 PM
RE: Tags vs DB Query? - Ultima One - 02-01-2013, 11:57 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)