Hegedüs Ervin wrote:
> hello,
> 
>>>> Innodb parameterekket allitgattad?
>>> innodb_buffer_pool_size-t allitottam - forumokban olvastam, ahol
>>> hasonlo panasz volt, de nem hozott megoldast.
>>
>> 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 ;)

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.

>> transaction-isolation lehet READ-COMMITTED, ha nem utkozik a designal.
> 
> ezzel mit is erek el?

Ahogyan a kovetkezot nezem, semmit.

> meg csak olyan sincs, hogy INSERT elott kellene valami mas ertek
> mas tablabol, nagyjabol ennyi a pszeudo kod:
> 
> 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?

-- 
Gabor HALASZ <[email protected]>

_________________________________________________
linux lista      -      [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz