INITIALIZING SECURE CHANNEL...
CPU MEM NET PING9.2 ms SECSECURED
COFFEE—WEB v4.0 // eu-1
ONLINE 2 847 --:--:--
/english > 08. Databases & SQL Vocabulary
// УРОК 08

Databases & SQL Vocabulary

B1

Databases & SQL Vocabulary

Database questions are universal in backend interviews. Use precise English to discuss your approach.

Key Terms

TermMeaning
schemaStructure/blueprint of the database tables
queryA request to retrieve or modify data
indexData structure that speeds up lookups
migrationScript that changes the database schema
transactionA unit of work that is atomic (all-or-nothing)
normalizationOrganizing data to reduce redundancy
foreign keyA field linking two tables

SQL vs NoSQL Discussion

  • "For structured relational data, I would go with PostgreSQL."
  • "If we need horizontal scaling and flexible schema, MongoDB makes more sense."
  • "Redis is ideal for caching frequently accessed data."

Useful Phrases

  • "I added an index on the user_id column to speed up lookups."
  • "The query was doing a full table scan — I optimized it by adding a composite index."
  • "We wrap the payment logic in a transaction to ensure consistency."
// TERMINAL CHALLENGE

Проверь себя

Q1. What is a database 'index' used for?
Q2. Which database would you recommend for flexible schema and horizontal scaling?
Q3. What does 'transaction' mean in a database context?
Q4. Complete: 'The query was doing a full ___ scan, which caused slow response times.'
Q5. What is a 'migration' in the context of databases?
╔═ GL1TCH v0.1 ═[ПОДКЛЮЧЕНО]═╗ [×]
СОЕДИНЕНИЕ АКТИВНО
запросов:
// сессия #{} начата
>_
[ РАЗРЫВ СВЯЗИ ]
лимит исчерпан...
иду спать... zzZ
хочешь больше? [зарегистрироваться] // +10 запросов в день