Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> pobieranie listy plików przez scandir czy z mysql, co szybsze?
cyngiel
post
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


--------------------
Go to the top of the page
+Quote Post
Kszyhuu
post
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. smile.gif
Go to the top of the page
+Quote Post
cyngiel
post
Post #3





Grupa: Zarejestrowani
Postów: 101
Pomógł: 1
Dołączył: 28.12.2003
Skąd: Gdańsk

Ostrzeżenie: (0%)
-----


dzięki, faktycznie pod złym słowem musiałem szukać.
Pozdrawiam. temat zamknięty


--------------------
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.08.2025 - 17:20