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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T10:44:31+00:00 2026-05-13T10:44:31+00:00

So on my older work, I had always used the ‘text’ data type to

  • 0

So on my older work, I had always used the ‘text’ data type to store items, like so:

0=4151:54;1=995:5000;2=521:1;

So basically: slot=item:amount;

I’ve been looking into finding the best ways of storing information in a sql database, and everywhere i go, it says that using text is a big performance hit.

I was thinking of doing something else, like having a table with the following columns:

id, owner_id, slot_id, item_id, amount

Where as now i can just insert a row for each item a character allocates. But i have no clue how to save them, since the slot’s item can change, etc. A character has 28 inventory slots, and 500 bank slots, should i insert them all at registration? or is there a smarter way to save the items

  • 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-13T10:44:32+00:00Added an answer on May 13, 2026 at 10:44 am

    Yes use that structure. Using text to store relational data defeats the purpose of a relational database.

    I don’t see what you mean by insert them all at registration. Can you not insert them as you need to?

    Edit

    Based on your previous comment I would recommend only inserting a slot as it is needed (if I understand your problem). It may be an idea to keep the ID of the slot in the application, if need be.

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

Sidebar

Related Questions

I am doing some maintenance work on an older system that is running PHP
I have some older code that doesn't appear to work on 64bit Windows 7.
In order to work with decimal data types, I have to do this with
In order to make bundle work on its own i would like to call
i would like to work on a website in order to develop other fonctionalities.
We had been using an older version of JWPlayer and the vimeo plugin w/o
I came across an older pondering Type erasure techniques , by Xeo , and
Today I tried to work on an older application and got this message: This
I've been struggling to try and get Data Services to work with the new
I had been using betareg previously on an older version of R (2.13 I

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.