Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. in mysql database i implemented simple query on 1 like select * from dbo.company limit 2 .it taking tomuch time.except that table remaning all tables are working well. in that table records also very less.i try to editing,droping,deleting any thing i

in mysql database i implemented simple query on 1 like select * from dbo.company limit 2 .it taking tomuch time.except that table remaning all tables are working well. in that table records also very less.i try to editing,droping,deleting any thing i

Scheduled Pinned Locked Moved Database
databasecssmysql
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 9633255
    wrote on last edited by
    #1

    in mysql database i implemented simple query on 1 like select * from dbo.company limit 2 .it taking tomuch time.except that table remaning all tables are working well.
    in that table records also very less.i try to editing,droping,deleting any thing it is not responding.any one know answer Please give answer.

    L 1 Reply Last reply
    0
    • U User 9633255

      in mysql database i implemented simple query on 1 like select * from dbo.company limit 2 .it taking tomuch time.except that table remaning all tables are working well.
      in that table records also very less.i try to editing,droping,deleting any thing it is not responding.any one know answer Please give answer.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Member 9671482 wrote:

      Please give answer.

      Fetching a lot of data takes a lot of time. There's no cure for that, other than fetching less. Here's some idea's you can try if you need more speed;

      • verify and update the indexes (what fields are you using in your search?)
      • look into (horizontal) paritioning
      • select fewer columns (are you really using them all?)
      • execute the optimize table[^]-command to compact the table (if deleted a lot recently)

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups