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

  • SEARCH
  • Home
  • 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 7605917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T00:17:13+00:00 2026-05-31T00:17:13+00:00

I currently have 2 tables, one is idtracker which has around 30,000 rows and

  • 0

I currently have 2 tables, one is idtracker which has around 30,000 rows and the other is download_tracker that has around 150,000 rows. I am writing an SQL query that compares the uuid and pluginId column in the two tables and returns the matches that were found. Here is what I currently have :

    SELECT idtracker.uuid 
FROM idtracker, download_tracker 
WHERE idtracker.uuid = download_tracker.pluginId

The issue is that this command pretty much shuts down my apache server when I try to run it. I’m guessing the reason for this is that there are so many rows and comparing each one to every row in the opposite table takes a lot of time. Is there any way to try to work around this and get the same results, or is there just no way to compare columns in tables once they have gotten this big.

Also all that I really need is the count so I have tried using the COUNT (DISTINCT …) and that did not seem to help out the timing.

  • 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-31T00:17:14+00:00Added an answer on May 31, 2026 at 12:17 am

    That is not a lot of data and it shouldn’t shut down your server. It should return in seconds.

    Try adding indexes on both tables:

    idtracker(uuid) and download_tracker(pluginId)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have two tables, one is products and the other is options (colour,
I currently have two tables, one is called games, the other called rounds. Here
I currently have a user's table which contains a one-to-one relationship for Youtube OAuth
Greetings, I have some mysql tables that are currently using an md5 hash as
I currently have a table which only has a single editable column. I have
I currently have a message system which writes to two tables, sent and received
I have two tables. One that keeps all of my threads started on a
I currently have two joined tables in a SQL Server database, one with news
I currently have two tables, one for pages (objects) and one for images (media).
Brief: I'm fairly new to databases and currently have one with two tables for

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.