Stored Procedure
β Stored Procedure run several queries as if it is one function ππ» optimization, cache easy to update less traffic between client and server with SQL security ππ» less compatib...
β Stored Procedure run several queries as if it is one function ππ» optimization, cache easy to update less traffic between client and server with SQL security ππ» less compatib...
β Redis normally, DB is saved on harddisk or SSD ππ» Redis is saved on RAM, very fast If redis is saved on RAM, isnt RAM volatile? need backup to prevent snapshot: ba...
β Transaction work unit for updating database atomacity: λ°μλκ±°λ, λ°μλμ§ μκ±°λ consistency isolation: when one transaction is working, another transaction cannot interfere durability:...
β DB Index to search faster in RDMS enhance query speed ππ» data search faster ππ» data sort faster ππ» data update faster ππ» efficient management of data βοΈ index a column in table...
β Anomaly μ΄μ νμ ν μ΄λΈμ μλͺ» μ€κ³νμ¬ λ°μ΄ν° μ½μ , μμ , μμ ν λ μ€λ₯ λ°μ > 1. Insertion Anomaly need to add unnecessary data to instert when {student ID, course ID} is primary key, if need to sa...
β SQL Injection Malicious SQL by a hacker to be transmitted to DB, attacking the data π SQL Injection Attack Delete data attack when user logs in, inputs ID and password hacker wou...
β Key identify the tuples(rows) uniquely in the table π Candidate Key minimal set to uniquely identify a tuple every table must have at least single candidate key can have multiple candid...
β Blocking/Non Blocking βοΈ control calling method hands control over to called method μ μ΄κΆμ λ겨주λκ°? βοΈ Blocking μ μ΄κΆμ λ겨μ€λ€. calling process needs to wait for called process to ...
β Load Balancing sharing the work(load) to more than two servers network connection β¬οΈ scale-up: increase capability of hardware scale-out: divide work among several servers β‘οΈ Load bal...
β TLS/SSL SSL Secure Socket Layer provide network transport security prevent eveasdropping, forgery of transport data of server-client encrypt data over client-server TLS ...