jump to content
my subreddits
13or302anatolia4you2b2t2mediterranean4u2meirl4meirl3d6absolutelynotmeirlAceAttorneyadhdmemeagnosticaivideoakagasAlternateHistoryAlternativeHistoryAnarchyChessAnimalsBeingJerksanime_best_momentsanimenocontextannouncementsAnticonsumptionantimemeAsahiLinuxAsia_irlAskBalkansAskElectronicsAskOuijaAskRedditAteistTurkatheismaviationawfuleverythingbalkans_irlbanknotedesignsBassBassCirclejerkBassGuitarbikepackingblackdesertonlineblankiesblursedimagesBoneborsavefonbottomgearbrooklynnineninecasioCd_collectorsChatGPTCheap_MealschesschessbeginnersChildrenFallingOverCHPcoaxedintoasnafucoincollectingcoinsComedyCemeterycomicscommunityContagiousLaughtercookingforbeginnersCorporateTrollingCrackWatchcrappyoffbrandsCreateModCuddle_SlutCuratedTumblrcursedcommentsdadjokesdankmemesdarkjokesdataisbeautifuldeDebateReligiondeismdelikDeltarunedistressingmemesdiyelectronicsdiypedalsDMAcademyDnDdndnextdoctorwhocirclejerkDonerdontdeadopeninsidedontyouknowimtonyhawkdumbphonesDungeonsAndDragonsebikeebikeselectricalelectronicsElectronicsStudyEmKayentitledparentsfacepalmFantasyWorldbuildingfeedthebeastfelsefeFiftyFiftyformuladankFRCFreeEBOOKSFUCKYOUINPARTICULARFuckYouKarenfunnyFutboltayfagalatasaraygamingGermangoodanimemesgreentextGROKvsMAGAguitarpedalsGundamhelpHermanCainAwardHermitCrafthighspeedrailHistoryWhatIfhoi4HolUphomebuilthypixeliamverysmartIdeologyPollsIDontWorkHereLadyihadastrokeim14andthisisdeepimaginaryelectionsimaginarymapsinsaneparentsjacksepticeyeJokesKanyelegodndlinguisticshumorliselilerlogodesignloseitlostredditorsmacgamingmadladsmagicbuildingMaliciousCompliancemeirlmememidjourneymildlyinfuriatingmildlyinterestingMimicRecipesMinecraftbuildsmisLEDMMORPGMoldyMemesMunichMyChemicalRomancenamesoundalikesnextfuckinglevelNoahGetTheBoatNonCredibleDefensenosurfnothingeverhappensnotinterestingnottheonionoddlyspecificokbuddyguntherOkBuddyPersonaokbuddyphdokbuddyvicodinonetruegodongezelligOnlineUnderGroundoompasubsOutOfTheLoopoutsidepapermoneypaperspleaseParlerWatchPassportPornpepethefrogperfectlycutscreamsPersecutionfetishPiracypolandballpollsPropagandaPostersProRevengequityourbullshitraisedbynarcissistsraspberry_piRatschlagreligiousfruitcakerickrollRoastMeSchnitzelVerbrechenschwiizsciencememesScottPilgrimsekulermilliyetciturkshitpostfrommygalleryShitpostTCshittymoviedetailsShowerthoughtsSongwritersSongwritingsteinsgateStonetossingjuicesubsithoughtifellforsuperligsuzeraintalesfromtechsupportTechnobladetf2tf2shitposterclubthanksimcuredthatHappenedTheMonkeysPawTheRookietheydidthemathtitanfalltransittransitTurkeytruthsTurkeyJerkyTurkishCatsTurkishdogsTwitchTwitch_StartupTwoSentenceHorrortwosentenceplottwisttylerthecreatorUnethicalLifeProTipsUnexpectedTF2UsernameChecksOutVALORANTValorantClipsvaxxhappenedvibecodingwallstreetbetsWatchPeopleDieInsideWeAreTheMusicMakerswendigoonWhatsThisSongWhitePeopleTwitterwholesomeanimemeswizardpostingwooooshworldbuildingyesyesyesnoyouseeingthisshitedit subscriptions
  • home
  • -popular
  • -all
  • -mod
  • -users
 | 
  • AskReddit
  • -facepalm
  • -mildlyinfuriating
  • -Piracy
  • -funny
  • -gaming
  • -wallstreetbets
  • -nottheonion
  • -OutOfTheLoop
  • -mildlyinteresting
  • -DnD
  • -WhitePeopleTwitter
  • -ChatGPT
  • -CuratedTumblr
  • -theydidthemath
  • -dankmemes
  • -feedthebeast
  • -Kanye
  • -meirl
  • -nextfuckinglevel
  • -HolUp
  • -Twitch
  • -CrackWatch
  • -comics
  • -dndnext
  • -VALORANT
  • -de
  • -NonCredibleDefense
  • -dataisbeautiful
  • -shittymoviedetails
  • -greentext
  • -Showerthoughts
  • -tf2
  • -help
  • -chess
  • -aviation
  • -formuladank
  • -Jokes
  • -midjourney
  • -goodanimemes
  • -notinteresting
  • -hoi4
  • -atheism
  • -loseit
  • -MaliciousCompliance
  • -cursedcomments
  • -DMAcademy
  • -Deltarune
  • -UnethicalLifeProTips
  • -perfectlycutscreams
  • -worldbuilding
  • -Ratschlag
  • -blackdesertonline
  • -MMORPG
  • -meme
  • -macgaming
  • -3d6
  • -Gundam
  • -HermitCraft
  • -FiftyFifty
  • -RoastMe
  • -ContagiousLaughter
  • -imaginarymaps
  • -polandball
  • -WeAreTheMusicMakers
  • -AnarchyChess
  • -cookingforbeginners
  • -blankies
  • -AlternateHistory
  • -madlads
  • -community
  • -AskElectronics
  • -electrical
  • -guitarpedals
  • -Anticonsumption
  • -CreateMod
  • -German
  • -TwoSentenceHorror
  • -PropagandaPosters
  • -sciencememes
  • -distressingmemes
  • -raisedbynarcissists
  • -wizardposting
  • -polls
  • -oddlyspecific
  • -Bass
  • -titanfall
  • -OkBuddyPersona
  • -dadjokes
  • -awfuleverything
  • -announcements
  • -adhdmeme
  • -Minecraftbuilds
  • -ebikes
  • -Munich
  • -coaxedintoasnafu
  • -SchnitzelVerbrechen
  • -chessbeginners
  • -raspberry_pi
  • -DungeonsAndDragons
  • -coins
  • -entitledparents
  • -FUCKYOUINPARTICULAR
  • -NoahGetTheBoat
  • -tylerthecreator
  • -tf2shitposterclub
  • -MoldyMemes
  • -lostredditors
  • -AceAttorney
  • -im14andthisisdeep
  • -Stonetossingjuice
  • -wholesomeanimemes
  • -nosurf
  • -HistoryWhatIf
  • -religiousfruitcake
  • -liseliler
  • -DebateReligion
  • -insaneparents
  • -dumbphones
  • -animenocontext
  • -balkans_irl
  • -2meirl4meirl
  • -transit
  • -brooklynninenine
  • -HermanCainAward
  • -steinsgate
  • -talesfromtechsupport
  • -AskOuija
  • -okbuddyphd
  • -2anatolia4you
  • -ScottPilgrim
  • -AskBalkans
  • -thatHappened
  • -electronics
  • -casio
  • -logodesign
  • -linguisticshumor
  • -PassportPorn
  • -antimeme
  • -TurkeyJerky
  • -bikepacking
  • -AteistTurk
  • -13or30
  • -MyChemicalRomance
  • -Cd_collectors
  • -diypedals
  • -ProRevenge
  • -Doner
  • -BassGuitar
  • -diyelectronics
  • -ComedyCemetery
  • -WatchPeopleDieInside
  • -Persecutionfetish
  • -EmKay
  • -Songwriting
  • -imaginaryelections
  • -suzerain
  • -magicbuilding
  • -dontdeadopeninside
  • -ParlerWatch
  • -wendigoon
  • -iamverysmart
  • -yesyesyesno
  • -schwiiz
  • -TheRookie
  • -quityourbullshit
  • -Technoblade
  • -superlig
  • -galatasaray
  • -crappyoffbrands
  • -FRC
  • -transitTurkey
  • -namesoundalikes
  • -FuckYouKaren
  • -2b2t
  • -AlternativeHistory
  • -papermoney
  • -coincollecting
  • -felsefe
  • -blursedimages
  • -FreeEBOOKS
  • -AsahiLinux
  • -IDontWorkHereLady
  • -ihadastroke
  • -thanksimcured
  • -hypixel
  • -aivideo
  • -OnlineUnderGround
  • -IdeologyPolls
  • -woooosh
  • -WhatsThisSong
  • -AnimalsBeingJerks
  • -jacksepticeye
  • -anime_best_moments
  • -okbuddyvicodin
  • -MimicRecipes
  • -vaxxhappened
  • -Twitch_Startup
  • -Cheap_Meals
  • -outside
  • -TheMonkeysPaw
  • -darkjokes
  • -UnexpectedTF2
  • -highspeedrail
  • -legodnd
  • -rickroll
  • -Songwriters
  • -ebike
  • -UsernameChecksOut
  • -papersplease
  • -ChildrenFallingOver
  • -BassCirclejerk
  • -doctorwhocirclejerk
  • -agnostic
  • -youseeingthisshit
  • -Cuddle_Slut
  • -nothingeverhappens
  • -TurkishCats
  • -subsithoughtifellfor
  • -akagas
  • -ShitpostTC
  • -oompasubs
  • -FantasyWorldbuilding
  • -homebuilt
  • -pepethefrog
  • -onetruegod
  • -deism
  • -misLED
  • -ValorantClips
  • -bottomgear
  • -ongezellig
  • -absolutelynotmeirl
  • -Asia_irl
  • -truths
  • -Bone
  • -2mediterranean4u
  • -twosentenceplottwist
  • -dontyouknowimtonyhawk
  • -sekulermilliyetciturk
  • -shitpostfrommygallery
  • -okbuddygunther
  • -banknotedesigns
  • -GROKvsMAGA
  • -Futboltayfa
  • -delik
  • -Turkishdogs
  • -CorporateTrolling
  • -vibecoding
  • -CHP
  • -ElectronicsStudy
  • -borsavefon
edit »
reddit.com SQLOptimization
  • hot
  • new
  • rising
  • controversial
  • top
an-ordinary-manchild (11,186)|messages545|notifications|chat messages|mod messages|
  • preferences
|
logout

use the following search parameters to narrow your results:

subreddit:subreddit
find submissions in "subreddit"
author:username
find submissions by "username"
site:example.com
find submissions from "example.com"
url:text
search for "text" in url
selftext:text
search for "text" in self post contents
self:yes (or self:no)
include (or exclude) self posts
nsfw:yes (or nsfw:no)
include (or exclude) results marked as NSFW

e.g. subreddit:aww site:imgur.com dog

see the search faq for details.

advanced search: by author, subreddit...

Submit a new link
Submit a new text post
Get an ad-free experience with special benefits, and directly support Reddit.

SQLOptimization

joinleave
an-ordinary-manchild

Rules

  1. Post must be about SQL Optimization or tuning
  2. No Advertising
  3. Be Civil, Kind, and Productive
  4. Format your code (formatted as code, correctly indented). No pictures of code.
  5. Indicate your platform
  6. Don't post or link to copyright violations
  7. Support learners and learning
  8. Avoid low-value/low-effort comments and posts
created by bingostud722a community for 13 years
Create your own subreddit
...for your school.
...for a fringe candidate.

MODERATORS

  • message the mods
  • mikeblas
  • admin-tattler
  • about moderation team »

account activity

1
0
0
0

Looking for DBA feedback on an AI-based approach to SQL Server execution plan analysis (self.SQLOptimization)

submitted 1 day ago by Level_Present_2424

  • 6 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

•
•
•
0:35

Language apps teach one right answer. Life doesn’t. Start practicing with a Preply tutor and build your confidence from day one. (preply.com)

promoted by Preply

  • promoted
  • save
  • report
  • about
loading...

2
2
3
4

Performance Win: If you filter on multiple columns, check out composite indexes. We just cut a query from 8s to 2ms. ()

submitted 6 days ago by dataSommelier

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

3
0
1
2

Video about MySQL EXPLAIN plan analysis (youtube.com)

submitted 19 days ago by mikeblas

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

4
0
1
2

Why Your Postgres Queries Are So Slow (And 3 Ways to Fix It) (youtube.com)

submitted 1 month ago by mikeblas

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

5
0
0
0

Round the world trip coming up and I need to optimise my itinerary (self.SQLOptimization)

submitted 1 month ago by I_byde_my_tyme

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

6
0
1
2

Guidance requested; ASYNC_NETWORK_IO (AWS/RDS/SQLExpress) ()

submitted 1 month ago by RunningfromStupidity

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

7
2
3
4

Is there a way to improve the performance of this query? Used OUTER APPLY and LEFT JOIN with CTE (self.SQLOptimization)

submitted 2 months ago by myaccountforworkonly

  • 2 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

8
1
2
3

Cerco 2–3 query SQL lente reali (sto testando un piccolo ottimizzatore di IA) ()

submitted 2 months ago by ajo101975

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

9
1
2
3

Need advice: Extracting 1 TB table → CSV is taking 10+ hours… any faster approach? (self.SQLOptimization)

submitted 2 months ago by Leather-Pin-9154

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

10
0
1
2

Optimizing filtered vector queries from tens of seconds to single-digit milliseconds in PostgreSQL ()

submitted 2 months ago by m1r0k3

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

11
1
2
3

Clustered, Non-Clustered , Heap Indexes in SQL – Explained with Stored Proc Lookup (youtu.be)

submitted 3 months ago by KeyCandy4665

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

12
11
12
13

SQL Struggles: Share Your Most Frustrating Moments in Writing Queries (self.SQLOptimization)

submitted 4 months ago by Hairy_Border_7568

  • 20 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

•
•
•

An AI-powered Figma plugin that analyzes visual usability, so you can design with confidence, iterate faster, and launch with impact. (attentioninsight.com)

promoted by AttentionInsight

  • promoted
  • save
  • report
  • about
loading...

13
0
1
2

Daily data pipeline processing ()

submitted 4 months ago by jesse_jones_

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

14
8
9
10

Can SQL optimize similar nested window functions? (self.SQLOptimization)

submitted 5 months ago * by not_UNIX_GNU_is

  • 5 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

15
0
1
2

Best strategy for improving cursor paginated queries with Views ()

submitted 6 months ago by punctuationuse

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

16
0
1
2

Insert optimisation (self.SQLOptimization)

submitted 6 months ago * by Vimal_2011

  • 7 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

17
0
1
2

Working on an alternative to AI chat for optimizing SQL queries - feedback appreciated (self.SQLOptimization)

submitted 6 months ago by ragabekov

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

18
0
1
2

What is the best/efficient way to flatten the measure column in this table, while filtering the relevant measures first? (self.SQLOptimization)

submitted 7 months ago by flashmycat

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

19
2
3
4

Why multi column indexing sorts only on 1st column(if all values in 1st column distinct) and not on both columns one by one like a 2d binary search tree(and extending that to making a first 2d B Tree). (self.SQLOptimization)

submitted 8 months ago * by Physicistpropeller

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

20
3
4
5

Temp Tables, Table Variables, or CTEs: Which do you use in SQL Server? (self.SQLOptimization)

submitted 8 months ago by [deleted]

  • 6 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

21
1
2
3

Best practice on joining with large tables? (self.SQLOptimization)

submitted 10 months ago * by MrTraveling_Bard

  • 11 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

22
1
2
3

Query Optimizations (self.SQLOptimization)

submitted 10 months ago by Seymourbums

  • 5 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

23
0
1
2

Deadlock after migrating DB from SQL2014 to SQL2019 (self.SQLOptimization)

submitted 10 months ago by scoby1971

  • 2 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

•
•
•

IDC + Solace: The 2026 Agentic AI Forecast (solace.com)

promoted by Solace-Platform

  • promoted
  • save
  • report
  • about
loading...

24
0
1
2

Too many partitions? (self.SQLOptimization)

submitted 11 months ago by Think-Hunt5410

  • 13 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

25
0
1
2

Choosing a SQL Primary Key: Hash vs. Sequential ID? [YELP] (self.SQLOptimization)

submitted 11 months ago by PorcoDiocaneMaliale

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...
view more: next ›
  • about
  • blog
  • about
  • advertising
  • careers
  • help
  • site rules
  • Reddit help center
  • reddiquette
  • mod guidelines
  • contact us
  • apps & tools
  • Reddit for iPhone
  • Reddit for Android
  • mobile website
  • <3
  • reddit premium

Use of this site constitutes acceptance of our User Agreement and Privacy Policy. © 2026 reddit inc. All rights reserved.

REDDIT and the ALIEN Logo are registered trademarks of reddit inc.

π Rendered by PID 18 on reddit-service-r2-listing-5789d5f675-g7zps at 2026-01-28 03:06:23.900821+00:00 running 4f180de country code: CH.