| It's not a bug, it's a missing feature. | bugs.TYPO3.org | |
| Anonymous | Login | Signup for a new account | 02.09.10 17:10 CEST |
| Main | My View | View Issues | Change Log | Roadmap | Summary | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| 0006180 | [- TYPO3 Core -] Database API | feature | always | 20.08.07 22:29 | 29.08.07 09:48 | |||||||
| Reporter | Marcel Alburg | View Status | public | |||||||||
| Assigned To | ||||||||||||
| Priority | normal | Resolution | open | |||||||||
| Status | new | Product Version | 4.1.2 | |||||||||
| Summary | 0006180: Round Robin for native MySQL SELECT queries | |||||||||||
| Description |
I've create a Patch (just a proof-of-concept) to Cluster the Select Statements from Typo3. You can enter in localconf.php multiple slave servers. This servers will be selected by rand(0, [amount of slave servers]). I add a "dead File" to disable a slave server (in case of emergency or planned downtime). This file must be remove by hand from admin. It's possible to create this deadFile by hand (in case "out-of-sync" of the slave db servers). In the backend, the normal master server will be used. |
|||||||||||
| Additional Information |
---- $TYPO3_CONF_VARS['SYS']['slave_db_handler'][] = array( 'typo3_db' => 'db', 'typo3_db_host' => 'slave01', 'typo3_db_password' => 'geheim', 'typo3_db_username' => 'user', 'dead_file' => 'typo3conf/slave01_db_dead' ); $TYPO3_CONF_VARS['SYS']['slave_db_handler'][] = array( 'typo3_db' => 'db', 'typo3_db_host' => 'slave02', 'typo3_db_password' => 'geheim', 'typo3_db_username' => 'user', 'dead_file' => 'typo3conf/slave02_db_dead' ); ---- |
|||||||||||
| Tags | No tags attached. | |||||||||||
| Has patch | yes | |||||||||||
| Patch is reviewed | ||||||||||||
| PHP Version | 5.2 | |||||||||||
| TYPO3 Version | 4.1 | |||||||||||
| Attached Files |
|
|||||||||||
|
|
||||||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
| Mantis 1.1.8[^] Copyright © 2000 - 2009 Mantis Group |