Filter
Exclude
Time range
-
Near
"๐Ÿ—„๏ธ DB Tip of the Day: Monitor and fine-tune your database server's configuration settings to optimize performance based on workload, hardware, and usage patterns โš™๏ธ #DatabaseOptimization"
2
"๐Ÿ—„๏ธ DB Tip of the Day: Optimize database performance with proper data partitioning, especially for large tables and tables with lots of writes ๐Ÿ“ฆ #DatabaseOptimization"
6
SQL Server Pagination: OFFSET vs Keyset โ€” What You Need to Know #SQLServer #DatabaseOptimization #Pagination #BackendDevelopment #TechTips #Logicteca
1
2
5
21
Why move your data when you can move your code? Learn why running Python directly inside Postgres is a game-changer for efficiency. Insightful chat with Marc Linster and Umair Shahid. #Postgres #Python #DataEngineering #DatabaseOptimization
1
2
136
โœจ Optimize Queries made simple New comprehensive guide covering: โœจ Core concepts ๐Ÿ”ง Practical examples โšก Performance tips ๐ŸŽฏ Best practices Dive in ๐Ÿ‘‡ ๐Ÿ”— kubaik.github.io/optimize-quโ€ฆ #Cybersecurity #QueryPerformance #MongoDB #DatabaseOptimization #DataEngineering

2
16
ู‡ู„ ูŠุณุชุบุฑู‚ ุงุณุชุนู„ุงู… SQL ุงู„ุฎุงุต ุจูƒ ุณุงุนุงุช ุจุฏู„ุงู‹ ู…ู† ุซูˆุงู†ูุŸ ูŠุนุชู‚ุฏ ุงู„ูƒุซูŠุฑูˆู† ุฃู† ุงู„ุจุทุก ุณุจุจู‡ ุถุฎุงู…ุฉ ุงู„ุจูŠุงู†ุงุช ุฃูˆ ุถุนู ุงู„ุณูŠุฑูุฑุŒ ู„ูƒู† ุงู„ุญู‚ูŠู‚ุฉ ุงู„ุตุงุฏู…ุฉ: ูƒูˆุฏ SQL ุบูŠุฑ ุงู„ู…ุญุณู† ู‡ูˆ ุงู„ู‚ุงุชู„ ุงู„ุตุงู…ุช ู„ู„ุฃุฏุงุก ุฅู„ูŠูƒ ูƒูŠู ุชุฑูุน ูƒูุงุกุฉ ุงุณุชุนู„ุงู…ุงุชูƒ ู…ู† "ู…ุจุชุฏุฆ" ุฅู„ู‰ "ุฎุจูŠุฑ": 1๏ธโƒฃ ูุฎ ุงู„ู€ Full Table Scan ุจุฏู„ุงู‹ ู…ู† ุงู„ุจุญุซ ุงู„ุฐูƒูŠุŒ ูŠุฌุจุฑ ุงู„ูƒูˆุฏ ุงู„ุณูŠุฆ ุงู„ู…ุญุฑูƒ ุนู„ู‰ ู…ุณุญ ูƒู„ ุณุทุฑ ููŠ ุงู„ุฌุฏูˆู„. ุงู„ุญู„ุŸ ุงุณุชุฎุฏุงู… ุงู„ูู‡ุงุฑุณ (Indexes) ุจุญูƒู…ุฉุŒ ูˆุชุฌู†ุจ ุงู„ุนู…ู„ูŠุงุช ุงู„ุชูŠ ุชุนุทู‘ู„ ุงู„ู€ Index ููŠ ุดุฑุท ุงู„ู€ WHERE. 2๏ธโƒฃ ู…ุนุถู„ุฉ ุงู„ู€ JOINs ูˆุงู„ู‚ูŠู… ุงู„ู…ุนุฏูˆู…ุฉ ุงู„ูุฑู‚ ุจูŠู† INNER JOIN ูˆ LEFT JOIN ู„ูŠุณ ู…ุฌุฑุฏ ู†ุชุงุฆุฌ ู…ุฎุชู„ูุฉุŒ ุจู„ ุทุฑูŠู‚ุฉ ุชุนุงู…ู„ ุงู„ู…ุญุฑูƒ ู…ุน ุงู„ู€ NULLs. ุงู„ุฑุจุท ุงู„ุฎุงุทุฆ ูŠุถุงุนู ุฒู…ู† ุงู„ู…ุนุงู„ุฌุฉ ุจุดูƒู„ ุฃุณูŠ ู…ุน ุฒูŠุงุฏุฉ ุงู„ุจูŠุงู†ุงุช. 3๏ธโƒฃ ุชุฑุชูŠุจ ุงู„ุนู…ู„ูŠุงุช ุงู„ู…ู†ุทู‚ูŠุฉ (Logical Processing) ู‡ู„ ุชุถุน ุงู„ูู„ุชุฑ ููŠ HAVING ุฃู… WHEREุŸ โ€ข ุงู„ู€ WHERE: ุชุตููŠุฉ ุงู„ุจูŠุงู†ุงุช ู‚ุจู„ ุงู„ุชุฌู…ูŠุน (ุฃุฏุงุก ุฃุณุฑุน). โ€ข ุงู„ู€ HAVING: ุชุตููŠุฉ ุงู„ู†ุชุงุฆุฌ ุจุนุฏ ุงู„ุชุฌู…ูŠุน (ุฃุฏุงุก ุฃุจุทุฃ). ุงู„ุชุญูƒู… ููŠ GROUP BY ู‡ูˆ ู…ู‡ุงุฑุฉ ุฌูˆู‡ุฑูŠุฉ ู„ุถู…ุงู† ุณุฑุนุฉ ุงู„ุชู‚ุงุฑูŠุฑ ุงู„ู…ุจุงุดุฑุฉ. #ู…ุณุงุฑ_ุชุญู„ูŠู„_ุงู„ุจูŠุงู†ุงุช_ุงู„ู…ุชูƒุงู…ู„ ู…ุน #ุฃูƒุงุฏูŠู…ูŠุฉ_ุงุชุตุงู„ุงุชูŠุŒ ู†ู†ุชู‚ู„ ุจูƒ ู…ู† ุงู„ุฃุณุงุณูŠุงุช ุฅู„ู‰ ุงุญุชุฑุงู ุฅุฏุงุฑุฉ ุจูŠุฆุฉ SQL Server ูˆุชุตู…ูŠู… ุงู„ู‚ูˆุงุนุฏ ุงู„ุนู„ุงุฆู‚ูŠุฉ ุจูƒูุงุกุฉ ุนุงู„ูŠุฉ. ๐Ÿ“ฉ ุณุคุงู„ ู„ู„ู…ุญุชุฑููŠู†: ุจุฑุฃูŠูƒุŒ ู…ุง ู‡ูˆ ุงู„ุฎุทุฃ ุงู„ุฃูƒุซุฑ ุดูŠูˆุนุงู‹ ุงู„ุฐูŠ ูŠู‚ุชู„ ุฃุฏุงุก ุงู„ุงุณุชุนู„ุงู…ุงุช ุนู†ุฏ ุฏู…ุฌ ุงู„ุฌุฏุงูˆู„ ุงู„ุถุฎู…ุฉุŸ ุดุงุฑูƒู†ุง ุชุฌุฑุจุชูƒ ููŠ ุงู„ุฑุฏูˆุฏ #SQLPerformance #DataAnalysis #DatabaseOptimization #SQL #BigData #MyCommunicationAcademy
14
1,106
Composite Index vs Separate Indexes in MySQL Query: WHERE user_id = 10 AND status = 'paid' โŒ Two separate indexes โ†’ optimizer picks ONE, filters the other in memory โœ… INDEX(user_id, status) โ†’ B-Tree traversal hits exact rows, zero residual filtering Why? MySQL's leftmost prefix rule โ€” composite index works left-to-right. engine narrows down user_id first, then status within that subset. Result: fewer I/O operations, smaller row reads, faster execution. Always check EXPLAIN โ€” look for key_len to confirm both columns are being used. #MySQL #DatabaseOptimization #SQLPerformance #BackendEngineering
1
1
2
48
๐—ช๐—ต๐˜† ๐˜†๐—ผ๐˜‚๐—ฟ ๐—พ๐˜‚๐—ฒ๐—ฟ๐—ถ๐—ฒ๐˜€ ๐—ฎ๐—ฟ๐—ฒ ๐˜€๐—น๐—ผ๐˜„ (๐—ฎ๐—ป๐—ฑ ๐—ต๐—ผ๐˜„ ๐˜๐—ผ ๐—ณ๐—ถ๐˜… ๐˜๐—ต๐—ฒ๐—บ). You hit execute. The loading icon spins. 5 minutes pass. Still running. Your manager walks by. โ€œHowโ€™s that report?โ€ โ€œJust pulling the data.โ€ 10 minutes. Your stakeholder pings. โ€œCan you send that analysis by end of day?โ€ โ€œYeah, almost done.โ€ (Youโ€™re still waiting.) 15 minutes later, it completes. Then you realize you need one more filter. You run it again. This is what working with unoptimized databases feels like. Most analysts just accept it. You shouldnโ€™t. Hereโ€™s whatโ€™s happening: When you query 10 million rows with no indexes, SQL scans every single row. Itโ€™s like searching for one person in a stadium by checking every seat. Thatโ€™s why it takes 15 minutes. Here are 4 techniques that fix it: ๐—œ๐—ก๐——๐—˜๐—ซ๐—œ๐—ก๐—š Indexes create shortcuts. SQL knows exactly where to look. Real example: Without index: 45 seconds With index: 2 seconds Use it on columns you filter or sort by (WHERE, JOIN, ORDER BY). ๐—ก๐—ข๐—ฅ๐— ๐—”๐—Ÿ๐—œ๐—ญ๐—”๐—ง๐—œ๐—ข๐—ก Storing the same customer name 5,000 times slows everything down. Store it once. Reference it from orders. Less redundancy = faster queries. ๐—ค๐—จ๐—˜๐—ฅ๐—ฌ ๐—ข๐—ฃ๐—ง๐—œ๐— ๐—œ๐—ญ๐—”๐—ง๐—œ๐—ข๐—ก Most slow queries are poorly written. Common mistakes: โ†’ SELECT * when you need 3 columns โ†’ No WHERE clause โ†’ Joining unused tables โ†’ Nested subqueries Real example: Bad: SELECT * FROM Orders (45 seconds) Good: SELECT OrderID, OrderDate FROM Orders WHERE OrderDate > โ€˜2025-01-01โ€™ (3 seconds) ๐—ฃ๐—”๐—ฅ๐—ง๐—œ๐—ง๐—œ๐—ข๐—ก๐—œ๐—ก๐—š Split large tables into smaller pieces. Querying 10 million rows for 2025 data? Partition by year. SQL only scans 2025. Real example: Full table: 60 seconds Partitioned: 8 seconds Hereโ€™s the thing: Youโ€™re not just waiting for queries. Youโ€™re losing credibility. Your stakeholder asked for that report 3 hours ago. They think youโ€™re slow. But the database is slow. And you can fix it. Learn indexing. Write efficient queries. Understand partitioning. These arenโ€™t advanced DBA skills. Theyโ€™re basics every analyst should know. The difference between a 2-second query and a 2-minute query isnโ€™t luck. Itโ€™s knowing how databases work. Your database isnโ€™t slow. Itโ€™s unoptimized. #SQL #DatabaseOptimization #DataAnalysis #Datafam
3
12
61
2,679
2 Dec 2025
At work, one fetch API was choking because of MySQLโ€™s automatic join order logic. The problem - Our Account Folio Mapping API was taking 113 seconds to respond. Timeouts. Frustrated users. A production nightmare. What shouldโ€™ve been a simple data fetch turned ugly. The investigation - I ran EXPLAIN on the query and found the smoking gun ๐Ÿ‘‡ MySQLโ€™s optimizer chose the wrong execution path. โ€ข Started with service_provider (96 rows) โ€ข Joined to reverse_feed_reconciliation โ€ข Examined 2,171 rows per provider Thatโ€™s 208,416 row checksโ€ฆ Just to return 20 results ๐Ÿคฏ Correct order? ๐Ÿ‘‰ Only ~20,000 rows needed. The root cause - MySQLโ€™s optimizer is smart โ€” but not always right. What it assumed: โ€ข Small table = good starting point โ€ข 96 rows feels cheap What it missed: โ€ข WHERE clause reduced reverse_feed_reconciliation to 32 rows Result ๐Ÿ‘‰ Wrong join order = 100 second query The solution (simple but powerful) 1๏ธโƒฃ STRAIGHT_JOIN Forces MySQL to follow our join order, not its guess. Just two words โ€” massive impact. 2๏ธโƒฃ GROUP BY instead of DISTINCT More efficient deduplication. Saved an extra 30โ€“40% execution time. The results ๐Ÿš€ โ€ข Best case: 113s โ†’ 1.9s ๐Ÿ‘‰ 59ร— faster (5,900% improvement) โ€ข Average: 113s โ†’ 2โ€“4s ๐Ÿ‘‰ 28โ€“58ร— faster From timeout-prone โ†’ production-ready What I learned 1๏ธโƒฃ Optimizers arenโ€™t always optimal 2๏ธโƒฃ EXPLAIN is your best friend โ€” never optimize blind 3๏ธโƒฃ Tiny changes can unlock massive gains 4๏ธโƒฃ Always measure before vs after The bigger picture This wasnโ€™t just about speeding up one API. It was about: โ€ข Understanding how databases think โ€ข Knowing when to trust automation โ€” and when to override it โ€ข Proving that systematic problem-solving beats guesswork Sometimes the biggest performance wins come from the smallest code changes. You just need to know where to look. Keep learning daily โ€” even if itโ€™s one word. Keep pushing. Every bug fixed. Every optimization found. Every EXPLAIN analyzed. Todayโ€™s small lesson = tomorrowโ€™s big win ๐Ÿ’ช #DatabaseOptimization #MySQL #PerformanceTuning #BackendEngineering #SoftwareEngineering #Learning #TechLife
2
4
1,266
Just optimized a database query from 45 seconds to 0.3 seconds by adding a single composite index. Sometimes the biggest wins come from the smallest changes ๐Ÿš€ Peak engineering satisfaction = watching that progress bar disappear instantly โšก #DatabaseOptimization #EngineeringWins"
1
2
33
26 Aug 2025
To manage rising storage costs for RAG databases, compress embeddings and regularly prune irrelevant data. Choose efficient vector stores to optimize and tackle budget overruns. Forecast growth to plan capacity economically. Embrace this approach to ensure sustainable scaling. #StorageManagement #DatabaseOptimization
2
50
๐Ÿง  ๐ƒ๐€๐“๐€๐๐€๐’๐„ ๐๐”๐„๐‘๐˜ ๐Ž๐๐“๐ˆ๐Œ๐ˆ๐™๐€๐“๐ˆ๐Ž๐ ๐‚๐‡๐„๐‚๐Š๐‹๐ˆ๐’๐“ โ€“ ๐’๐๐„๐„๐ƒ ๐”๐, ๐’๐‚๐€๐‹๐„ ๐’๐Œ๐€๐‘๐“๐„๐‘ Slow queries donโ€™t just frustrate usersโ€”they drain resources, stall performance, and cost money. Whether you're running MySQL, PostgreSQL, or a cloud-native DB, this checklist highlights ๐Ÿ๐ŸŽ ๐ฉ๐ซ๐š๐œ๐ญ๐ข๐œ๐š๐ฅ ๐ฐ๐š๐ฒ๐ฌ ๐ญ๐จ ๐จ๐ฉ๐ญ๐ข๐ฆ๐ข๐ณ๐ž ๐ฒ๐จ๐ฎ๐ซ ๐ช๐ฎ๐ž๐ซ๐ข๐ž๐ฌ and keep your backend blazing fast. โœ… ๐Ž๐ฉ๐ญ๐ข๐ฆ๐ข๐ณ๐š๐ญ๐ข๐จ๐ง ๐“๐ข๐ฉ๐ฌ: ๐Ÿ” ๐”๐ฌ๐ž ๐ˆ๐ง๐๐ž๐ฑ๐ž๐ฌ ๐„๐Ÿ๐Ÿ๐ž๐œ๐ญ๐ข๐ฏ๐ž๐ฅ๐ฒ Speed up lookups and reduce scan timeโ€”especially on large datasets. ๐Ÿ“ฆ **๐€๐ฏ๐จ๐ข๐ ๐’๐„๐‹๐„๐‚๐“ *** Only retrieve the columns you need. Less data = faster response. ๐Ÿ”— ๐Ž๐ฉ๐ญ๐ข๐ฆ๐ข๐ณ๐ž ๐‰๐Ž๐ˆ๐ ๐Ž๐ฉ๐ž๐ซ๐š๐ญ๐ข๐จ๐ง๐ฌ Use indexed keys and avoid unnecessary joins. Keep it lean. ๐Ÿ”„ ๐Œ๐ข๐ง๐ข๐ฆ๐ข๐ณ๐ž ๐’๐ฎ๐›๐ช๐ฎ๐ž๐ซ๐ข๐ž๐ฌ Nested queries slow things down. Refactor with JOINs or CTEs. ๐Ÿงน ๐€๐ฏ๐จ๐ข๐ ๐‘๐ž๐๐ฎ๐ง๐๐š๐ง๐ญ ๐ƒ๐š๐ญ๐š ๐‘๐ž๐ญ๐ซ๐ข๐ž๐ฏ๐š๐ฅ Donโ€™t fetch what you wonโ€™t use. Clean queries = clean performance. ๐Ÿง  ๐”๐ญ๐ข๐ฅ๐ข๐ณ๐ž ๐’๐ญ๐จ๐ซ๐ž๐ ๐๐ซ๐จ๐œ๐ž๐๐ฎ๐ซ๐ž๐ฌ Encapsulate logic, reduce network overhead, and boost reusability. ๐Ÿงญ ๐‚๐จ๐ง๐ฌ๐ข๐๐ž๐ซ ๐๐š๐ซ๐ญ๐ข๐ญ๐ข๐จ๐ง๐ข๐ง๐  & ๐’๐ก๐š๐ซ๐๐ข๐ง๐  Split large tables for faster access and better scalability. โž• ๐”๐ฌ๐ž ๐”๐๐ˆ๐Ž๐ ๐€๐‹๐‹ ๐ˆ๐ง๐ฌ๐ญ๐ž๐š๐ ๐จ๐Ÿ ๐”๐๐ˆ๐Ž๐ Skip the duplicate check when itโ€™s not neededโ€”save processing time. โš™๏ธ ๐Ž๐ฉ๐ญ๐ข๐ฆ๐ข๐ณ๐ž ๐’๐ฎ๐›๐ช๐ฎ๐ž๐ซ๐ฒ ๐๐ž๐ซ๐Ÿ๐จ๐ซ๐ฆ๐š๐ง๐œ๐ž Use indexes, limit results, and avoid correlated subqueries. โ˜๏ธ ๐‹๐ž๐ฏ๐ž๐ซ๐š๐ ๐ž ๐‚๐ฅ๐จ๐ฎ๐ ๐ƒ๐ ๐…๐ž๐š๐ญ๐ฎ๐ซ๐ž๐ฌ Use built-in caching, autoscaling, and query analyzers from your provider. ๐Ÿ’ก At ๐๐‚ ๐ƒ๐จ๐œ๐ญ๐จ๐ซ๐ฌ ๐๐„๐“, we donโ€™t just write queriesโ€”๐ฐ๐ž ๐ž๐ง๐ ๐ข๐ง๐ž๐ž๐ซ ๐ฉ๐ž๐ซ๐Ÿ๐จ๐ซ๐ฆ๐š๐ง๐œ๐ž. From database audits to cloud-native optimization, we help businesses scale without bottlenecks. ๐ŸŒ pcdoctorsnet.com ๐Ÿ“ž 1 (346) 355-6002 #DatabaseOptimization #QueryPerformance #SQLTips #BackendEfficiency #MySQLTuning #PostgreSQLPerformance #CloudDatabase #DevOpsTips #ScaleSmarter #texas #usa #UnitedStates #pcdoctorsnet #canada #india #TechTips
1
2
13
27 Jun 2025
๐Ÿš€ Heading to Mumbai for a SQL Server Performance Tuning Project! Iโ€™ll be traveling to Mumbai during the last week of August and first week of September for a performance tuning engagement. If you're based in Mumbai and have been considering SQL Server Performance Tuning for your environment โ€” this could be a perfect opportunity! I can accommodate one or at most two additional clients during my trip. Whether itโ€™s a quick health check, a deep-dive into tricky performance issues, or even training sessions for your team, feel free to reach out. Always happy to help teams get the most out of their SQL Server setup. ๐Ÿ“ฉ Drop me a message or leave a comment if youโ€™d like to connect! #SQLServer #PerformanceTuning #Consulting #Mumbai #DatabaseOptimization #SQLAuthorityOnTheMove
1
13
871
๐Ÿ•’ Handling Time Comparisons in #DolphinDB โ€” Beyond Simple Timestamps ๐Ÿ‘‰ Full technical walkthrough: medium.com/@DolphinDB_Inc/teโ€ฆ Time-based queries can make or break performance in time-series systems. We just explored how DolphinDB handles time data across different layers โ€” from data type conversions to partition pruning in distributed queries. If you're working with time-series data, financial feeds, or industrial IoT streams, understanding these details can drastically boost query efficiency. #TimeSeries #DataEngineering #DatabaseOptimization #PartitionPruning #BigData #QueryPerformance
5
36
24 Jun 2025
We cut 80% of our query time using this little-known SQL pattern โ€” a game changer โšก ๐Ÿ‘‰ medium.com/p/we-cut-80-of-ouโ€ฆ #SQL #DatabaseOptimization #PerformanceTuning #DataEngineering #BigData

3
1,053
๐Ÿš€ Optimizing SQL in #DolphinDB Just Got Easier โ€“ Introducing the SQL Execution Plan Feature ๐Ÿ“˜ Learn how it works and get real optimization examples: medium.com/@DolphinDB_Inc/sqโ€ฆ DolphinDB supports [HINT_EXPLAIN], a powerful way to visualize and analyze #SQL execution plans โ€” making it easier to tune query performance in complex, distributed environments. ๐Ÿ” What You Can Do with SQL Execution Plans: - See which partitions a query touches - Measure execution cost and rows processed per step - Diagnose slow performance using map, merge, reduce phase insights - Detect missed partition pruning opportunities - Understand resource usage of JOINs, GROUP BY, context by, interval, and more โœ… Execution plan output is structured in JSON and provides full visibility into every stage of query processing โ€” from from to reduce. ๐Ÿ’ก Whether you're dealing with TSDB, IOT data, or multi-partition joins, this tool helps ensure you're squeezing every drop of performance from your cluster. ๐Ÿ“ข Ready to try โžก dolphindb.com/ ๐Ÿ“ง Book a demo with us: info@dolphindb.com #SQLPerformance #BigData #DatabaseOptimization #ExecutionPlan #TimeSeries #QueryTuning #DataEngineering
1
6
50
17 Jun 2025
Master SQL indexing with composite & partial indexes! Boost performance, reduce load, and query like a pro. Dive into our latest guide here. ๐Ÿ‘‡ medium.com/@turntabl.io/dataโ€ฆ #PostgreSQL #SQLPerformance #IndexingTips #BackendDev #DatabaseOptimization
4
139
Looking at MariaDB index optimization strategies: REBUILD creates entirely new index structure - slower but thorough defragmentation and space reclamation. REORGANIZE rearranges existing pages - faster but less comprehensive cleanup. * For heavy fragmentation: REBUILD * For routine maintenance: REORGANIZE Choose wisely! โšก -- Rebuild (thorough) ALTER TABLE users ENGINE=InnoDB; -- Reorganize (quick) OPTIMIZE TABLE users; #MariaDB #DatabaseOptimization #IndexMaintenance #MySQL #Performance #DBA #DatabaseTuning #SQL #TechTip
1
1
53
Controversial take: Most developers are destroying their app performance with unnecessary loops. I've seen senior engineers write O(nยณ) algorithms when O(n) solutions exist. Teams burning through database connections with nested loops that could be a single JOIN query. Just wrote about the most expensive loop mistakes I encounter regularly: - The database massacre (5,100 queries -> 1 query) - The nested loop trap (1M comparisons -> 2K operations) - The search nightmare (linear -> logarithmic) - Hidden costs you're not seeing Before you write your next loop, ask: "Can I describe this as a set operation instead?" Your users and infrastructure bills will thank you. What's the most expensive loop mistake you've seen? #SoftwareDevelopment #Performance #Python #DatabaseOptimization
1
2
27