Linux/Shell scripts
Linux/Shell Scripts
Linux and Shell Scripts
Linux and shell scripts are powerful tools for automation and system management. Whether you're a beginner or an advanced user, mastering shell scripting can help streamline tasks, automate processes, and improve efficiency.
-
Linux & Shell scripts
✔ Linux Installation
✔ Basic Commands✔ Permissions Commands✔ Search Commands✔ System Commands✔ File Commands✔ Editors - Vim✔ Compression Commands✔ Job Scheduling✔ sysadmin Commands✔ Network Commands✔ File transfer Commands✔ Shell - types✔ Env. Variables✔ Operators✔ Arguments✔ Conditions & Loops✔ Scripts for log monitoring✔ Scripts for DB and Instance monitoring
Postgres SQL - for Developers
SQL - Postgres
Postgresql SQL - Structured Query Language
SQL (Structured Query Language) is a standard programming language used to manage and manipulate relational databases. It is widely used for querying, inserting, updating, and deleting data in databases. SQL is essential for database developers and administrators to interact with databases effectively. This section covers the fundamental concepts and commands of SQL, including data definition, data manipulation, and data control.
-
Introduction to Postgres SQL
✔ Connecting psql
✔ Logging in pgadmin✔ Connecting to Database on windows and Linux -
Querying Data
✔ Select✔ Column aliases✔ Order By✔ Select DistinctFiltering Data
✔ Where✔ AND operator✔ OR operator✔ Limit✔ Fetch✔ In✔ Between✔ Like✔ Is NullFunctions and sorting data
✔ Sorting rows using ORDER BY clause
✔ SQL row limiting clause in a query✔ Describe the differences between single row and multiple row functions✔ Manipulate strings with character function in the SELECT and WHERE clauses✔ Manipulate numbers with the ROUND, TRUNC and MOD functions✔ Perform arithmetic with date data✔ Manipulate dates with the date functionsJoining Multiple Tables
✔ Joins✔ Table aliases✔ Inner Join✔ Left Join✔ Self-join✔ Full Outer Join✔ Cross Join✔ Natural JoinGrouping Data
✔ Managing constraints
✔ Group By✔ HavingSet Operations
✔ Union✔ Intersect✔ ExceptGrouping sets, Cubes, and Rollups
✔ Grouping Sets✔ Cube✔ RollupSubquery
✔ Subquery✔ Correlated Subquery✔ ANY✔ ALL✔ EXISTSCommon Table Expressions
✔ PostgreSQL CTE✔ Recursive query using CTEsModifying Data
✔ Insert✔ Insert multiple rows✔ Update✔ Update join✔ Delete✔ UpsertTransactions
✔ PostgreSQL TransactionsImport & Export Data
✔ Import CSV file into Table✔ Export PostgreSQL Table to CSV fileManaging Tables
✔ Data types✔ Create a table✔ Select Into & Create table as✔ Auto-increment column with SERIAL✔ Sequences✔ Identity column✔ Alter table✔ Rename table✔ Add column✔ Drop column✔ Change column data type✔ Rename column✔ Drop table✔ Truncate table✔ Temporary table✔ Copy a tablePostgreSQL Constraints
✔ Primary key✔ Foreign key✔ DELETE CASCADE✔ CHECK constraint✔ UNIQUE constraint✔ NOT NULL constraint✔ DEFAULT constraintPostgreSQL Data Types in Depth
✔ Boolean✔ CHAR, VARCHAR, and TEXT✔ NUMERIC✔ DOUBLE PRECISION✔ REAL✔ Integer✔ DATE✔ Timestamp✔ Interval✔ TIME✔ UUID✔ Array✔ hstore✔ JSON✔ User-defined data types✔ Enum✔ XML✔ BYTEA✔ Composite TypesConditional Expressions & Operators
✔ CASE✔ COALESCE✔ NULLIF✔ CASTPostgreSQL DBA
PostgreSQL Database Administration
PostgreSQL DBA
PostgreSQL is an open-source relational database management system (RDBMS) that is known for its robustness, extensibility, and SQL compliance. It is widely used for various applications, from small projects to large-scale enterprise systems. PostgreSQL is known for its advanced features, including support for complex queries, transactions, and data integrity. PostgreSQL is a powerful and flexible database system that is suitable for a wide range of applications.
-
Introduction & Installation
✔ Database Basics and Database Types✔ PostgreSQL: Advantages, Usage✔ PostgreSQL as an Open Source Database✔ PostgreSQL: History and Versions✔ PostgreSQL: Real-time Usage✔ PostgreSQL Installation on LINUX OS✔ bin, data, and PATH Concepts✔ Command Line Tools✔ Post Installation: Environment Variables, Path, bin, and PGDATA VariablesPostgreSQL Architecture
✔ PostgreSQL Server Architecture✔ Server Process and Client Process✔ Postgres Program: Internal Process✔ Postmaster Process and Forks✔ Background Process, Connections✔ Utility Processes: Bgwriter, WAL✔ Checkpointer and StatsCollector✔ Log Writer, Autovacuum Utilities✔ Memory Segments and Usage✔ Shared Buffer and WAL Buffer✔ Dirty Data and Background Writer✔ Background Process, Backend ProcessCluster Creation
✔ initdb Utility Introduction