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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T20:33:14+00:00 2026-05-22T20:33:14+00:00

the query i’d like to speed up (or replace with another process): UPDATE en_pages,

  • 0

the query i’d like to speed up (or replace with another process):

UPDATE en_pages, keywords
SET en_pages.keyword = keywords.keyword
WHERE en_pages.keyword_id = keywords.id

table en_pages has the proper structure but only has non-unique page_ids and keyword_ids in it. i’m trying to add the actual keywords(strings) to this table where they match keyword_ids. there are 25 million rows in table en_pages that need updating.

i’m adding the keywords so that this one table can be queried in real time and return keywords (the join is obviously too slow for “real time”).

we apply this query (and some others) to sub units of our larger dataset. we do this frequently to create custom interfaces for specific sub units of our data for different user groups (sorry if that’s confusing).

this all works fine if you give it an hour to run, but i’m trying to speed it up.

is there a better way to do this that would be faster using php and/or mysql?

  • 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-22T20:33:15+00:00Added an answer on May 22, 2026 at 8:33 pm

    I actually don’t think you can speed up the process.

    You can still add brutal power to your database by cluserting new servers.

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

Sidebar

Related Questions

Query query = session.createQuery(Update Contact set firstname = 'sdf' where firstname= 'Deepak'); int result
Query: SELECT * FROM table WHERE fieldA LIKE '%%' AND fieldB LIKE '%%' AND
Query: update mytable set mycol = null where id in ( 583048, 583049, ...
Query was this: CREATE TABLE `query` ( `id` int(11) NOT NULL auto_increment, `searchquery` varchar(255)
QUERY 1: $link = mysql_connect('localhost', 'root', ''); mysql_select_db('rems', $link); mysql_query('SET AUTOCOMMIT=0; START TRANSACTION', $link);
Query below takes 20 seconds to run. user_table has 40054 records. other_table has 14000
Query to get total commissions for an employee, and update their totalCommission column in
Query 1 CREATE TABLE [dbo].[VarArray[]](column int) Go begin tran insert into VarArray(i) select 1
mysql_query(), query = CREATE TABLE hhh ( Bdate DATE, 6 INT(11) DEFAULT (3) )
String query = CREATE TABLE \ EtherMap\.\ table_name\( feature_name (20)); Here feature_name is the

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.