Questions tagged [disk-access]

Disk access is where a program reads or writes directly to a storage media. Use with the language tag you're trying to perform the access with.

50 questions
0
votes
1 answer

False excessive disk usage, how to explain DF-system and DF-docker contradiction?

At Linux server I checked disk usage by df command and obtained big /var/lib/docker usage Filesystem 1K-blocks Used Available Use% Mounted on udev 4078144 0 4078144 0% /dev tmpfs 817484 82900 734584…
Peter Krauss
  • 13,174
  • 24
  • 167
  • 304
0
votes
1 answer

Python - high disk usage in SumTree

I've encountered some weird behaviour of my python program. Basically when I tried to create adn fill a SumTree of length larger than 1000, my disk usage increases a lot to ~300MB/s then the programme died. I'm pretty sure there's no file r/w…
0
votes
1 answer

Tablesize and array text[] in postgresql

Ok, here is the question. I have some table which I create like create table maths( id1 bytea , id2 bytea , comment text[] ) there's more columns but that's insignificant. After creation I insert there ~500k rows and modify them by…
0
votes
0 answers

WinSock2.2 stops responding when i do disk operations

i've write a socket class in C++, the design is event-based, that means, every 64 players it will create a new thread to handle these sockets. My problem is, when i start reading a file, or write, or even copy and paste, it says "Server.exe is not…
0
votes
1 answer

Store images economically in android app

My app uses images from a URL and I want to reduce resources usage for both server and client. I wonder if the Android SDK already offers something for this (if there's some standard way to do it) or I just have to figure it out. What I have in mind…
ali
  • 10,927
  • 20
  • 89
  • 138
0
votes
2 answers

MySQL add column without adding any physical data / increasing storage usage?

I have this large table (hundreds of thousands records) to which a column must be added. The column only stores boolean (tinyint 0/1). The goal is to avoid extra storage usage for already existing records, because they will have NULL/0 by default…
jave.web
  • 13,880
  • 12
  • 91
  • 125
0
votes
1 answer

Disk usage - du showing different results

I am confused with du command because it gives different result for files. [root@gerrh6-05 sathish]# du -s saravana/admin/sqlnet.ora 4 saravana/admin/sqlnet.ora [root@gerrh6-05 sathish]# du -h saravana/admin/sqlnet.ora 4.0K …
saravanakumar
  • 1,747
  • 4
  • 20
  • 38
0
votes
2 answers

A table with a XML field with null value, consumes some space? How much?

There are an "official benchmark" or a simple rule of thumb to decide when space or performance will be affected? My table have many simple and indexed fields, CREATE TABLE t ( id serial PRIMARY KEY, name varchar(250) NOT NULL, ... …
Peter Krauss
  • 13,174
  • 24
  • 167
  • 304
0
votes
4 answers

Is there a shell script that can monitor partition usage?

When I used to use cPanel it would send me an email when any partitions were approaching full. Is there a script out there that monitors df output that I can put in a cronjob? Thanks
Tom
  • 1,055
  • 2
  • 14
  • 21
0
votes
1 answer

How to free up unused space after deleting documents in ElasticSearch?

When deleting records in ElasticSearch, I heard that the disk space is not freed up. So if I only wanted to keep rolling three months of documents in a type, how do I ensure that disk space is reused?
ElHaix
  • 12,846
  • 27
  • 115
  • 203
0
votes
2 answers

Android Dev - Strict Mode Problems

I am having an issue with StrictMode i have the following AsyncTask class pruneDiskCacheTask extends AsyncTask{ @Override protected Void doInBackground(Void... params) { pruneRecursive(DiskCache); return…
Alex Mason
  • 21
  • 3
0
votes
2 answers

How to intentionally slow down a python script so I can have it running forever in the background while I work?

So basically I have a list of 300 values and different averages associated with each one. I have a for-loop that generates a list of ten of these values at random, and writes it to excel if certain conditions are met based on their averages. The…
ACD
  • 151
  • 2
  • 6
0
votes
2 answers

How to show the CPU and disk usage in a JProgressBar?

I want to display the current cup usage and disk usage in two separate JProgressBars. And also it should update second by second. How to do it using java? I am quite new to java programming, so please give me some code example. Thanks in advance.
user3641302
  • 149
  • 1
  • 2
  • 13
0
votes
1 answer

MySQL record disk-usage calculation | Am I right?

I am trying to estimate the real disk-usage required space for each record of my table in MySQL RDBMS. The table has a structure like this: ID INT 4 byte; VARCHAR(34) 34 byte; INT 4 byte; INT(5) 4 byte; INT 4 byte; INT 4 byte which is also a…
tonix
  • 6,671
  • 13
  • 75
  • 136
0
votes
1 answer

Is there a Tool to View Disk Usage on a Team Foundation Server DB

We have a TFS installation on a machine that is close to going out of support life and we're planning on migrating to a new machine in a couple of months. However in the meantime we are getting really low on disk space and (for whatever reason) we…
Keith Hill
  • 194,368
  • 42
  • 353
  • 369