Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 851329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T07:24:48+00:00 2026-05-15T07:24:48+00:00

I have been using MySQL for years, mainly on smaller projects until the last

  • 0

I have been using MySQL for years, mainly on smaller projects until the last year or so. I’m not sure if it’s the nature of the language or my lack of real tutorials that gives me the feeling of being unsure if what I’m writing is the proper way for optimization purposes and scaling purposes.

While self-taught in PHP I’m very sure of myself and the code I write, easily can compare it to others and so on.

With MySQL, I’m not sure whether (and in what cases) an INNER JOIN or LEFT JOIN should be used, nor am I aware of the large amount of functionality that it has. While I’ve written code for databases that handled tens of millions of records, I don’t know if it’s optimum. I often find that a small tweak will make a query take less than 1/10 of the original time… but how do I know that my current query isn’t also slow?

I would like to become completely confident in this field in the ability to optimize databases and be scalable. Use is not a problem — I use it on a daily basis in a number of different ways.

So, the question is, what’s the path? Reading a book? Website/tutorials? Recommendations?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T07:24:48+00:00Added an answer on May 15, 2026 at 7:24 am

    EXPLAIN is your friend for one. If you learn to use this tool, you should be able to optimize your queries very effectively.

    • Scan the the MySQL manual and read Paul DuBois’ MySQL book.
    • Use EXPLAIN SELECT, SHOW VARIABLES, SHOW STATUS and SHOW PROCESSLIST.
    • Learn how the query optimizer works.
    • Optimize your table formats.
    • Maintain your tables (myisamchk, CHECK TABLE, OPTIMIZE TABLE).
    • Use MySQL extensions to get things done faster.
    • Write a MySQL UDF function if you notice that you would need some
      function in many places.
    • Don’t use GRANT on table level or column level if you don’t really need
      it.

    http://dev.mysql.com/tech-resources/presentations/presentation-oscon2000-20000719/index.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been working on an app for a couple weeks now, using GoDaddy,
I'll start by saying that over the course of a few projects, I have
I have been building applications / web apps for some time, and I guess
I've been trying to query an email address using the following statement, however after
This one has been haunting me for quite a while now.. I have been
I don't have a good knowledge of SSL principles, but just want the encryption
I am running a Spring MVC application, backed by a MySQL database which I
I need to be able to set a MySQL user variable that is used
I am currently developing a an application to allow users to search through a
My company gets a set of CSV files full of bank account info each

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.