🔒 Closed How do you optimize the query in database

Status
Not open for further replies.
Example if I query a million row of data, what is the best way to optimize it?
considering normalized database mo. dapat cguro ung mainam sa paggamit ng mga predefined functions sa sql. specific mo ung query. ex. Ung SELECT <field1>, <field2>... instead of SELECT *.
 
Kailangan naka normalize mga data para hindi yan redundant. Isa factor rin ang pagpili ng database. RDS vs nonrelational. SQL vs NoSQL. As well as database engine
 
[XX='alasacelui, c: 1385425, m: 714257'][/XX] Right! pagination would make the data you display optimized.
 
https://phcorner.org/threads/fetchi...nput-credentials-from-mysql-database.1192027/

mga lods pa check nyu naman codes ko anong mali at kulang TIA. ta try ko pa yung select query na naka identify per td

Pagination, indexing, query caching it depends on database engine
[XX='alasacelui, c: 1385425, m: 714257'][/XX] Right! pagination would make the data you display optimized.
use pagination instead
avoid redundant
kunin mo lang ung data na gusto mo if gagamit ng SELECT
Kailangan naka normalize mga data para hindi yan redundant. Isa factor rin ang pagpili ng database. RDS vs nonrelational. SQL vs NoSQL. As well as database engine
considering normalized database mo. dapat cguro ung mainam sa paggamit ng mga predefined functions sa sql. specific mo ung query. ex. Ung SELECT <field1>, <field2>... instead of SELECT *.
Example if I query a million row of data, what is the best way to optimize it?
 
Status
Not open for further replies.

Similar threads

About this Thread

  • 9
    Replies
  • 635
    Views
  • 8
    Participants
Last reply from:
IKAH

Trending Topics

Online now

Members online
1,166
Guests online
2,940
Total visitors
4,106

Forum statistics

Threads
2,308,108
Posts
29,183,301
Members
1,191,842
Latest member
Leonardo09
Back
Top