Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 million data cache? #898

Closed
eskoctr opened this issue Feb 22, 2023 · 5 comments
Closed

2 million data cache? #898

eskoctr opened this issue Feb 22, 2023 · 5 comments

Comments

@eskoctr
Copy link

eskoctr commented Feb 22, 2023

What's your question ?

How can I cache a mysql table with 2 million rows?

References (optional)

No response

Do you have anything more you want to share? (optional)

No response

@github-actions
Copy link

Hello curious contributor !
Since it seems to be your first contribution, make sure that you've been:

  • Reading and searching out our WIKI
  • Reading and agreed with our Code Of Conduct
  • Reading and understood our Coding Guideline
  • Reading our README
    If everything looks unclear to you, tell us what 😄
    The Phpfastcache Team

@Geolim4
Copy link
Member

Geolim4 commented Feb 22, 2023

How can I cache a mysql table with 2 million rows?

Short answer: Don't.

Long answer: If caching 2 millions rows is the solution to some overload/timeout issue then you probably asking yourself the wrong question.

@eskoctr
Copy link
Author

eskoctr commented Feb 22, 2023

Thanks. So, is partitioned storage possible? I'm trying to do something special. For example, there is a 200mb document, but I want to separate it into 3mb documents and combine them in the query. Is it possible?

@Geolim4
Copy link
Member

Geolim4 commented Feb 22, 2023

You don't need a cache, you either need a CDN or a document storage (Solr, AWS, or NoDB storage).

@Geolim4
Copy link
Member

Geolim4 commented Mar 20, 2023

Hello @eskoctr ,

I’m closing this issue for now because of (inactivity / outdated code / …).

You can always reopen it though! :)
Please (update the issue / add comment / clarify …).

Regards,
Georges.L

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants