how fastest access of data can be done from database ?

Answers were Sorted based on User's Feedback



how fastest access of data can be done from database ?..

Answer / senthil

We can retrieve data fast
1. By the query optimization
2. Set the index for Not null fields(varchar data type)
3. BY using the join query

By using the mysql_fetch_array() function to retrieve the data

Is This Answer Correct ?    0 Yes 0 No

how fastest access of data can be done from database ?..

Answer / bharanikumar

use mysql_fetch_object instead of fetch_array ,

SET cache ,

SET GLOBAL query_cache_size=5000

Is This Answer Correct ?    0 Yes 1 No

how fastest access of data can be done from database ?..

Answer / alok raghuvanshi

please tell me the algorithms or the way how fast access and
retrieval can be done from database using mysql ?????
Thanx in advance.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More MySQL Interview Questions

What is a join? Explain the different types of mysql joins.

1 Answers  


How do we use % when performing a search query?

0 Answers  


What is difference between group by and order by clause?

0 Answers  


can you tell how can you display the maximum salary in sql? : Mysql dba

0 Answers  


What is the difference between primary key and candidate key?

0 Answers  


How do I start mysql from command line?

0 Answers  


How do I run mysql from command line?

0 Answers  


How to rename an existing table in mysql?

0 Answers  


What is mysql_query?

0 Answers  


How many entries can mysql handle?

0 Answers  


How do I create a stored procedure in mysql?

0 Answers  


What is check constraint?

3 Answers  


Categories