![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 8 Pomógł: 0 Dołączył: 29.09.2007 Ostrzeżenie: (0%) ![]() ![]() |
Witam (IMG:http://forum.php.pl/style_emoticons/default/exclamation.gif)
W tabeli mam ponad 16000 rekordów do których kolejno wykonuje zapytania (UPDATE). Skrypt wykonujący te 16000 zapytań trwa około godziny i mam pytanie czy jest jakieś sposób aby wykonywało się to szybciej (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) Po testach wyszło mi że im wiecej rekordów w tabeli tym dłużej trwa pojedyncze zapytanie. Raczej nie mogę podzielić tej tablicy na kilka mniejszych :/ |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 8 Pomógł: 0 Dołączył: 29.09.2007 Ostrzeżenie: (0%) ![]() ![]() |
CREATE TABLE `ranking7` (\n `ID` int(10) unsigned NOT NULL auto_increment,\n `teamID` int(11) NOT NULL,\n `teamName` text NOT NULL,\n `leagueID` int(8) NOT NULL,\n `arenaCapacity` int(11) NOT NULL,\n `points` int(2) NOT NULL,\n `wins` int(2) NOT NULL,\n `draws` int(2) NOT NULL,\n `loses` int(2) NOT NULL,\n `gScores` int(11) NOT NULL,\n `gLost` int(11) NOT NULL,\n `ranq` int(11) NOT NULL,\n `lposition` int(2) NOT NULL,\n `league` text NOT NULL,\n PRIMARY KEY (`ID`)\n) ENGINE=MyISAM AUTO_INCREMENT=16385 DEFAULT CHARSET=latin2
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 5.10.2025 - 15:22 |