lazda144 Posted September 21, 2008 Report Share Posted September 21, 2008 Kaa var ievietot datubaazee datus uz noteiktu laiku, piemeeram, uz meenesi? Lai peec meenesha datubaazee vairs nepastaaveetu. Link to comment Share on other sites More sharing options...
pilots Posted September 21, 2008 Report Share Posted September 21, 2008 Cron job tev var līdzēt. Link to comment Share on other sites More sharing options...
lazda144 Posted September 21, 2008 Author Report Share Posted September 21, 2008 (edited) vareetu luudzu nedaudz plashaak? EDIT: un cik nopratu tas Cron job ir prieks liux! Nw kautkaada varianta kaa to ar php izdariit? Edited September 21, 2008 by lazda144 Link to comment Share on other sites More sharing options...
andrisp Posted September 21, 2008 Report Share Posted September 21, 2008 Uz Windows arī ir scheduleris. Link to comment Share on other sites More sharing options...
Gints Plivna Posted September 21, 2008 Report Share Posted September 21, 2008 Šeit starp citu bija ļoti līdzīga tēma. Gints Plivna http://datubazes.wordpress.com Link to comment Share on other sites More sharing options...
Zandis Murāns Posted September 22, 2008 Report Share Posted September 22, 2008 (edited) Tajā momentā, kad vajag uzzināt datubāzes saturu, pirms šīs operācijas (datubāzes satura iegūšanas), palaid kveriju (pieņemot, ka tas ir mysql) DELETE FROM TABULA WHERE IERAKSTA_DATUMS < now() - INTERVAL 1 MONTH; Edited September 22, 2008 by Zandis Murāns Link to comment Share on other sites More sharing options...
lazda144 Posted September 22, 2008 Author Report Share Posted September 22, 2008 bet kaa veikt paarbaudi ja php fails netiek lietots biezi? index failaa likt? Link to comment Share on other sites More sharing options...
KarlisBa Posted September 22, 2008 Report Share Posted September 22, 2008 bet kaa veikt paarbaudi ja php fails netiek lietots biezi?index failaa likt? Jā vai, piemēram, kādā failā, kas tiek visu laiku pielietots. Kaut kas tamlīdzīgs varētu būt db_config vai nu kā kurš to sauc fails, kur ir db nosaukums, parole, u.t.t, jo tas jau tiek katrā failā malts uz riņķi, protams ja ir mysql datubāze piesaistīta lapai. Link to comment Share on other sites More sharing options...
Recommended Posts