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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T18:34:30+00:00 2026-06-07T18:34:30+00:00

I have a query that joins many columns. I think it currently is fast

  • 0

I have a query that joins many columns. I think it currently is fast enough (5000 rows in result) but what about if the amount of entries increases?

If I want to display the result via an PHP echo statement the page overloads…

What can I do to display a result big like this?

This is my SQL query:

SELECT DISTINCT 
    dominios.dominio as dominio, 
    dominios.id_dominio as id_dominio, 
    dominios.data_insercao as data_insercao, 
    datas.data_insercao as data_insercao, 
    datas.data_expiracao as data_expiracao, 
    dnss.record1 as dns1, 
    entidades_gestoras.nome as ent_nome, 
    entidades_gestoras.email as ent_email, 
    estados.estado as estado, ips.ip as ip, 
    responsaveis_tecnicos.nome as resp_nome, 
    responsaveis_tecnicos.email as resp_email, 
    titulares.nome as tit_nome, 
    titulares.morada as tit_morada, 
    titulares.email as tit_email, 
    titulares.localidade as tit_localidade, 
    titulares.cod_postal as tit_postal 
from 
    dominios 
        left join datas 
            on dominios.id_dominio=datas.id_dominio 
        left join dnss 
            on dominios.id_dominio=dnss.id_dominio 
        left join entidades_gestoras 
            on dominios.id_dominio=entidades_gestoras.id_dominio 
        left join estados 
            on dominios.id_dominio=estados.id_dominio 
        left join ips 
            on dominios.id_dominio=ips.id_dominio 
        left join quantidade_dnss 
            on dominios.id_dominio=quantidade_dnss.id_dominio 
        left join responsaveis_tecnicos 
            on dominios.id_dominio=responsaveis_tecnicos.id_dominio 
        left join titulares 
            on dominios.id_dominio=titulares.id_dominio

And yes, I need all the values to apply filters, and to do a instant search on the table.

Thanks for any help 🙂

  • 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-07T18:34:32+00:00Added an answer on June 7, 2026 at 6:34 pm

    I would recommend to use jQuery and the plugin Datatables which lets you have a server-side search and is also very easy to set up.

    I have it in several of my projects and there are tables with like 50k rows and more. If you only load 100 rows and let the user page through them or search this will make for a good and smooth userexperience.

    For ajaxdatasourced Tables have a look at this Link

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

Sidebar

Related Questions

I have the following query with many LEFT JOIN clauses that has 7 result
I have the following query that joins a bunch of tables. I'd like to
I have a quite complex multi-join TSQL SELECT query that runs for about 8
I have a query that creates a result set like this: Rank Name 1
I have a table with around 6 million rows and has many columns with
I have a Complex SQL Query which is written with lot many Joins and
I have used a JOIN to put together a query that uses columns from
I have a fairly complex LINQ query that joins several tables, and selects a
I have a mysql query that uses union to join multiple queries into one
I am using in C# MYsql .I have query that works if I run

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.