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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:19:28+00:00 2026-05-25T11:19:28+00:00

I was reading around, and I know it might be impossible to accomplish as

  • 0

I was reading around, and I know it might be impossible to accomplish as I wished it would be but I am hoping there is a way, so here goes..

I have ID’s of users and I have a count for each.
I would like to be able to store those values in machine memory, and update the DB only once in a while, but absolutley not constantly.
The page is being accessed from many users of course, and I want the array to stay relevant for each user, and update as necessary. (That’s another reason I don’t want to use the DB. Updates take time with indexed columns, right?)

an array such as :
$my_superglobal_arr = (‘1’=>304,’2’=>763,’6’=>12,’13’=>96);
would have been perfect.

Any suggestions ?

Thanks !

  • 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-25T11:19:28+00:00Added an answer on May 25, 2026 at 11:19 am

    Updates take time with indexed columns, right?

    Right. However, it depends.
    I’d strongly suggest you to go for the database first, get practical experience with updates and stuff, learn what particular amount of users you can call “many”. And only then decide, if you really need your unusual setup, is it really necessary or just imaginary fantasies.

    Reading your other questions I only can say that to learn SQL first is a must.

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

Sidebar

Related Questions

I'm new to AutoMapper and I've been reading and reading questions around here but
I know you have to synchronize around anything that would change the structure of
I was reading the docs and some questions around here and couldn't understand how
I'm new to C# and .NET, ,and have been reading around about it. I
I have asked a similar question before here , but after much thought, and
Have spent a week trying to wrap my head around Yii framework, but while
Based on my reading around, I have learned that I need to set a
Was reading through some text and playing around with attempting to write past the
I'm reading some data for countries around the world and am playing with Google's
I'm reading a local file using a BufferedReader wrapped around a FileReader: BufferedReader reader

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.