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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:29:09+00:00 2026-06-15T18:29:09+00:00

I just want to ask if there would be a difference getting a report

  • 0

I just want to ask if there would be a difference getting a report from a MYSQL database directly or from a MYSQL database dumped JSON.

I’m new with JSON and is looking everywhere for tutorials and samples so a suggestion is highly appreciated.

My scenario would be getting data from a MYSQL database then dump this information to an external JSON file then process it with PHP.

The question is

  1. Do i need to apply filters when dumping data to my JSON file depending on the users request? If so how will I do this for multiple users provided that they use different filters?

  2. Is it advisable to dump the whole database to JSON from backend? If this is the case what if I have a 100MB worth of JSON file. (I already have 35MB worth of data from a 3 day database, and i need to atleast process a whole month).

  3. If dumping from a JSON file results to an array how can I apply filters to it without looping through the whole array then checking values using IF STATEMENT?

I could always get the data from a MYSQL database directly using PHP. but like I said if this can be done with JSON and would result to a better performing site I would rather go for it.

  • 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-15T18:29:10+00:00Added an answer on June 15, 2026 at 6:29 pm

    Please don’t do this.

    There is no reason to do this for each request. It will result in worse performance.

    PHP provides all tools in standard language to interact safely with MySQL database.

    Do i need to apply filters when dumping data to my JSON file depending on the users request? If so how will I do this for multiple users provided that they use different filters?

    If you needed to do this for some reason, (don’t do it) then yes might as well minimize the data you get from mysql and have to write to the os

    Is it advisable to dump the whole database to JSON from backend? If
    this is the case what if I have a 100MB worth of JSON file. (I already
    have 35MB worth of data from a 3 day database, and i need to atleast
    process a whole month).

    No, it is not advisable to dump any data to a JSON file for a live request. For MYSQL backups it is a good idea to back up mysql data into a file, commonly a .sql file

    If dumping from a JSON file results to an array how can I apply
    filters to it without looping through the whole array then checking
    values using IF STATEMENT?

    This illustrates the need for a mysql tutorial. Mysql stores data on your filesystem. It is a highly optimized, battle tested system maed to filter results. Do all filtering in mysql unless you have a really good reason not to

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

Sidebar

Related Questions

I just want to ask if there is any PHP/MySQL datatype that can store
i just want to ask, how can i save my json file from url
I just want to ask, I am new to Java and I would like
Just want to ask if i can use Custom Validator in client side without
Just want to ask can netbean IDE get connected to clearcase remote client server
I just want to ask if anybody has done something like this. Basically, it's
I just want to ask if is it okay that I use native PHP
i just want to ask about my html code here, i have a bit
I just want to ask for your experience. I'm designing a public website, using
I'm sorry if my question is silly because I just want to ask what

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.