|
---|
|
CMaNGOS Commits Изменения, принятые в официальный репозиторий ядра CMaNGOS. git://github.com/cmangos/mangos-wotlk.git |
|
Опции темы | Поиск в этой теме | Опции просмотра |
19.01.2011, 23:10 | #1 |
News Bot
Регистрация: 20.11.2009
Сообщений: 1,290
Сказал(а) спасибо: 0
Поблагодарили 5 раз(а) в 5 сообщениях
|
[11045] Rewrite internals of DB layer. Simplify code and use less locking. Spawn and use separate co
автор: Ambal
<pre>m src/game/CharacterHandler.cpp m src/game/ObjectMgr.cpp m src/game/World.cpp m src/game/World.h m src/mangosd/Master.cpp m src/mangosd/mangosd.conf.dist.in m src/realmd/Main.cpp m src/shared/Database/Database.cpp m src/shared/Database/Database.h m src/shared/Database/DatabaseImpl.h m src/shared/Database/DatabaseMysql.cpp m src/shared/Database/DatabaseMysql.h m src/shared/Database/DatabasePostgre.cpp m src/shared/Database/DatabasePostgre.h m src/shared/Database/SqlDelayThread.cpp m src/shared/Database/SqlDelayThread.h m src/shared/Database/SqlOperations.cpp m src/shared/Database/SqlOperations.h m src/shared/revision_nr.h </pre> <pre style='white-space:pre-wrap;width:81ex'>[11045] Rewrite internals of DB layer. Simplify code and use less locking. Spawn and use separate connections for sync and async DB requests. Implement database connection pool for SELECT queries. Up to maximum 16 connections supported. Disable 'autocommit' mode for MySQL. UPDATE YOUR CONFIGS! Defaults: LoginDatabaseConnections = 1 WorldDatabaseConnections = 1 CharacterDatabaseConnections = 1 If you are not using <mtmaps> patch do not change the default settings - this is useless. You can try following option in your MySQL config to squeeze even more performance from your DB: [mysqld] transaction-isolation = READ-COMMITTED Great thanks to Undergarun, kero99 and selector for making tests and providing very useful feedback and DB statistics! Have fun :) Signed-off-by: Ambal <pogrebniak@gala.net></pre> Дальше... |
|
|
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
[10902] Simplify code for triggering linked trap | newsbot | CMaNGOS Commits | 0 | 21.12.2010 13:50 |
[9659] Simplify resetTalent code. | newsbot | CMaNGOS Commits | 0 | 02.04.2010 23:40 |
[9399] Simplify config options loading code. | newsbot | CMaNGOS Commits | 0 | 16.02.2010 22:20 |
Simplify code. | newsbot | CMaNGOS Commits | 0 | 10.02.2010 21:20 |
[9338] Simplify group loading code. | newsbot | CMaNGOS Commits | 0 | 09.02.2010 09:00 |