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 8507383
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T02:51:22+00:00 2026-06-11T02:51:22+00:00

I need to organize a Mysql Database of 7,000,000 records. It needs to be

  • 0

I need to organize a Mysql Database of 7,000,000 records. It needs to be queryable by a Lat/Long square, example: 22.54x -134.74x. It also needs to be broken down by month and name. There are about 700 possible names.

I have no clue how to manage all of this data so that someone within that lat/long square can quickly query only the names that exist inside that month and lat/long square.

Do I need 10,000+ tables for every lat/long possibility? Then from there broken down into months and names? My mind is about to explode.

Thanks for your help in advance!

  • 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-06-11T02:51:24+00:00Added an answer on June 11, 2026 at 2:51 am

    MySQL offers spatial extensions that are specifically designed to efficiently deal with lat/long type problems.

    If you use these extensions, a given row would contain the relevant latitude and longitude of a place, and the query would describe the geometric boundary that you are interested in.

    Your query can look something along the lines of

    SELECT name, AsText(location) FROM Points 
        WHERE X(location) > 0 AND X(location) < 1 AND
        Y(location) > 38 AND Y(location) < 39 
    

    This would select places whose location (location here is a spatial column in the database) has a longitude between 0 and 1, and a latitude between 38 and 39.

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

Sidebar

Related Questions

I need to organize cache in mySql database for address - coordinates. What is
I have a need to upload 4,000 small audios (~30 seconds long) not ringtones
I have a table in my MySQL database containing 200K records. Each record contains
I need to create an array from a mysql database organized like so id
I need to organize windows service which should interacts with applications next way: Application
I've a large table of Items and I need to organize them by Category,
TO CLARIFY I'VE GOT THE VALUES OF THE CHECKED CHECKBOXES. I NEED TO ORGANIZE
How it is better to organise a large database of addresses? It is need
I have about 3000 different files I need to organize, and retrieve at different
I have the following problem. I need to organize automatic upload to deploy server

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.