hello, > >> jah, remelem az innodb_log_file_size-t is vele allitottad, es a > > nem, ezt nehany forumon olvastam, de nem volt sehol ez az > > osszefugges. > > > > Ideznem Bartokot: Csak tiszta forrasbol ;)
nocsak, komolyzenei szakertok is jarnak errefele? > nstation-1:/usr/share/mysql# fgrep 'Set .._log_file_size' *.cnf > my-huge.cnf:# Set .._log_file_size to 25 % of buffer pool size > my-large.cnf:# Set .._log_file_size to 25 % of buffer pool size > my-medium.cnf:# Set .._log_file_size to 25 % of buffer pool size > my-small.cnf:# Set .._log_file_size to 25 % of buffer pool size > > Szoval az example konfigokban benne van, csak a disztribuciod keszitoi > kihereletek. forumban olvastam tobb helyen is, ezt az egyet irtak, en voltam figyelmetlen, h jobban utana olvassak. > > insert into table1 ... > > commit() > > > > lastid = cursor.lastrow_id > > > > insert into table2 (lastid, ...) > > insert into table3 (lastid, ...) > > insert into table4 (lastid, ...) > > commit() > > > > ebbol van kb 5-6 ilyen blokk. > > > > az egyeb betoltes soran elokerulo kulcsokat nem select-el oldom > > meg, hanem egy dict (perl-ben hash?) valtozoban, meg ez sem > > lassit. (az elejen van egy select, de ez konstans ido) > > > > Ez a lastid = cursor.lastrow_id eleg furan hangzik. Ez a lastrow_id > hogyan keletkezik? auto_increment-el definialt attributumnal insert utan visszakapod a beszurt rekord ezen erteket. nativ sql-ben is van, asszem' select lastrowid v valami ilyesmi. a. _________________________________________________ linux lista - [email protected] http://mlf2.linux.rulez.org/mailman/listinfo/linux
