answersLogoWhite

0


Best Answer

B-Tree is an indexing technique most commonly used in databases and file systems where pointers to data are placed in a balance tree structure so that all references to any data can be accessed in an equal time frame. It is also a tree data structure which keeps data sorted so that searching, inserting and deleting can be done in logarithmic amortized time.

The B-Tree belongs to a group of techniques in computer science known as self-balancing search trees which attempts to automatically keep the number of levels of nodes under the root small at all times. It is the most preferred way to implement sets, associative arrays and other data structures that are used in computer programming languages, relational database management systems and low level data manipulations.

In the B-Tree, the records are stored in the leaves. This is the location where there is nothing more beyond it. The order of the tree determines the maximum number of children per node. Depth refers to the number of required disk access. A B-Tree can have up to millions and billions of records although it is not all the time that leaves necessarily contain a record but more than half certainly do.

When decision points on the tree, which are called nodes, are on the hard disk instead of on random access memory (RAM), B-Tree is the preferred technique as hard disks could work a thousand times slower compared to RAM because processes on hard disks requires mechanical parts. On RAM, processes are done purely in electronic media.

The nodes in a B-Tree can have a variable number of child nodes within a range pre-defined by the system. When a data is inserted or removed from a node, the number of child nodes also changes but the pre-defined ranged should be maintained so internal nodes may either be split or joined.

B-trees do not need frequent re-balancing as both the upper and lower bounds on the number of child nodes are typically fixed. As an example, a 2-3 B-Tree implementation has internal nodes that can only have 2 or 3 child nodes.

To keep the B-tree well balanced, all leaf nodes are required to be of the same depth. The depth only increases very slowly and infrequently.

Searching in a B-Tree structure starts from the root and traversed from top to bottom. Insertion is done by looking for a node where a new leaf or element should be. If there is still room or the maximum legal number of elements is not exceeded, insertion takes place. Otherwise, the leaf node splits into another tow nodes. Deletion in a B-Tree has two strategies. The first involves locating the item to be deleted and immediately doing the action then restructuring the tree. The second involves doing a traversing down the tree and laying out the restructure before deleting.

In a file system, a file may contain any number of B-Trees and each B-Tree must have a unique name composed of any string of characters. Each B-Tree names is saved in the file an item containing the number of the rood node of the B-Tree. Searching, inserting and deleting through the B-Tree starts from the root node.

User Avatar

Wiki User

βˆ™ 13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is B -tree?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Difference between B-tree and B tree?

B-tree is a self-balancing tree data structure commonly used in databases and file systems, designed to reduce the number of disk accesses. B tree is a broad term that does not have a specific definition but may refer to any tree data structure with characteristics similar to a B-tree.


Explainthe different between B tree and B plus tree?

The B-tree is the classic disk-based data structure for indexing records based on an ordered key set. The B+-tree(sometimes written B+-tree, B+tree, or just B-tree) is a variant of the original B-tree in which all records are stored in the leaves and all leaves are linked sequentially. The B+-tree is used as a (dynamic) indexing method in relational database management systems.


When was B-tree created?

B-tree was created in 1971.


A B C on the tree?

A B C on the tree . A stand for A B stand for Bee C stand for see means " A bee see on the tree " .....


How can a B-Tree be described?

A B-Tree can be described as a tree that has many nodes up, as well as many nodes down. A B-Tree not only has an order but they also have keys and pointers.


What is the Name of a tree that starts with a b?

Buckeye Tree


What is traverse technique used in chain survey?

1. pre-order b-tree traversal. 2. in-order b-tree traversal. 3. post-order b-tree traversal


Difference between a btree and b tree in datastructures?

They are the same thing - two different ways of writing B-Tree.


What kind of tree begins with the letter b?

Bottle Tree; Bauhimia


What is the name of a tropical tree beginning with letter b?

Bottlebrush Tree


Is B tree a Binary Search Tree?

Yes because there is no real practical use for a binary tree other than something to teach in computer science classes. A binary tree is not used in the real world, a "B tree" is.


What are the notes to 'Mockingbird' on piano?

Are you, Are you Coming to the tree Where they strung up a man they say murdered three Strange things did happen here No stranger would it seem If we met up at midnight in the hanging tree Are you, Are you Coming to the tree Where the dead man called out for his love to flee Strange things did happen here No stranger would it seem If we met up at midnight in the hanging tree Are you, Are you Coming to the tree Where I told you to run, so we'd both be free Strange things did happen here No stranger would it seem If we met up at midnight in the hanging tree. Are you, Are you Coming to the tree Wear a necklace of rope, side by side with me Strange things did happen here No stranger would it seem If we met up at midnight in the hanging tree.