Questions tagged [fragmentation]

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

189 questions
0
votes
1 answer

Clustered Columnstore Index Fragmentation - Index Properties and dm_db_column_store_row_group_physical_stats differences

We are using Clustered Column store Indexes in multiple tables. To determine Fragmentation, When I use sys.dm_db_column_store_row_group_physical_stats I see 0% fragmentation, When I query sys.dm_db_index_physical_stats I see 90.10% fragmentation…
0
votes
1 answer

from gdb core, find largest available block of memory

I have a core of process from a system that kills a process if it allocates memory above a configured limit. It seems the process crashed because memory is fragmented. To confirm I want to know largest available free block of memory. Is there a way…
user469635
  • 59
  • 1
  • 1
  • 5
0
votes
1 answer

Best practices for memory performance

I have the below code. We had an argument regarding which approach is better for memory performance. Will it make any difference at all if we don't use a separate variable and use it? It it will affect then is this the possible solution ? ///…
0
votes
1 answer

Memory of Jemalloc increase a lot after using a new thread pool without service restart

Background: I am working on a search engine, and develop a new feature which will create a new thread pool (32 threads). The queries which meet some rules will be executed by the new thread pool. At the same time, the old thread pool (also has 32…
Shuai
  • 21
  • 6
0
votes
1 answer

Fragmentation of TCP packet at network layer

Suppose that a TCP message that contains 900 bytes of data and 20 bytes of TCP header. Now If we have a link that can support a maximum frame size of 512 bytes, will we have 2 TCP packets at transport layer of small enough sizes that they could be…
ayushgp
  • 4,891
  • 8
  • 40
  • 75
0
votes
1 answer

Fragment orientation

I use the openweathermap api and retrieve the json data such as temperature,city name,weather icon etc successfully. However,when I rotate the screen,the webservice is running again,and this shouldn't be happening. What I do is the following. I…
Theo
  • 361
  • 3
  • 5
  • 16
0
votes
1 answer

SQL Server: nop updates gradually slower, why?

Every minute, this program reads a set of records from um DB e replicates them in another DB. 99% of the time, it consists of a No Operation because the data did not change. The problem is that individual overwrites were becoming slower. With 2500…
Igor Gatis
  • 4,648
  • 10
  • 43
  • 66
0
votes
2 answers

MySQL table data physical fragmentation

Could you tell me, will MySQL data in tables be physically fragmented if I insert new data and delete old data (insert in table top, and delete bottom rows)? Will the size of table be growing in any way, before I do OPTIMIZE?
vologa
  • 37
  • 1
  • 5
0
votes
2 answers

Heavily fragmented Indexes - SQL Server 2005

I recently inherited a poorly maintained production database with heavily fragmented indexes (most of the indexes with more than 80% fragmented). I requested downtime with my manager to perform Index rebuild, but unfortunately downtime is not…
Ranjeeth
  • 5
  • 1
  • 4
0
votes
1 answer

How to avoid sql server page fragmentation in this scenario?

I want to order SQL Inserts into a table to optimize page use by avoiding fragmentation as much as possible. I will be running a .net Windows Service, which every 2 hours will take some data from a database and optimize it for future queries. A…
user347594
  • 1,256
  • 7
  • 11
0
votes
0 answers

Android Fragment initialization to various Custom Fragments, but only One at a time

I am trying to initialize a generic fragment in such manner that it can be used globally no matter what the instance of it is. For example: public MainActivity extends Activity{ private Fragment fragment; @Override protected void…
TerNovi
  • 390
  • 5
  • 16
0
votes
0 answers

UDP Datagram Fragmentation is not happening in Californium CoAP, Why?

This is my CoAP Client code for sending requests with incremental payload size: CoapClient client = new CoapClient(uri); for (int payloadSize = start; payloadSize <= end; payloadSize += stepSize) { for (int repeatCount…
sakhoshdel
  • 111
  • 2
  • 8
0
votes
1 answer

Doesn't fragmentation in FAT file system lead to space wastage?

The wikipedia for article for fragmentation states: In many cases, fragmentation leads to storage space being "wasted", and in that case the term also refers to the wasted space itself. For other systems (e.g. the FAT file system) the space used to…
0
votes
2 answers

why 2D hashmap is memory inefficient?

I was told by friends that using 2D hashmap is strongly discouraged due to fragmentation problem? Could anyone tell if that's the case and why?
0
votes
0 answers

Backwards compatibility error inflating class.widget.button

I have just finished my first app, and while it works on my nexus 5 (API 21), when i try to test it in older APIs it crashes after the splash screen (buttons are implemented), I use the AppCompat library and my styles and manifest is set properly.…
thanosChatz
  • 135
  • 2
  • 11