Jump to content

Mysql Populating Table with Million Entries


yimsg

Recommended Posts

Dear All,

 

  I have attached here with a schema, of MySql DB format i am refering to for the topic i need help on.

 

I want to know what is the best way to achieve this problem / task.

 

I have a profile table, and a category table, and a table to map profiles to category.

Which allows me to define/add into the category_profile_mapping table, profile ids against a category id.

 

Each category can have anywhere between 2 to 1,00,000 profiles mapped to it.

 

I have another table called sms_out. hence on the site, when i select a category and submit the form value with message, i want to know what is the best way to populate sms_out with MSISDN from the table "Profile" and the message from the form.

The list of MSISDN will be based on the category id selected, hence the profile id's will be available in the category_profile_mapping table.

 

I am bad at explaining the problem, however incase you folks need more info do let me know. i shall be glad to provide the same to .. all of you guys who are willing to help me :)

 

PS:  I am asking this question, cuz i want to knw the best solution to achieve this, when there is entries in millions to be done at one form submit.

 

[attachment deleted by admin]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.