Giter Club home page Giter Club logo

database-systems's Introduction

Database-systems

Implementation of a B+ tree

java

The program uses one file to the tree "pages" (nodes). A second file is the main data file, which contains data records. The main data file will is accepted as input to the program and the program build the index for it in a separate file.

3 kind of pages:

  1. Title page (one), to store general information about the structure of the tree file, and what is the main file that the index points to
  2. Pages representing internal nodes in which the voters will be pages of the appropriate child nodes
  3. Pages that represent leaves in which the voters will be the appropriate record identifiers in the data file

The program include the following actions and allow the user to:

  1. Load an index for a given data file as user input. The file is built from records of a fixed length, and all fields are the same type. The first field is the key field on which to build the index. build the index - by reading in the loop for record entry operation added as described below, for all entries in the input file

  2. A file entry is found in the search field. If the value is in the index, the action returns the full record from the file. otherwise the action returns a message that the value was not found

  3. Add a file entry to the file, as well as the index. The user will be able to enter data for a new record into the program file. Add the record to the file and add an appropriate index entry to the tree (including browsing and splitting handling, as needed).

  4. Delete from the file and the index. The user can delete an entry according to the value of the search field. Deleting is only done by marking the entry in the file and in the index

  5. Scan and display the file in the index's sort order

database-systems's People

Contributors

natalib1 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.