Questions tagged [fragmentation]

An unefficient usage of disk storage in memory or hard drive.

189 questions
1
vote
1 answer

Internal fragmentation basic concept

Suppose I have two processes of 50 bytes and have only one partition of 100 bytes. Suppose the first process takes up the partition and 50 bytes is remaining . Can the second process reside in the same partition even if free space is available or…
1
vote
1 answer

How to deal with external fragmentation, how paging helps with external fragmentation?

I know that there is a lot of questions regarding the issue I'm pointing here, but I couldn't find any complex answer (neither on StackOverflow nor in other sources). I would like to ask about heap (RAM) fragmentation problem. As I understood there…
1
vote
2 answers

SQL Db index recommendation

I am trying to see if using a custom index for a specific type of data might reduce fragmentation in my database. [Edit: we are using MS SQL Server 2008 R2] I have an SQL database containing timestamped measurement data. Lots of data is inserted all…
vgru
  • 49,838
  • 16
  • 120
  • 201
1
vote
1 answer

Netty fragmentation for client messages with varying length

I'm having some problems with netty fragmentation of data. My server accepts connection from client. The client sends different message types. Theses messages tell the length of the payload in the first 2 bytes. An example: Message 1 [00 21][21…
Kaleb Blue
  • 487
  • 1
  • 5
  • 20
1
vote
0 answers

how to measure fragmentation of all files in a folder or entire file system, except ext#

Except ext3 or ext4 (files system which can use fsck), how can I measure the file system fragmentation degree or the number of extents of all files in a folder? Specifically, I am using f2fs file system.
1
vote
2 answers

Designing and coding a non-fragmentizing static memory pool

I have heard the term before and I would like to know how to design and code one. Should I use the STL allocator if available? How can it be done on devices with no OS? What are the tradeoffs between using it and using the regular compiler…
the_drow
  • 18,571
  • 25
  • 126
  • 193
1
vote
1 answer

optimizing Innodb table to release free space

I am unable to free space in innodb tables. I also set the innodb_files_per_table=1 so each table has separate ibd file. When i query the information_Schema for checking the data size, index size and data_free, it always show some value like 7Mb in…
Aman Aggarwal
  • 17,619
  • 9
  • 53
  • 81
1
vote
1 answer

Will modifying any row data fragment my clustered index?

I now understand that a clustered index contains all of the row data, not just the index fields. I'm trying to understand the implications of this in regards to fragmentation. Say we have a table like this: create table Files ( ID…
Gavin
  • 9,855
  • 7
  • 49
  • 61
1
vote
1 answer

XFS, is it possible to write file in contiguous blocks?

I'm wondering if there is a way to write a file in contiguous extent, to completely avoid fragmentation in certain file of the filesystems. I mean, XFS filesystem under Linux.
JosephITA
  • 502
  • 2
  • 11
  • 21
1
vote
1 answer

How allocator can solve fragmentation?

I am writing a project "Threadsafe allocator". Every thread has its own heap, and heap consists of blocks(4 KB). Allocator uses the memory from different blocks. What should I do to avoid fragmetation of data in blocks?
kirivasile
  • 21
  • 2
1
vote
0 answers

Resizing Oracle Datafiles

I have an Tablespace with 3 datafiles (autoextend enabled). Actually Datafile_1 and Datafile_2 are 32GB in size and Datafile_3 size is 10GB. I Dropped one huge table and Datafile_2 occupation dropped to 4GB. Using some queries**[1]** over the…
marcellorvalle
  • 1,631
  • 3
  • 17
  • 30
1
vote
2 answers

Why might the Large Object Heap grow rather than throw an exception?

In a previous question I asked possible programatic ways of maximising the largest block allocatable on the LOH. I'm still seeing the problems, but now I'm trying to get my head around why the LOH seems to grow and shrink in size, yet I'm still…
Unsliced
  • 10,404
  • 8
  • 51
  • 81
1
vote
0 answers

Eloquera database Compact - constant growth of the database size

I am evaluating Eloquera (desktop mode) for usage in our project. My unit tests perform some kind of stress-testing, e.g. I store 1000 records and delete them in the end of the test. Each time I run the tests, the database size grows, although in…
1
vote
2 answers

Interpreting "Total Fragmentation" column when rebuilding an index in SQL

I can't find it now but somewhere in the comments of a post in stack overflow someone said the .85 is 85% when checking the Total Fragmentation column you see when right clicking on an index in SSMS and hitting Rebuild. But I can't find anything…
masteroleary
  • 1,014
  • 2
  • 16
  • 33
1
vote
0 answers

UDP fragments order

On a peer-to-peer ethernet connection, I saw something that cause me trouble. An application running on a Linux box with Centos 6.4 send successively two UDP packets : 1 big packet : size above the MTU (so it will be fragmented) => MSG1 1 small…
Joker
  • 247
  • 3
  • 7