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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T16:22:01+00:00 2026-05-19T16:22:01+00:00

A lil background info At the moment I have a script that parses a

  • 0

A lil background info

At the moment I have a script that parses a page on a site (not controlled by me) into a mysql database for a game (Getting ingame attack logs). I’ve recently decided I wanted to upgrade this faster and I’ve completely recoded the parser so that it stores the data into an array. Now onto the basis of my question:

My first version currently has around 50 columns, one for each unit times by how many a user lost/has left and a few other bits and pieces – these often go unused if the user doesn’t actually lose a unit or doesn’t loose a unit of that type. Now if I was to JSON encode the array and literally stick that into the database

1) will that be faster than the current one when inserting?

2) Lets say I need to get that data back on the front page and show 100 results(Only a summary is needed so only 3 columns selected on the first way), if I was to do the first way I could show the data with one select and while loop it, would that be slower or faster than me selecting it from the db, then decoding it and processing it?

(Also if you know of a better way, don’t hesitate to say 🙂 – or if I should do a mix of the two)

  • 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-19T16:22:02+00:00Added an answer on May 19, 2026 at 4:22 pm

    The issue isn’t so much with the inserting, which you only do once per record – but in the reading. You will lose of all MySQLs data-processing powers as you will just have a JSON lump sat in a big text field.

    It would be much more performant to be able to select the records you need from the database using a MySQL query than it would be getting all records from the database and looping around them in memory.

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

Sidebar

Related Questions

<a href=#page class=lil-close>Close</a> I have this button to close a lightbox. The lightbox contains
Ok so i have a lil function that will get a value from a
I have an array of strings that I would like to use the join
Hi I have created a user message page with this plugin. The grid will
I've got a bunch of images wrapped in dummy anchors that have their source
I have a lil problem with opening new tab in the browser after server
I am lil bit new to objective C. Here is my requirement. I have
So for our Final Year Project we are making a nifty lil app that
I have a lil confusion regarding the changes for OCT 1st deadline. I am
i've got this lil' mysql table: +----+-------+ | id | value | +----+-------+ |

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.