به نام خدا Lecture 1 آشنايي با محتواي درس ذخيره وبازيابي اطلاعات (File Management) طراحی وبسایت - برنامه نویسی – پروژه پایگاه داده – SQL Server مهندسی.

Slides:



Advertisements
Similar presentations
Lecture Computer Science I - Martin Hardwick Streams In C++ rA stream is a sequence that you either read from or write to. l example – cin is a stream.
Advertisements

File Organization & Indexing Reading: C&B, Ch 18 & 23.
Databasteknik Databaser och bioinformatik Data structures and Indexing (II) Fang Wei-Kleiner.
AS ICT. Identify suitable uses of common storage media understand the types of access and access speeds required for each use (e.g. serial/sequential,
IiWAS2002, Bandung, Indonesia Teaching and Learning Databases Dr. Stéphane Bressan National University of Singapore.
January 11, Csci 2111: Data and File Structures Week1, Lecture 1 Introduction to the Design and Specification of File Structures.
1 B trees Nodes have more than 2 children Each internal node has between k and 2k children and between k-1 and 2k-1 keys A leaf has between k-1 and 2k-1.
CNG 3511 CNG 351 Introduction to Data Management and File Structures Müslim Bozyiğit (Prof. Dr.) Department of Computer Engineering METU.
CIS-365 File Structures and Management Lecture 1.
Efficient Storage and Retrieval of Data
File StructuresFile StructureSNU-OOPSLA Lab1 Chap1. Introduction to File Structures 서울대학교 컴퓨터공학부 객체지향시스템연구실 (SNU-OOPSLA-LAB) 김 형 주 교수 File Structures by.
Storage INFO 1. Key areas File Compression Types of Storage –Internal/External, Magnetic Storage, Hard Disks, Floppy, Optical Storage, Flash Memory, Online.
1 Lecture 7: Data structures for databases I Jose M. Peña
CENG 3511 CENG 351 Introduction to Data Management and File Structures Nihan Kesim Çiçekli Department of Computer Engineering METU.
College Of Computer Al-Lith
January 11, Files – Chapter 1 Introduction to the Design and Specification of File Structures.
Comp 335 – File Structures Why File Structures?. Goal of the Class To develop an understanding of the file I/O process. Software must be able to interact.
Introduction to the course. Objectives of the course  To provide a solid introduction to the topic of file structures design.  To discuss a number of.
File Processing - Introduction MVNC1 File Processing BASIC CONCEPTS & TERMINOLOGY.
1 Chapter 17 Disk Storage, Basic File Structures, and Hashing Chapter 18 Index Structures for Files.
TheTeacher Computing Data Storage Computing. TheTeacher Computing Primary Storage One of the fundamental properties of a computer is that it can store.
File Structures CIS 256 Chapter 0 Summer 2011 Dr. Ahmad Saifan.
External data structures
Database Management Systems,Shri Prasad Sawant. 1 Storing Data: Disks and Files Unit 1 Mr.Prasad Sawant.
CS246 Data & File Structures Lecture 1 Introduction to File Systems Instructor: Li Ma Office: NBC 126 Phone: (713)
File Organization Lecture 1
Lecture 5 Cost Estimation and Data Access Methods.
Aug CMSC 104, LECT-021 Machine Architecture Some material in this presentation is borrowed form Adrian Ilie From The UNIVERSITY of NORTH CAROLINA.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 12: File System Implementation File System Structure File System Implementation.
CPSC 231 D.H.1 Learning Objectives Understanding of disk versus RAM performance gap. Understanding definition, design goals and design problems of file.
WIU_Faculty Table (Stored as Unsorted Data File): Secondary B-Tree on E#: Secondary B-Tree on Salary.
6.830 Lecture 6 9/28/2015 Cost Estimation and Indexing.
File StructuresFile StructureSNU-OOPSLA Lab1 Chap1. Introduction to File Structures File Structures by Folk, Zoellick, and Riccardi.
BBM371 Data Managment Assoc. Prof. Dr. Ebru Akçapınar Sezer
Chapter 1 Introduction File Structures Readings: Folk, Chapter 1.
CS 101 – Sept. 28 Main vs. secondary memory Examples of secondary storage –Disk (direct access) Various types Disk geometry –Flash memory (random access)
FILE ORGANIZATION.
ROM AND RAM By Georgia Harris. WHAT DOES IT MEAN?  RAM: random access memory  ROM: read only memory.
DMBS Architecture May 15 th, Generic Architecture Query compiler/optimizer Execution engine Index/record mgr. Buffer manager Storage manager storage.
Secondary Storage. WHAT IS SECONDARY STORAGE  SECONDARY STORAGE IS THE STORAGE THAT IS NON- VOLATILE. RAM IS VOLATILE AND SHORT TERM AND FORGETS EVERYTHING.
January 10, Csci 2111: Data and File Structures Instructor: Nathalie Japkowicz Objectives of the Course and Preliminaries.
Appendix C File Organization & Storage Structure.
1 CSCE 520 Test 2 Info Indexing Modified from slides of Hector Garcia-Molina and Jeff Ullman.
CENG 3511 CENG 351 Introduction to Data Management and File Structures Nihan Kesim Çiçekli Department of Computer Engineering METU.
1 Lecture 16: Data Storage Wednesday, November 6, 2006.
CENG 351 Introduction to Data Management and File Structures
File Organization and Processing
Welcome to ….. File Organization.
Microsoft Imagine All KU students currently enrolled in a CS class are eligible to receive Microsoft software, including Operating Systems development.
Unit 1 PRIMARY STORAGE DEVICES LECTURE – 7
Database Management Systems (CS 564)
CSCI 161: Introduction to Programming
Primary and Secondary Storage Explained
Primary Storage and Secondary Storage Devices Chapter 3
Lecture 9: Data Storage and IO Models
Hard Disk Drive Property Notes Insert Image Type of Storage
FILE ORGANIZATION.
Module IV Memory Organization.
COMS 161 Introduction to Computing
Sequential input and output Operations in file
OS Concepts Module 1.4 Richard Newman University of Florida.
Lecture 5 A Secondary Storage Device: CD-ROM (sections 3.4 – 3.6)
STORAGE – 3 TIERS Key Revision Points.
RDBMS Chapter 4.
Lecture 19b: Intro to Transactions & Logging
CENG 351 Introduction to Data Management and File Structures
Secondary Storage Devices
Computer Electronic device Accepts data - input
Machine Architecture and Number Systems
Presentation transcript:

به نام خدا Lecture 1 آشنايي با محتواي درس ذخيره وبازيابي اطلاعات (File Management) طراحی وبسایت - برنامه نویسی – پروژه پایگاه داده – SQL Server مهندسی نرم افزار UML و SSADM 09131253620 www.a00b.com آ صفر صفر بی دات کام

آشنايي با محتواي درس ذخيره وبازيابي اطلاعات (File Management) مهمترين مراجع درس به ترتيب اولويت: File Structures: An Object-Oriented Approach With C++ Authors: Folk, Michael J. Zoellick, Bill Riccardi, Greg سيستم و ساختار فايلها(مهندسی فايلها) ، روحانی رنکوهی طراحی وبسایت - برنامه نویسی – پروژه پایگاه داده – SQL Server مهندسی نرم افزار UML و SSADM 09131253620 www.a00b.com آ صفر صفر بی دات کام

آشنايي با محتواي درس ذخيره وبازيابي اطلاعات (File Management) ادامه... File Organization and Processing Author: Tharp, Alan L. طراحی وبسایت - برنامه نویسی – پروژه پایگاه داده – SQL Server مهندسی نرم افزار UML و SSADM 09131253620 www.a00b.com آ صفر صفر بی دات کام

آشنايي با محتواي درس ذخيره وبازيابي اطلاعات (File Management) موارد مربوط به امتحان: بارم از 20 نمره تاريخ 8 نيمه اول ارديبهشت ميان ترم 2 - پروژه 10 تاريخ اعلام شده پايان ترم طراحی وبسایت - برنامه نویسی – پروژه پایگاه داده – SQL Server مهندسی نرم افزار UML و SSADM 09131253620 www.a00b.com آ صفر صفر بی دات کام

آشنايي با محتواي درس ذخيره وبازيابي اطلاعات (File Management) در اين درس چه موضوعاتي مورد نظر ما ميباشند؟ انواع عمليات روي داده ها از ديدگاه کامپيوتري کدامند؟ ذخيره سازي داده ها (Storage) سازماندهي داده ها (Organization) دسترسي به داده ها (Access) انجام عمليات روي داده ها (Data Processing) طراحی وبسایت - برنامه نویسی – پروژه پایگاه داده – SQL Server مهندسی نرم افزار UML و SSADM 09131253620 www.a00b.com آ صفر صفر بی دات کام

آشنايي با محتواي درس ذخيره وبازيابي اطلاعات (File Management) اين درس با درس ساختمان داده ها چه تفاوتها يا تشابه هايي دارد؟ تشابه : هر دو درس در مورد ساختار داده ها و عمليات بر روي آنها بحث مي نمايند. تفاوت : در اين درس تاکيد بر عمليات بر روي فايلهاي داده و مسائل مرتبط با انواع حافظه هاي ثانويه (Secondary Storage) ميباشد طراحی وبسایت - برنامه نویسی – پروژه پایگاه داده – SQL Server مهندسی نرم افزار UML و SSADM 09131253620 www.a00b.com آ صفر صفر بی دات کام

آشنايي با محتواي درس ذخيره وبازيابي اطلاعات (File Management) مقايسه با درس پايگاه داده ها:

آشنايي با محتواي درس ذخيره وبازيابي اطلاعات (File Management) حافظه هاي ثانوي با حافظه اصلي سيستم چه تفاوتها يي دارند؟ حافظه اصلي سيستم (Main Memory) چه خواصي دارد؟ سريع (fast) چون الکترونيکي ميباشد کوچک (small) چون قيمت آن بالا مي باشد فرار (Volatile) در صورت قطع برق پاک ميشود سرعت دسترسي به داده: حدود 12 نانو ثانيه

آشنايي با محتواي درس ذخيره وبازيابي اطلاعات (File Management) حافظه ثانوي با حافظه اصلي سيستم چه تفاوتها يي دارد؟ حافظه ثانوي(Secondary Storage) چه خواصي دارد؟ کند (Slow) چون اجزاي مکانيکي دارد بزرگ (Large) چون قيمت آن ارزان است ثابت و پايدار (Stable & Persistent) در صورت قطع برق پاک نميشود سرعت دسترسي به داده: حدود 30 ميلي ثانيه

آشنايي با محتواي درس ذخيره وبازيابي اطلاعات (File Management) حافظه ثانوي با حافظه اصلي سيستم چه تفاوتها يي دارد؟ اختلاف زمان دسترسي به اين دو حافظه چقدر ميباشد؟ مثال: زمان جستجوي داده در ايندکس يک کتاب (20 sec) زمان جستجوي همان داده بدون ايندکس در يک کتابخانه بزرگ (58 days) بنابراين دو هدف اصلي اين درس چه خواهد بود؟ پايين آوردن زمان دسترسي به داده در حافظه ثانوي پايين آوردن فاصله ميان داده هاي مرتبط با يکديگر طراحی وبسایت - برنامه نویسی – پروژه پایگاه داده – SQL Server مهندسی نرم افزار UML و SSADM 09131253620 www.a00b.com آ صفر صفر بی دات کام

آشنايي با محتواي درس ذخيره وبازيابي اطلاعات (File Management) تاريخچه حافظه هاي ثانوي چگونه بوده است؟ در آغاز از باندهاي مغناطيسي (Magnetic Tapes) نه تنها براي نگهداري داده ها بلکه براي انجام عمليات بر آنها نيز استفاده مي شد. تنها امکان دسترسي به داده ها ، دسترسي سري (Sequential Access) بود و زمان انجام عمليات نسبت مستقيم با اندازه فايل داشت. با ورود ديسکهاي مغناطيسي تحولات عظيمي بوجود آمد: دسترسي مستقيم (Direct Access) به داده امکان پذير شد. با اختراع ايندکس ها امکان قرار دادن داده هاي کليدي در فايلهاي کوچکتر و استفاده بهينه از حافظه RAM براي انجام عمليات روي اين فايلها مهيا گشت و سرعت يافتن اطلاعات در فايلهاي داده را بالا برد.

آشنايي با محتواي درس ذخيره وبازيابي اطلاعات (File Management) تاريخچه حافظه هاي ثانوي چگونه بوده است؟ در سالهاي 1960 ساختارهاي درختواره (Tree Structure) براي بهينه سازي عمليات روي ايندکس ها مطرح شدند. در سال 1979 ساختار B-Tree و سپس B+Tree براي نگهداري فايلهاي داده اختراع شد که امکان دسترسي به داده را در ميان ميليونها رکورد با 3 يا 4 دسترسي به ديسک(I/O) امکانپذير نمود. ساختار Hashing وارد عرصه عمل شد و آرزوي ديرينه دسترسي به هر داده فقط با يک I/O را ميسر ساخت.

آشنايي با محتواي درس ذخيره وبازيابي اطلاعات (File Management) سر فصلهاي اين درس کدامند؟ اطلاعات بر روي ديسکها، نوارها و CD به چه صورتي ذخيره ميشود؟ اطلاعات چگونه از روي ديسک خوانده مي شود؟ رکوردهاي اطلاعاتي را چگونه مي توان ايجاد و مديريت کرد؟ ايندکسها چه قابليتهايي به ما مي دهند؟ انواع ايندکس ها کدامند؟ ايندکس ساده چيست؟ ايندکس دودويي ساده ويا صفحه بندي شده چيست؟ B-Tree ، B+Tree، B*Tree چيست؟ Hash ، Linear Hash، Extendible Hash چيست؟

آشنايي با محتواي درس ذخيره وبازيابي اطلاعات (File Management) اشيا در C++ : صفات و خصوصيات متدها سازنده مخرب دادن بار اضافی به عملگرها ساير طراحی وبسایت - برنامه نویسی – پروژه پایگاه داده – SQL Server مهندسی نرم افزار UML و SSADM 09131253620 www.a00b.com آ صفر صفر بی دات کام

آشنايي با محتواي درس ذخيره وبازيابي اطلاعات (File Management) مثال: class Person{ public: char name[20],family[20]; Person(); }; طراحی وبسایت - برنامه نویسی – پروژه پایگاه داده – SQL Server مهندسی نرم افزار UML و SSADM 09131253620 www.a00b.com آ صفر صفر بی دات کام

آشنايي با محتواي درس ذخيره وبازيابي اطلاعات (File Management) يک برنامه نمونه: main(){ Person p; cout<< “enter name: ”; cin>> p.name; cout<< “enter family: ”; cin>> p.family; // working with the class } طراحی وبسایت - برنامه نویسی – پروژه پایگاه داده – SQL Server مهندسی نرم افزار UML و SSADM 09131253620 www.a00b.com آ صفر صفر بی دات کام