Browsed by
Category: Blog

What is Data Mining

What is Data Mining

Data mining is a concept by which we can analyze the current data from different perspectives and summarize the information in more useful manner. It’s mostly used either to derive some valuable information from the existing data or to predict sales to increase customer market. There are two basic aims of Data mining:- Prediction: – From the given data we can focus on how the customer or market will perform. For instance we are having a sale of 40000 $…

Read More Read More

About RDBMS

About RDBMS

RDBMS It exhibits all relationships. It is very easy to manage the data. In RDBMS data is stored in tabular form. Tables have rows & columns. Rows represent records and column represents fields. To access the data in RDBMS “SQL (Structured Query Language)” is used. Limitations of RDBMS: 1. It is slow as compare to network RDBMS. 2. Redundancy of data to establish the relationship between tables. Different types of RDBMS: ORACLE, SQL Server, Sybase, DB2, MySQL, etc. SQL queries…

Read More Read More

What is SQL

What is SQL

SQL stands for Structured Query Language.SQL is an ANSI (American National Standards Institute) standard computer language for accessing and manipulating database systems. SQL statements are used to retrieve and update data in a database. SQL stands for Structured Query Language. It’s a standard programming language specifically designed for managing and manipulating relational databases. With SQL, you can perform various operations on databases, such as querying data, inserting new records, updating existing records, and deleting records. It provides a set of…

Read More Read More

What is a self-join

What is a self-join

If we want to join two instances of the same table we can use self-join. A self-join in a database management system (DBMS) is when a table is joined with itself. This can be useful when you want to compare rows within the same table. For example, in a table representing employees, you might use a self-join to find pairs of employees who share the same manager.

What are indexes? What are B-Trees

What are indexes? What are B-Trees

Index makes your search faster. So defining indexes to your database will make your search faster.Most of the indexing fundamentals use “B-Tree” or “Balanced-Tree” principle. It’s not a principle that is something is created by SQL Server or ORACLE but is a mathematical derived fundamental.In order that “B-tree” fundamental work properly both of the sides should be balanced.

What’s difference between DBMS and RDBMS

What’s difference between DBMS and RDBMS

DBMS provides a systematic and organized way of storing, managing and retrieving from collection of logically related information. RDBMS also provides what DBMS provides but above that it provides relationship integrity. So in short we can say: RDBMS = DBMS + REFERENTIAL INTEGRITY These relations are defined by using “Foreign Keys” in any RDBMS.Many DBMS companies claimed there DBMS product was a RDBMS compliant, but according to industry rules and regulations if the DBMS fulfills the twelve CODD rules it’s…

Read More Read More

What’s the difference between DELETE and TRUNCATE

What’s the difference between DELETE and TRUNCATE

Following are difference between them: DELETE TABLE syntax logs the deletes thus making the delete operations low. TRUNCATE table does not log any information but it logs information about deallocation of data page of the table. So TRUNCATE table is faster as compared to delete table. DELETE table can have criteria while TRUNCATE can not. TRUNCATE table can not have triggers.

I have a table which has lot of inserts, is it a good database designto create indexes on that table

I have a table which has lot of inserts, is it a good database designto create indexes on that table

Insert’s are slower on tables which have indexes, justify it?or Why do page splitting happen? All indexing fundamentals in database use “B-tree” fundamental. Now whenever there is new data inserted or deleted the tree tries to become unbalance. Creates a new page to balance the tree.Shuffle and move the data to pages. So if your table is having heavy inserts that means it’s transactional, then you can visualize the amount of splits it will be doing. This will not only…

Read More Read More

What are E-R diagrams

What are E-R diagrams

E-R diagram also termed as Entity-Relationship diagram shows relationship between various tables in the database. The correct answer would be: E-R diagrams, short for Entity-Relationship diagrams, are visual representations used in database design to depict the logical structure of a database. They illustrate the entities within the system and the relationships between them. These diagrams typically consist of entities (which represent real-world objects or concepts), attributes (characteristics of entities), and relationships (associations between entities). E-R diagrams serve as blueprints for…

Read More Read More

What’s the difference between “UNION” and “UNION ALL

What’s the difference between “UNION” and “UNION ALL

UNION SQL syntax is used to select information from two tables. But it selects only distinct records from both the table. , while UNION ALL selects all records from both the tables. The main difference between “UNION” and “UNION ALL” in database management systems (DBMS) lies in how they handle duplicate rows. UNION: This operator combines the result sets of two or more SELECT statements, removing any duplicate rows from the final result set. It effectively performs a set union…

Read More Read More