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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T00:01:16+00:00 2026-05-20T00:01:16+00:00

Well, I have been working with large amount of network data. In which I

  • 0

Well, I have been working with large amount of network data. In which I have to filter out some IP address and store their communication with other IP’s. But the number of IP’s are huge, hundreds of thousands, for which I have to create so many tables. Ultimately I my MySQL access will slow down, everything will slow down. Each table will have few columns, many rows.

My Questions:
Is there a better way to deal with this, I mean storing data of each IP?
Is there something like table of tables?

[Edit]
The reason I am storing in different tables is, I have to keep removing and add entries as time passes by.
Here is the table structure

CREATE TABLE IP(syn_time datetime, source_ip varchar(18), dest_ip varchar(18));

I use C++ to access with ODBC connector

  • 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-20T00:01:17+00:00Added an answer on May 20, 2026 at 12:01 am
    • Don’t DROP/CREATE tables frequently. MySQL is very buggy with doing that, and understandably so–it should only be done once when the database is created on a new machine. It will hurt things like your buffer pool hit ratio, and disk IO will spike out.

    • Instead, use InnoDB or xtradb, which means you can delete old rows whilst inserting new ones.

    • Store the IP in a column of type int(10) unsigned e.g. 192.168.10.50 would be stored as (192 * 2^24) + (168 * 2^16) + (10 * 2^8) + 50 = 3232238130

    • Put all the information into 1 table, and just use an SELECT ... WHERE on an indexed column

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

Sidebar

Related Questions

Well, i have been working on Paypal IPN. I need some information relate to
I have been working on a comparatively large system on my own, and it's
I have a large validation form that is working very well except for one
I have been recording Twitter data for a project I'm working on the date
I have been working in some C language function that is going to be
A friend and I have been working on a moderate-sized PHP website for some
The differences between StringBuilder and StringBuffer in Java are well documented and have been
I have been using LinqToSQL for quite a while as well as using Devart,
Similar questions have been asked but cannot find a solution that works well. What
Disclaimer I am well aware that PHP might not have been the best choice

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.