Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 101 Pomógł: 1 Dołączył: 28.12.2003 Skąd: Gdańsk Ostrzeżenie: (0%)
|
Witam, które rozwiązanie jest bardziej optymalne. Pobieranie listy plików wprost z folderu, poprzez scandir, czy też lepiej najpierw wgrać tablice do mysql i stamtąd pobierać?
pozdrawiam |
|
|
|
![]() |
Post
#2
|
|
|
Grupa: Zarejestrowani Postów: 157 Pomógł: 32 Dołączył: 24.08.2009 Ostrzeżenie: (0%)
|
Cytat Nobody here can really tell you which is faster either, since it depends on many factors. The size and types of hard drives and the MySQL configuration can all have big impacts on performance. None of us know what your hardware or software configurations are. Nobody here knows how many pictures you're expecting to deal with? 5 pictures? 10? 4 million? That too makes a big difference. Anyways, typically the answer to this question is the database is better. Drugi rekord Googla. Wszędzie mówią, że MySQL jest szybsze i bardziej optymalne. W bazach siła. (IMG:style_emoticons/default/smile.gif) |
|
|
|
cyngiel pobieranie listy plików przez scandir czy z mysql 24.02.2010, 17:04:06
cyngiel dzięki, faktycznie pod złym słowem musiałem szukać... 25.02.2010, 20:24:45 ![]() ![]() |
|
Aktualny czas: 28.12.2025 - 12:58 |