[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [PROGRAMMERING] [Database] Trans aktioner med eller uden opt ællingsfelt?



Tue, 10 Aug 2004 22:03:01 +0000 (UTC), Anders Bruun Olsen <sslug@sslug> skrev:

[klip]

Det er MySQL der benyttes, så det skal være muligt at gøre deri. Jeg kan jo lige kigge på MySQL dokumentationen og se om det er muligt. Jeg vil ihvertfald ikke skulle gøre den slags med ekstern kode, den må ikke kunne tælle forkert.

Det er et performance spørgsmål. Hvis du skal gennemtrawle 100000
records for at tælle lager op, så tager det lidt længere tid;-)

Ja, nemlig, det var også derfor jeg oprindeligt fik tanken om at vedligeholde et antal felt. Spørgsmålet er om diverse indexes og caches ikke kan sænke tiden det tager gevaldigt, således at selv med 100000 records tager det ikke særlig lang tid.

Kan der forekome spild eller "svind" på dit lager?
Så skal du have en mulighed for at korrigere tælleren, hvis ikke svindet indskrives i databasen.



-- Med venlig hilsen /Zmit/ RLU # 314205


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 22:44 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *