Questions tagged [storage]

Details on how data is being kept in memory/on disks, most frequently being applied to databases, media banks and backup-recovery solutions.

Filter by
Sorted by
Tagged with
415votes
56answers
738kviews

Storing Images in DB - Yea or Nay?

So I'm using an app that stores images heavily in the DB. What's your outlook on this? I'm more of a type to store the location in the filesystem, than store it directly in the DB. What do you think ...
378votes
5answers
167kviews

What's the difference between CharField and TextField in Django?

The documentation says that CharField() should be used for smaller strings and TextField() should be used for larger strings. Okay, but where is the line drawn between "small" and "...
user avatar
376votes
13answers
168kviews

AWS EFS vs EBS vs S3 (differences & when to use?) [closed]

As per the title of this question, what are the practical differences between AWS EFS, EBS and S3? My understanding of each: S3 is a storage facility accessible any where EBS is a device you can ...
user avatar
  • 5,469
353votes
4answers
160kviews

What column type/length should I use for storing a Bcrypt hashed password in a Database?

I want to store a hashed password (using BCrypt) in a database. What would be a good type for this, and which would be the correct length? Are passwords hashed with BCrypt always of same length? EDIT ...
user avatar
  • 54.6k
244votes
14answers
177kviews

What are the main performance differences between varchar and nvarchar SQL Server data types?

I'm working on a database for a small web app at my school using SQL Server 2005. I see a couple of schools of thought on the issue of varchar vs nvarchar: Use varchar unless you deal with a lot of ...
user avatar
182votes
9answers
218kviews

Android: Storing username and password?

If I want to store the username and password to be used inside an Android application, what is the best way to do it? Is it through the preferences screen (but what if the user misses this?), or pop ...
user avatar
  • 108k
177votes
5answers
147kviews

Repository size limits for GitHub.com

Lately I have been using GitHub and I am wondering what is the repository size limit for files hosted on github.com? I have been wondering this because I was thinking of using GitLab, since it allows ...
user avatar
169votes
4answers
14kviews

keep rsync from removing unfinished source files

I have two machines, speed and mass. speed has a fast Internet connection and is running a crawler which downloads a lot of files to disk. mass has a lot of disk space. I want to move the files from ...
user avatar
  • 4,405
153votes
2answers
96kviews

Best way to synchronize local HTML5 DB (WebSQL Storage, SQLite) with a server (2 way sync) [closed]

I am developing a mobile web application (for iPhone & Android) with a local database (using html5 webstorage) so my app is still usable when the user is offline. This is working perfectly, but I ...
user avatar
  • 5,419
148votes
10answers
216kviews

How to Get True Size of MySQL Database?

I would like to know how much space does my MySQL database use, in order to select a web host. I found the command SHOW TABLE STATUS LIKE 'table_name' so when I do the query, I get something like this:...
user avatar
  • 1,787
131votes
4answers
132kviews

What are Transient and Volatile Modifiers?

Can someone explain what the transient and volatile modifiers mean in Java?
user avatar
118votes
10answers
44kviews

What is the difference between persistent volume (PV) and persistent volume claim (PVC) in simple terms?

What is the difference between persistent volume (PV) and persistent volume claim (PVC) in Kubernetes/ Openshift by referring to documentation? What is the difference between both in simple terms?
user avatar
  • 1,789
105votes
5answers
61kviews

IOPS versus Throughput

What is the key difference between IOPS and Throughput in large data storage? Does file size have an effect on IOPS? Why?
user avatar
  • 1,225
100votes
11answers
95kviews

How much storage would be required to store a human genome?

I'm looking for the amount of storage in bytes (MB, GB, TB, etc.) required to store a single human genome. I read a few articles on Wikipedia about DNA, chromosomes, base pairs, genes, and have some ...
user avatar
91votes
13answers
49kviews

How do I get Django Admin to delete files when I remove an object from the database/model?

I am using 1.2.5 with a standard ImageField and using the built-in storage backend. Files upload fine but when I remove an entry from admin the actual file on the server does not delete.
user avatar
  • 1,937

15 30 50 per page
1
2 3 4 5
422