+ All Categories
Home > Software > Database File System

Database File System

Date post: 14-Apr-2017
Category:
Upload: anas-r
View: 204 times
Download: 0 times
Share this document with a friend
19
Copyright Copyright © © 2010 Mohammad 2010 Mohammad Anas Anas Ramadan Ramadan All rights reserved All rights reserved 1 1 Database File System Database File System An Alternative to Hierarchy Based File Systems An Alternative to Hierarchy Based File Systems Mohammad Mohammad Anas Anas Ramadan Ramadan The Arab Academy of Banking an Financial Sciences The Arab Academy of Banking an Financial Sciences
Transcript

Copyright Copyright ©© 2010 Mohammad 2010 Mohammad AnasAnas RamadanRamadan

All rights reservedAll rights reserved11

Database File SystemDatabase File SystemAn Alternative to Hierarchy Based File SystemsAn Alternative to Hierarchy Based File Systems

Mohammad Mohammad AnasAnas RamadanRamadanThe Arab Academy of Banking an Financial SciencesThe Arab Academy of Banking an Financial Sciences

Copyright Copyright ©© 2010 Mohammad 2010 Mohammad AnasAnas RamadanRamadan

All rights reservedAll rights reserved2/17

OutlineOutline

♦♦ GlossaryGlossary

♦♦ The ProblemThe Problem

♦♦ A common solutionA common solution

♦♦ Hierarchical File SystemHierarchical File System

♦♦ Database File System Database File System -- An overviewAn overview

♦♦ Database File System Database File System -- InternallyInternally

♦♦ ConclusionConclusion

Copyright Copyright ©© 2010 Mohammad 2010 Mohammad AnasAnas RamadanRamadan

All rights reservedAll rights reserved3/17

GlossaryGlossary

♦♦ DaemonDaemon

♦♦ A Linux concept refers to a service or a program working in the A Linux concept refers to a service or a program working in the backgroundbackground

♦♦ DBFS DBFS –– Database File SystemDatabase File System

♦♦ An Alternative file system, based on database conceptsAn Alternative file system, based on database concepts

♦♦ FilterFilter

♦♦ Set of search criteria for a fileSet of search criteria for a file

♦♦ KDBFS KDBFS –– KDE Database File SystemKDE Database File System

♦♦ An alternative KDE file manager, designed for Database File SystAn alternative KDE file manager, designed for Database File Systemem

♦♦ KDE KDE -- The K Desktop EnvironmentThe K Desktop Environment

♦♦ An openAn open--source desktop environment for Linuxsource desktop environment for Linux

♦♦ KonquerorKonqueror

♦♦ The default KDE file manager, designed for Hierarchical File SysThe default KDE file manager, designed for Hierarchical File Systemtem

♦♦ HFS HFS -- Hierarchical File SystemHierarchical File System

♦♦ The common structure of the current file systems, which consistsThe common structure of the current file systems, which consists of tree of files and foldersof tree of files and folders

♦♦ MetadataMetadata

♦♦ Data about data, refers to the set of attribute about a certain Data about data, refers to the set of attribute about a certain filefile

♦♦ ViewView

♦♦ A filterA filter’’s outputs output

Copyright Copyright ©© 2010 Mohammad 2010 Mohammad AnasAnas RamadanRamadan

All rights reservedAll rights reserved4/17

LetLet’’s find a files find a file……

……or the enormous internet?!or the enormous internet?!

Local hard drive?Local hard drive?

Copyright Copyright ©© 2010 Mohammad 2010 Mohammad AnasAnas RamadanRamadan

All rights reservedAll rights reserved5/17

A common solutionA common solution……

♦♦ A new kind of software emerged, to help user to store files and A new kind of software emerged, to help user to store files and their their

metadata together in a one database.metadata together in a one database.

♦♦ Something like:Something like:

♦♦ iTunesiTunes

♦♦ iPhotoiPhoto

♦♦ PicasaPicasa

♦♦ But there are still limitations over there!But there are still limitations over there!

Take a lookTake a look……

Copyright Copyright ©© 2010 Mohammad 2010 Mohammad AnasAnas RamadanRamadan

All rights reservedAll rights reserved6/17

Current Situation: Hierarchical File System (HFS)Current Situation: Hierarchical File System (HFS)

Copyright Copyright ©© 2010 Mohammad 2010 Mohammad AnasAnas RamadanRamadan

All rights reservedAll rights reserved7/17

Hierarchical File SystemHierarchical File System

♦♦ HFSHFS

♦♦ Made to Made to storestore things in some (reasonable) logical things in some (reasonable) logical locationlocation..

♦♦ It only supports a few types of metaIt only supports a few types of meta--data:data:

♦♦ filefile--name, filename, file--type, filetype, file--size, modificationsize, modification--date...date...

♦♦ We need a File SystemWe need a File System

♦♦ Made to Made to categorizecategorize and and findfind things.things.

Copyright Copyright ©© 2010 Mohammad 2010 Mohammad AnasAnas RamadanRamadan

All rights reservedAll rights reserved8/17

Database File System Database File System –– An overviewAn overview

♦♦ It stores files without any restrictions.It stores files without any restrictions.

♦♦ multiple files can be stored with the exact same metamultiple files can be stored with the exact same meta--data.data.

♦♦ It is almost like storing all files in one directory, but withouIt is almost like storing all files in one directory, but without the need for t the need for

unique names.unique names.

♦♦ So it's considered as So it's considered as facetedfaceted systemsystem

♦♦ KeywordsKeywords can do what directories can and more.can do what directories can and more.

Copyright Copyright ©© 2010 Mohammad 2010 Mohammad AnasAnas RamadanRamadan

All rights reservedAll rights reserved9/17

KDBFSKDBFS

♦♦ 2 >> 5: 2 >> 5: FilterFilter: : Search or QuerySearch or Query

♦♦ 1: 1: ViewView: : FilterFilter’’s outputs output

Database File System Database File System –– An overviewAn overview

Copyright Copyright ©© 2010 Mohammad 2010 Mohammad AnasAnas RamadanRamadan

All rights reservedAll rights reserved10/17

Opening a FileOpening a File Saving a FileSaving a File

Database File System Database File System –– An overviewAn overview

Copyright Copyright ©© 2010 Mohammad 2010 Mohammad AnasAnas RamadanRamadan

All rights reservedAll rights reserved11/17

Database File System Database File System -- InternallyInternally

Copyright Copyright ©© 2010 Mohammad 2010 Mohammad AnasAnas RamadanRamadan

All rights reservedAll rights reserved12/17

♦♦ The The DBFSDBFS has been implemented as a daemon service for Unixhas been implemented as a daemon service for Unix--like like

systems, which integrates an SQL library and accepts connectionssystems, which integrates an SQL library and accepts connections from from

clients.clients.

♦♦ The clients are the openThe clients are the open--file and savefile and save--file dialogs in the openfile dialogs in the open--source K source K

Desktop Environment Desktop Environment KDEKDE, together with a standalone file manager, called , together with a standalone file manager, called

KDBFSKDBFS, which replaces , which replaces KonquerorKonqueror, the original KDE file manager., the original KDE file manager.

♦♦ The daemon service is called The daemon service is called dbfsddbfsd and runs in the background.and runs in the background.

♦♦ It does not actually store files,It does not actually store files,

♦♦ It only stores references to files on the hierarchy based file sIt only stores references to files on the hierarchy based file system.ystem.

Database File System Database File System -- InternallyInternally

Copyright Copyright ©© 2010 Mohammad 2010 Mohammad AnasAnas RamadanRamadan

All rights reservedAll rights reserved13/17

9393

9.29.2

24.524.5

HFSHFS

7878Window TimeWindow Time

9.89.8Keyboard InputKeyboard Input

17.517.5Mouse InputMouse Input

DBFSDBFS

0

10

20

30

40

50

60

70

80

90

100

HFS DBFS

Mouse Input

Keyboard Input

Window Time

(Lowest is better)

Database File System Database File System -- InternallyInternally

Copyright Copyright ©© 2010 Mohammad 2010 Mohammad AnasAnas RamadanRamadan

All rights reservedAll rights reserved14/17

ConclusionConclusion

FromFrom

Hierarchical File SystemHierarchical File System……

Copyright Copyright ©© 2010 Mohammad 2010 Mohammad AnasAnas RamadanRamadan

All rights reservedAll rights reserved15/17

ConclusionConclusion

ToTo

Database File SystemDatabase File System

Copyright Copyright ©© 2010 Mohammad 2010 Mohammad AnasAnas RamadanRamadan

All rights reservedAll rights reserved16/17

KeywordsKeywords instead of instead of FoldersFolders

Copyright Copyright ©© 2010 Mohammad 2010 Mohammad AnasAnas RamadanRamadan

All rights reservedAll rights reserved17/17

♦♦ SourceSource::

♦♦ O. O. GorterGorter, Database File System: An Alternative to Hierarchy Based File , Database File System: An Alternative to Hierarchy Based File

Systems, University of Systems, University of TwenteTwente, August 2004., August 2004.

Copyright Copyright ©© 2010 Mohammad 2010 Mohammad AnasAnas RamadanRamadan

All rights reservedAll rights reserved18/17

Thanks for ListeningThanks for Listening

Copyright Copyright ©© 2010 Mohammad 2010 Mohammad AnasAnas RamadanRamadan

All rights reservedAll rights reserved19/17


Recommended