This document provides an overview of key concepts in database management systems including:
1. It defines common database terms like database, data file, record, field, DBMS, database handler, RDBMS, ORDBMS, and OODBMS.
2. It describes different types of database management systems like relational, object-relational, and object-oriented DBMS.
3. It discusses SQL commands and transactions including DDL, DML, DCL, and TCL.
4. It covers database design concepts like constraints, data types, joins, views, and materialized views.
Oracle 11g Institutes : kelly technologies is the best Oracle 11g Training Institutes in Hyderabad. Providing Oracle 11g training by real time faculty in Hyderabad.
Oracle 11g Institutes : kelly technologies is the best Oracle 11g Training Institutes in Hyderabad. Providing Oracle 11g training by real time faculty in Hyderabad.
React is a JavaScript library for creating user interfaces by Facebook and Instagram. Many people choose to think of React as the V in MVC.
We built React to solve one problem: building large applications with data that changes over time. To do this, React uses two main ideas.
Simple
Simply express how your app should look at any given point in time, and React will automatically manage all UI updates when your underlying data changes.
Declarative
When the data changes, React conceptually hits the "refresh" button, and knows to only update the changed parts.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
20 Comprehensive Checklist of Designing and Developing a WebsitePixlogix Infotech
Dive into the world of Website Designing and Developing with Pixlogix! Looking to create a stunning online presence? Look no further! Our comprehensive checklist covers everything you need to know to craft a website that stands out. From user-friendly design to seamless functionality, we've got you covered. Don't miss out on this invaluable resource! Check out our checklist now at Pixlogix and start your journey towards a captivating online presence today.
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfMalak Abu Hammad
Discover how MongoDB Atlas and vector search technology can revolutionize your application's search capabilities. This comprehensive presentation covers:
* What is Vector Search?
* Importance and benefits of vector search
* Practical use cases across various industries
* Step-by-step implementation guide
* Live demos with code snippets
* Enhancing LLM capabilities with vector search
* Best practices and optimization strategies
Perfect for developers, AI enthusiasts, and tech leaders. Learn how to leverage MongoDB Atlas to deliver highly relevant, context-aware search results, transforming your data retrieval process. Stay ahead in tech innovation and maximize the potential of your applications.
#MongoDB #VectorSearch #AI #SemanticSearch #TechInnovation #DataScience #LLM #MachineLearning #SearchTechnology
Pushing the limits of ePRTC: 100ns holdover for 100 daysAdtran
At WSTS 2024, Alon Stern explored the topic of parametric holdover and explained how recent research findings can be implemented in real-world PNT networks to achieve 100 nanoseconds of accuracy for up to 100 days.
In the rapidly evolving landscape of technologies, XML continues to play a vital role in structuring, storing, and transporting data across diverse systems. The recent advancements in artificial intelligence (AI) present new methodologies for enhancing XML development workflows, introducing efficiency, automation, and intelligent capabilities. This presentation will outline the scope and perspective of utilizing AI in XML development. The potential benefits and the possible pitfalls will be highlighted, providing a balanced view of the subject.
We will explore the capabilities of AI in understanding XML markup languages and autonomously creating structured XML content. Additionally, we will examine the capacity of AI to enrich plain text with appropriate XML markup. Practical examples and methodological guidelines will be provided to elucidate how AI can be effectively prompted to interpret and generate accurate XML markup.
Further emphasis will be placed on the role of AI in developing XSLT, or schemas such as XSD and Schematron. We will address the techniques and strategies adopted to create prompts for generating code, explaining code, or refactoring the code, and the results achieved.
The discussion will extend to how AI can be used to transform XML content. In particular, the focus will be on the use of AI XPath extension functions in XSLT, Schematron, Schematron Quick Fixes, or for XML content refactoring.
The presentation aims to deliver a comprehensive overview of AI usage in XML development, providing attendees with the necessary knowledge to make informed decisions. Whether you’re at the early stages of adopting AI or considering integrating it in advanced XML development, this presentation will cover all levels of expertise.
By highlighting the potential advantages and challenges of integrating AI with XML development tools and languages, the presentation seeks to inspire thoughtful conversation around the future of XML development. We’ll not only delve into the technical aspects of AI-powered XML development but also discuss practical implications and possible future directions.
Unlocking Productivity: Leveraging the Potential of Copilot in Microsoft 365, a presentation by Christoforos Vlachos, Senior Solutions Manager – Modern Workplace, Uni Systems
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...Neo4j
Leonard Jayamohan, Partner & Generative AI Lead, Deloitte
This keynote will reveal how Deloitte leverages Neo4j’s graph power for groundbreaking digital twin solutions, achieving a staggering 100x performance boost. Discover the essential role knowledge graphs play in successful generative AI implementations. Plus, get an exclusive look at an innovative Neo4j + Generative AI solution Deloitte is developing in-house.
Threats to mobile devices are more prevalent and increasing in scope and complexity. Users of mobile devices desire to take full advantage of the features
available on those devices, but many of the features provide convenience and capability but sacrifice security. This best practices guide outlines steps the users can take to better protect personal devices and information.
Building RAG with self-deployed Milvus vector database and Snowpark Container...Zilliz
This talk will give hands-on advice on building RAG applications with an open-source Milvus database deployed as a docker container. We will also introduce the integration of Milvus with Snowpark Container Services.
Essentials of Automations: The Art of Triggers and Actions in FMESafe Software
In this second installment of our Essentials of Automations webinar series, we’ll explore the landscape of triggers and actions, guiding you through the nuances of authoring and adapting workspaces for seamless automations. Gain an understanding of the full spectrum of triggers and actions available in FME, empowering you to enhance your workspaces for efficient automation.
We’ll kick things off by showcasing the most commonly used event-based triggers, introducing you to various automation workflows like manual triggers, schedules, directory watchers, and more. Plus, see how these elements play out in real scenarios.
Whether you’re tweaking your current setup or building from the ground up, this session will arm you with the tools and insights needed to transform your FME usage into a powerhouse of productivity. Join us to discover effective strategies that simplify complex processes, enhancing your productivity and transforming your data management practices with FME. Let’s turn complexity into clarity and make your workspaces work wonders!
Climate Impact of Software Testing at Nordic Testing DaysKari Kakkonen
My slides at Nordic Testing Days 6.6.2024
Climate impact / sustainability of software testing discussed on the talk. ICT and testing must carry their part of global responsibility to help with the climat warming. We can minimize the carbon footprint but we can also have a carbon handprint, a positive impact on the climate. Quality characteristics can be added with sustainability, and then measured continuously. Test environments can be used less, and in smaller scale and on demand. Test techniques can be used in optimizing or minimizing number of tests. Test automation can be used to speed up testing.
Dr. Sean Tan, Head of Data Science, Changi Airport Group
Discover how Changi Airport Group (CAG) leverages graph technologies and generative AI to revolutionize their search capabilities. This session delves into the unique search needs of CAG’s diverse passengers and customers, showcasing how graph data structures enhance the accuracy and relevance of AI-generated search results, mitigating the risk of “hallucinations” and improving the overall customer journey.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Removing Uninteresting Bytes in Software FuzzingAftab Hussain
Imagine a world where software fuzzing, the process of mutating bytes in test seeds to uncover hidden and erroneous program behaviors, becomes faster and more effective. A lot depends on the initial seeds, which can significantly dictate the trajectory of a fuzzing campaign, particularly in terms of how long it takes to uncover interesting behaviour in your code. We introduce DIAR, a technique designed to speedup fuzzing campaigns by pinpointing and eliminating those uninteresting bytes in the seeds. Picture this: instead of wasting valuable resources on meaningless mutations in large, bloated seeds, DIAR removes the unnecessary bytes, streamlining the entire process.
In this work, we equipped AFL, a popular fuzzer, with DIAR and examined two critical Linux libraries -- Libxml's xmllint, a tool for parsing xml documents, and Binutil's readelf, an essential debugging and security analysis command-line tool used to display detailed information about ELF (Executable and Linkable Format). Our preliminary results show that AFL+DIAR does not only discover new paths more quickly but also achieves higher coverage overall. This work thus showcases how starting with lean and optimized seeds can lead to faster, more comprehensive fuzzing campaigns -- and DIAR helps you find such seeds.
- These are slides of the talk given at IEEE International Conference on Software Testing Verification and Validation Workshop, ICSTW 2022.
1. Nibble Matrix
By Kamlesh Kumar Singh
Database - Collection of data files.
DataFile - collection of records(rows).
Record(rows) - collection of fields.
Field = set of informations.
DBMS - Database Management System.
A System which manage the database.
Database Handler - each & every database has one database handler - that handle uthe database.
DBMS - Database Management System. - Access / FoxPro / Excel
RDBMS - Relational Database Management System. - SQL Server / Oracle upto 7.3 / sybase / MySQL.
ORDBMS - Object Relational Database Management System. - Oracle8
oracle8 - Object, user define composite data types.
OODBMS - Object Oriented Database Management System. - Oracle 8i & 9i & 10G
i - internet programming. - java is a kind of internet programming.
need for java - JVM , Oracle8i - JVM include - SQLJ - SQL Java programming.
SQL - Structured Query Language - common language for all Databases.
SQL -
DDL - create / alter / drop, truncate
DML - delete / insert / update
2. DCL - grant / revoke
DRL - select statement
TCL - commit / rollback / savepoint.
Codd's Rules - 12 rules + 1 zero rule = 13 rules .
Codd's -
< 6 rules support - DBMS
>= 6 rules support - RDBMS.
Oracle support 12.5 rules.
.5 not supported by oracle that is view updation.
views -
simple view & complex view
auto updation - simple views updatable but complex view - not auto updatable.
work with Oracle
env -
3. SQLPLUS - Oracle env
ISQLPLUS - in 9i , for use oracle with web browser. ie - http://localhost/isqlplus
--to create own database table.
1- without constraints 2 - with constraints
constraints -
not null - user can't insert into null values.
unique - not null + not duplicate
primary key - not null + not duplicate = can ref with other table
foreign or reference key - child records.
check - condition check at the DML operator(insert & update) time.
default - if user not spacify value for a column then
default value to be inserted.
constraints name -
database server assign (auto) user (explicit)
4. data type
number(4) - int only
number(7,2) - floating value 99999.99
char - fixed length
varchar & varchar2 - dynamic , but has max limit
lob - upto 4 gb
long - upto 2 gb
date - for date & time.
user define composite data type - Object.
- to add constraints in table .
1 - at the table creation time
2 - after table creation.
-- to create a table without constraints.
create table semp
(
empno number(4),
ename varchar(20),
sal number(7,2),
deptno number(2)
)
-- to create a table with constraints.
5. create table femp
(
empno number(4) constraints myno primary key,
ename varchar(20) not null,
sal number(7,2) constraints mysal check(sal> 5000),
deptno number(2) default(10) check(deptno in(10,20,30,40))
)
- to insert default value in table column
insert into cemp(empno,ename,sal) values(1003,'Amar',9299);
- to add extra column in table
alter table cemp add jdate date
- to change the column size
alter table cemp modify sal number(8,2)
*** but for decreasing column size table should be empty
6. - to add constraint after table creation.
alter table bemp add constraints mys check(sal<50000)
- to enable or desable constaints
- for disable
alter table cemp disable constraints mysal;
- for enable
alter table femp enable constraints mysal;
*** for enabling constraints condition must be fullfil
- to drop a constraints
alter table femp drop constraints mysal
- to set unused column
alter table cemp set unused column jdate
- to drop all unused columns
7. alter table cemp drop unused columns
- to drop an column
alter table cemp drop column deptno
- to rename table
rename cemp to cc;
- to create synonym
create synonym c for femp
- to create table with foreign key
create table fincr
(
empno number(4) references femp(empno),
amount number(5)
)
-
create table fbonus
8. (
empno number(4) references femp(empno) on delete cascade,
amount number(5) )
on delete cascade option - if parent record deleted then child record auto deleted.
else delete child record first then parent record deleted.
Joins - to select data from more then one tables.
type -
1- Equi Join - when common column exist in both tables.
select empno,ename,sal,e.deptno,dname from emp e,dept d
where e.deptno=d.deptno
2- Non Equi Join - when common column not exist in both table.
select empno,ename,sal,grade from emp,salgrade
where sal between losal and hisal
3- Cross Join - table join without any condition.
result - Ist table each row * each row of IInd table
select empno,ename,sal,e.deptno,dname from emp e,dept d
9. 4- Outer Join - like equi join.
Left Outer join - display those record also which r
exist in IInd not exist in Ist.
select empno,ename,sal,e.deptno,dname from emp e,dept d
where e.deptno=d.deptno(+)
10
20
30
40 - not 50
Right outer join - display those record also which r
exist in Ist not exist in IInd.
select empno,ename,sal,e.deptno,dname from emp e,dept d
where e.deptno(+)=d.deptno
10
20
30
50 - not 40
5- Self Join - when one table use a multiple table.
10. - list of all emp with his/her manager name.
select e.ename,m.ename as manager from emp e,emp m
where e.mgr = m.empno
- List of all emp whose sal > their manager.
select e.ename,m.ename as manager from emp e,emp m
where e.mgr = m.empno and e.sal > m.sal
- List of all emp who join company before their manager.
VIEWS :->
-----
* A view is a logical table based on a table or another view.
* A view contains no data of its own. but it is like a window
through witch data from table can be viewed or change.
* The tables on which a view is based are called base tables.
* the view is stored as a select statement in the data dictionary.
* the changes in the table are automatically reflected in the views.
Advantages of a view : ->
* to make a complex queries easy.
* to allow data independence .
* securities.
11. views types ->
1> Simple 2> complex
Deff. between Simple & complex views : -
------------------------------------
Feature Simple Complex
1> no. of tables one one or more
2> contain function no yes
3> contain groups no yes
of data
4> DML through views yes not allowed
view type
simple view - with single table
complex view - with more then one table or with functions
read only view - read only.
force view - view created without having base table
12. in line view - when select statement pass as a object in from clause
Q1. -> create a view, amit, that contains details of employees in deptno 10 .
Ans.
create or replace view amit as select empno,ename,sal,deptno from emp
where deptno=10;
with read only option. - > to used for create a read only view
---------------------
Q2. -> create read only view for employees of dept 10 ?
Ans. ->
create view nnn as select empno,ename,sal from emp
where deptno=10 with read only;
with check option --> when the WITH CHECK OPTION CLAUSE is used , any DML statement that
----------------- manipulate rows that can be not be selected by a VIEW ,are rejected
13. ** to create a view with check option -
create view a2 as select empno,ename,sal,deptno from emp
where deptno=10 with check option;
* in this view we can insert only in dept 10 not in any other depts.
* to select data from a view
select * from viewname;
* to create a complex view .
CREATE VIEW CCC3 AS SELECT EMPNO,ENAME,SAL,E.DEPTNO,D.DNAME FROM EMP E,DEPT D
* create table with keys(primary key , Foreign key)
-->with Primary key
CREATE TABLE M_DEPT
(
DEPTNO NUMBER(2) CONSTRAINTS DE PRIMARY KEY,
DNAME VARCHAR2(10) NOT NULL
);
--> with foreign key
14. CREATE TABLE M_EMP
(
EMPNO NUMBER(4) PRIMARY KEY,
ENAME VARCHAR2(10),
SAL NUMBER(7,2),
DEPTNO NUMBER(2),
FOREIGN KEY(DEPTNO) REFERENCES M_DEPT(DEPTNO)
);
--> create view
CREATE VIEW CCC4 AS SELECT EMPNO,ENAME,SAL,E.DEPTNO,D.DNAME FROM M_EMP E,M_DEPT D
WHERE E.DEPTNO=D.DEPTNO
-- force view - view create without a base table.
create force view amit6 as select * from baba
--------->
The view must not contain any of the following constructs:
A set operator
A DISTINCT operator
An aggregate or analytic function
A GROUP BY, ORDER BY, MODEL, CONNECT BY, or START WITH clause
15. A collection expression in a SELECT list
A subquery in a SELECT list
A subquery designated WITH READ ONLY
An inline view is a SELECT statement in the FROM-clause of another SELECT statement. In-line views are
commonly used
simplify complex queries by removing join operations and condensing several separate queries into a
single query.
This feature was introduced in Oracle 7.2.
This feature is commonly referred to in the MSSQL community as a derived table, and in the Postgres
community
simply refers to it as a subselect (subselects are inline views + subqueries in Oracle nomenclature).
[edit]Examples
Example inline view:
SELECT *
FROM ( SELECT deptno, count(*) emp_count
FROM emp
GROUP BY deptno ) emp,
dept
WHERE dept.deptno = emp.deptno;
Another good example of an inline view is:
SELECT a.last_name, a.salary, a.department_id, b.maxsal
FROM employees a,
( SELECT department_id, max(salary) maxsal
FROM employees
16. GROUP BY department_id ) b
WHERE a.department_id = b.department_id
AND a.salary = b.maxsal;
Materialized view or snapshot-> it is one kind of physical table not a logical table.
automatic updation not allowed.
*to create a Materialized view ->
create materialized view cc2 as select * from m_emp;
or
create snapshot cc2 as select * from m_emp
-to drop a materialized view
drop materialized view viewname
* Materialized view not created if table does not contain a primary key constraint.
* for creating materialized view user should have dba privileges.
the DBA can create a user by using the create user command, once a user
is created the DBA can grant the specific system privileges to a user.
17. Schema - collection of Objects such as tables / views & sequences.
user schema - collection of users Object.
Data Securities -
System Securities - System privileges - gain access to the database.
Data Securities - Object privileges - manipulates the content of
the database Objects.
Object privileges vary from Object to Objects.
Role - group of privileges , role is a kind of intermediate user.
oracle server provide the 3 standard role.
connect - to connect with database
resource - to use the data base resources
dba - for DBA task (database Administration )
- to create user define role -
create role baba;
18. grant create session,create table , create procedure to baba;
grant baba to singh;
-- TO DROP A ROLE
DROP ROLE BABA
Grant - to assign the privileges
revoke - to remove the privileges.
System privileges -
create session - for connect
create table - for create table
create view - for view creation
create sequence - for sequence creation
create procedure. - for function , procedure & package creation
unlimited tablespace
19. Object privileges -
privileges table view sequence procedure
alter y - y -
delete Y Y - -
execute - - - Y
index Y - - -
insert Y Y - -
references Y - - -
select Y Y Y -
update Y Y - -
=
all
public - for all users
** for DBA - user should have DBA privilege.
-- to display list of all existsing.
select * from all_user.
-- to create a new user
20. create user username identified by password
-- to change the password
alter user username identified by password;
-- for connecting user should have connect / create session
privilege.
-- to assign Object privileges -
grant select , insert , update on emp to singh.
grant all on emp to public - for all user
public - for all users
grant select , insert , update on emp to singh
-- TO DROP A USER
DROP USER USERNAME
DROP USER USERNAME CASCADE - DROP USER WITH ALL RELATED LINKS
21. - for assign Object privileges
grant select,insert , update on emp to singh;
grant select,insert , update on emp to public; -- to assign select , insert & update
privilege for all user.
grant all on emp to public; -- to assign all privileges for all user.
-- to revoke the Object privileges -
revoke select , insert , update on emp from singh;
with grant Option - Object privileges granted with grant option r
revoked when the granter's previleges is revoked.
sequence - sequence is used for auto number generation ,for serial no ,
22. rollno / empno & more.
syn -
create sequence my
start witn 1001
increment by 1
minvalue 1001
maxvalue 1010
cycle
cache 3
attributes for sequence -
nextval - next value from sequence
currval - current value in sequence
-- to alter seqnence
alter sequence mys
increment by 2
maxvalue 1020
cycle
23. select ab.nextval from dual
-- to use sequence in table
insert into emp values(ab.nextval,'&name',&sal)
-- to drop a sequence
drop sequence ab;
-- to display list of all sequence
select * from user_sequences;
Temporary Table :-
---------------
used for Temporary result.data exist only for the duration of a transction or session .
24. only visible with in a single transaction or session. no redo generated.
created in user's temporary tablespace.
syn:-
create global temporary table ab
(
eno number(4) primary key,
ename char(22)
)
on commit delete rows
this table is for transction duration.
* no data segment created.
Indexing - An Oracle Server Index is a Schema Object that can speed
up the retrieval of row by using a pointer. Indexes can be
created explicit & implicit.
if U do not have index on the column, then a full table scan will occur.
implicit index - ORACLE itself creates indexes at the time of
table creation, if a table definition contains a PRIMARY KEY.
Explicit Index - that is created by user.
25. create [UNIQUE] index INDEXNAME on TABLENAME[COLNAME];
*** to display list of all user indexes.
select * from user_indexes;
CLUSTERING -
=> Clusters r used for performance improvement.
=> Clustering is a method of storing tables that r related and
often accessed together.
=> A cluster is group of rows from separate tables storing in the
same disk block.
=> Clustered tables must have a common column called cluster column.
=> to Cluster tables the user must own the tables.
*** if table is the part of cluster can't be partition.
steps for creating clusters -
=> creating cluster
26. create cluster cname(colname datatype)
=> creating cluster tables
create table tname
(
colname datatype primary key,
colname datattype
)cluster cname(colname)
create table tname
(
colname datatype references tname(colname),
colname datattype
)cluster cname(colname)
=> creating cluster indexes.
=> In a clustered index, the actual data is stored in the indexed order.
=> Each Unique cluster key value is stored only once in the each data
block.
=> they save disk space and improve perforence for many operations.
syn -
create index iname on cluster cname;
27. => to drop an cluster
drop cluster cname;
*** cluster not deleted if cluster is not empty.
drop cluster cname including tables ;
drop cluster cname including tables cascade constraints ;
=>