Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory Why we don't need to defrag UNIX FS? Post 302451238 by methyl on Monday 6th of September 2010 06:40:28 AM
Old 09-06-2010
Quote:
I've seen NTFS fragment terribly when only 50% full.
Me too.
After a cleanup of a full 40 Gb NTFS drive down to 60% full I've had the M$ Windows XP defrag take 30 hours despite having 2 Gb memory fitted. After that the system ran normally.

Similarly a large unix UFS /tmp mounted partition which briefly contained 400,000 files and directories (after a programming accident) ran really slowly afterwards until re-created from scratch.

With large database systems pre-allocating the segments means that you do not have disc fragmentation but that the database engine needs to handle fragmentation.
I've seen databases left to expand dynamically which caused severe slow running due to disc fragmentation even though the database engine reported no fragmentation. A database dump/load to preallocated segments on a properly tuned filesystem cured the problem.
These 2 Users Gave Thanks to methyl For This Post:
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

defrag

is there a command to degragment or clean the disk drives on an HP SCO Unix maching? (6 Replies)
Discussion started by: rnpeters
6 Replies

2. UNIX for Dummies Questions & Answers

I want to cheaply build my own Linux/Unix PC, but don't know where to start

I want to cheaply build my own PC that will run the latest versions of Linspire, Fedora Core, FreeBSD and Solaris, but I don't know where to start. This PC doesn't have to be particulary fast. It's video performance need not be top notch, however, sound quality and sound performance must rock!... (4 Replies)
Discussion started by: Mr. Nice Guy
4 Replies

3. UNIX for Dummies Questions & Answers

which unix?? <donīt know where to post>

Iīm struggling to find a system I like and thatīs not to overwhelming.. Iīve been using Ubuntu/Linux and itīs allright except that itīs pretty buggy and boots extremely slow. Iīm in need of a system that offers good programming features, simple or no x server, fast to boot and STABLE. Donīt care... (2 Replies)
Discussion started by: riwaTNT
2 Replies

4. UNIX for Dummies Questions & Answers

I don't want to go to jail. so I want to start using unix

I use Mac OSX and have been given all of my video editing software... illegally. I don't want to use it anymore and heard that Unix was the way to go. So that is why I am here. What video editing software is out there for Unix. I think I have Unix. Do I? I am sorry and if all anyone can... (0 Replies)
Discussion started by: moz1979
0 Replies

5. Programming

Why I don't have CC1 in my Unix?

gcc works find in my Unix. But when I want to use cc1, system reports: "bash: cc1: command not found". Any clue? Thank you! (2 Replies)
Discussion started by: meili100
2 Replies

6. Shell Programming and Scripting

don't know how to implentment as unix sh script

for each file if file name like xx* for each line in a file if substring(3,6) found in another txt file output to file-a( filename = orginal file + _a) else output to file-b( filename = orginal file + _a) end Next Line (4 Replies)
Discussion started by: ttivanwan@yahoo
4 Replies

7. UNIX for Advanced & Expert Users

don't understand the unix script

if {"$my_ext_type" = MAIN]; then cd $v_sc_dir Filex.SH $v_so_dir\/$v_fr_file Can somebody tell me what does this suggest. I am pretty new to unix and I am getting confused. What i understood from here is If we have a file extension name as MAIN which we have then we change the directory to... (1 Reply)
Discussion started by: pochaman
1 Replies

8. UNIX for Dummies Questions & Answers

Change unix permission when I don't own the file

Hi, A file is transferred from a Windows server(say username : user1) to Unix server via ftp. In unix, the permission of the file for a user, say user2 will be "-rw-r-----". Since the user1 is the owner of the file, user2 is not able to change the file permission using chmod. Is there... (5 Replies)
Discussion started by: merin
5 Replies
NTDBTOOL(8)						    System Administration tools 					       NTDBTOOL(8)

NAME
ntdbtool - manipulate the contents NTDB files SYNOPSIS
ntdbtool NTDBFILE [COMMANDS...] DESCRIPTION
This tool is part of the samba(1) suite. ntdbtool a tool for displaying and altering the contents of Samba NTDB (New Trivial DataBase) files. Each of the commands listed below can be entered interactively or provided on the command line. COMMANDS
create NTDBFILE Create a new database named NTDBFILE. open NTDBFILE Open an existing database named NTDBFILE. erase Erase the current database. dump Dump the current database as strings. cdump Dump the current database as connection records. keys Dump the current database keys as strings. hexkeys Dump the current database keys as hex values. info Print summary information about the current database. insert KEY DATA Insert a record into the current database. move KEY NTDBFILE Move a record from the current database into NTDBFILE. store KEY DATA Store (replace) a record in the current database. show KEY Show a record by key. delete KEY Delete a record by key. list Print the current database hash table and free list. free Print the current database and free list. ! COMMAND Execute the given system command. first Print the first record in the current database. next Print the next record in the current database. check Check the integrity of the current database. repack Repack a database using a temporary file to remove fragmentation. quit Exit ntdbtool. SEE ALSO
tdbtool(8) CAVEATS
The contents of the Samba NTDB files are private to the implementation and should not be altered with ntdbtool. VERSION
This man page is correct for version 4.0 of the Samba suite. AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. Samba 4.1 06/17/2014 NTDBTOOL(8)
All times are GMT -4. The time now is 11:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy