René's URL Explorer Experiment


Title: perf(tables): read a sorted view's order once per drain and project selected columns in SQL by waleedlatif1 · Pull Request #8915 · simstudioai/sim · GitHub

Open Graph Title: perf(tables): read a sorted view's order once per drain and project selected columns in SQL by waleedlatif1 · Pull Request #8915 · simstudioai/sim

X Title: perf(tables): read a sorted view's order once per drain and project selected columns in SQL by waleedlatif1 · Pull Request #8915 · simstudioai/sim

Description: Sim is the collaborative workspace to build, deploy, and monitor AI agents and workflows. Used by 100,000+ builders. - perf(tables): read a sorted view's order once per drain and project selected columns in SQL by waleedlatif1 · Pull Request #8915 · simstudioai/sim

Open Graph Description: Summary Custom-sort drains read the order once: sorted reads advanced by OFFSET, so every batch recomputed the sort key over the whole table (the key comes from the row's jsonb, so each pass d...

X Description: Summary Custom-sort drains read the order once: sorted reads advanced by OFFSET, so every batch recomputed the sort key over the whole table (the key comes from the row's jsonb, so each pa...

Opengraph URL: https://github.com/simstudioai/sim/pull/8915

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:55e26dee-b6e7-6a94-755b-da76732f0a52
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC09A:35330B:1CD560:28B6DB:6AFB6E42
html-safe-nonced3d8ef36507eb041646435d70caeb225ca49544dc2afa90d09aeb0c8cafbc3e6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDlBOjM1MzMwQjoxQ0Q1NjA6MjhCNkRCOjZBRkI2RTQyIiwidmlzaXRvcl9pZCI6IjM1NDczMjEwODQ3ODY5OTQ3NTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacaad50db01f5cb30a25a8bf4a6b6d150e9f443cb03c1c8a049dd504cdab310de2
hovercard-subject-tagpull_request:4825747810
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/simstudioai/sim/8915/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/59d92321fee69782ba28c1dc52d91f4d6e27982fba92fc68216c05f14b020cc6/simstudioai/sim/pull/8915
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/59d92321fee69782ba28c1dc52d91f4d6e27982fba92fc68216c05f14b020cc6/simstudioai/sim/pull/8915
og:image:altSummary Custom-sort drains read the order once: sorted reads advanced by OFFSET, so every batch recomputed the sort key over the whole table (the key comes from the row's jsonb, so each pass d...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewaleedlatif1
hostnamegithub.com
expected-hostnamegithub.com
Nonecca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700
turbo-cache-controlno-cache
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release88808b1fae5ab8a526a73e7ce5542a10eb9d6971
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/8915#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8915
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8915
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/8915
Reloadhttps://github.com/simstudioai/sim/pull/8915
Reloadhttps://github.com/simstudioai/sim/pull/8915
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests198 (198)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
https://github.com/simstudioai/sim
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
perf/table-readshttps://github.com/simstudioai/sim/tree/perf/table-reads
Conversationhttps://github.com/simstudioai/sim/pull/8915
Commits3 (3)https://github.com/simstudioai/sim/pull/8915/commits
Checkshttps://github.com/simstudioai/sim/pull/8915/checks
Files changedhttps://github.com/simstudioai/sim/pull/8915/files
perf(tables): read a sorted view's order once per drain and project selected columns in SQLhttps://github.com/simstudioai/sim/pull/8915#top
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
perf/table-readshttps://github.com/simstudioai/sim/tree/perf/table-reads
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Oct 12, 2026https://github.com/simstudioai/sim/pull/8915#issue-5809370231
Please reload this pagehttps://github.com/simstudioai/sim/pull/8915
Contributor License Agreement (CLA)https://github.com/simstudioai/sim/pull/CONTRIBUTING.md#contributor-license-agreement-cla
Please reload this pagehttps://github.com/simstudioai/sim/pull/8915
waleedlatif1https://github.com/waleedlatif1
October 11, 2026 23:11https://github.com/simstudioai/sim/pull/8915#commits-pushed-5b54043
https://github.com/waleedlatif1
perf(tables): project selected columns in SQL and read a custom sort'…https://github.com/simstudioai/sim/pull/8915/commits/5b54043bfbf0dcb6a586c0d9f2190ba8f8f6e74a
5b54043https://github.com/simstudioai/sim/pull/8915/commits/5b54043bfbf0dcb6a586c0d9f2190ba8f8f6e74a
https://github.com/waleedlatif1
perf(tables): read a projected row's data once and size its batches b…https://github.com/simstudioai/sim/pull/8915/commits/7c52ed5fe38984c32f07805b51d5363a88a059f2
7c52ed5https://github.com/simstudioai/sim/pull/8915/commits/7c52ed5fe38984c32f07805b51d5363a88a059f2
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Oct 12, 2026https://github.com/simstudioai/sim/pull/8915#issuecomment-6118997768
Please reload this pagehttps://github.com/simstudioai/sim/pull/8915
Vercel for GitHubhttps://vercel.link/github-learn-more
https://vercel.com/sim-studio/docs
docshttps://vercel.com/sim-studio/docs
https://camo.githubusercontent.com/1bb29feed7826aff3191ae8ff19d3c61e80fc99f9cc9373030210090f890893b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f63616e63656c65642e737667
Skippedhttps://vercel.com/sim-studio/docs/FN9aAtWMfKwsAMFqLAMeMdG58EXC
https://vercel.com/vercel-agent/request-review?owner=simstudioai&repo=sim&pr=8915
Please reload this pagehttps://github.com/simstudioai/sim/pull/8915
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-gwi8tp1nu-sim-studio.vercel.app
October 12, 2026 06:29https://github.com/simstudioai/sim/pull/8915#event-33023770895
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Oct 12, 2026 https://github.com/simstudioai/sim/pull/8915#pullrequestreview-5487187252
View reviewed changes https://github.com/simstudioai/sim/pull/8915/files/7c52ed5fe38984c32f07805b51d5363a88a059f2
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Please reload this pagehttps://github.com/simstudioai/sim/pull/8915
https://github.com/simstudioai/sim/pull/8915#pullrequestreview-5487187252
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Increase your flex budgethttps://www.cubic.dev/settings?tab=usage
Turn on auto-fixhttps://www.cubic.dev/action/auto-fix/pr/simstudioai/sim/8915?returnTo=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8915
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/simstudioai/sim/8915/ai_pr_review_github_delivery_17086c4452e468005243c8a8d6c6e13728e5e6bc9608186453341776eb5ae042?returnTo=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8915
Please reload this pagehttps://github.com/simstudioai/sim/pull/8915
apps/sim/lib/table/rows/service.tshttps://github.com/simstudioai/sim/pull/8915/files/7c52ed5fe38984c32f07805b51d5363a88a059f2#diff-bb7e45c4b7c8d660db1d230975eb35231ae2616360572a342fd56d37296bb23f
Please reload this pagehttps://github.com/simstudioai/sim/pull/8915
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Oct 12, 2026https://github.com/simstudioai/sim/pull/8915#issuecomment-6119083963
Please reload this pagehttps://github.com/simstudioai/sim/pull/8915
https://app.greptile.com/api/retrigger?id=78987758
"fix(tables): drain a custom sort in one ..."https://github.com/simstudioai/sim/commit/4ed388cc6d95a77866a199259008946380229520
Reviewed by Greptilehttps://www.greptile.com/?utm_source=greptile_expert&utm_medium=github&utm_campaign=code_reviews&utm_content=simstudioai/sim
Please reload this pagehttps://github.com/simstudioai/sim/pull/8915
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Oct 12, 2026 https://github.com/simstudioai/sim/pull/8915#pullrequestreview-5487214723
View reviewed changes https://github.com/simstudioai/sim/pull/8915/files/7c52ed5fe38984c32f07805b51d5363a88a059f2
apps/sim/lib/table/rows/service.tshttps://github.com/simstudioai/sim/pull/8915/files/7c52ed5fe38984c32f07805b51d5363a88a059f2#diff-bb7e45c4b7c8d660db1d230975eb35231ae2616360572a342fd56d37296bb23f
Please reload this pagehttps://github.com/simstudioai/sim/pull/8915
apps/sim/lib/table/rows/row-writes.integration.tshttps://github.com/simstudioai/sim/pull/8915/files/7c52ed5fe38984c32f07805b51d5363a88a059f2#diff-653e2260e6bc1166f12f87c1cd10329f4ae89e569dc2f54ade8cf6b57c027468
Please reload this pagehttps://github.com/simstudioai/sim/pull/8915
https://github.com/waleedlatif1
fix(tables): drain a custom sort in one snapshothttps://github.com/simstudioai/sim/pull/8915/commits/4ed388cc6d95a77866a199259008946380229520
4ed388chttps://github.com/simstudioai/sim/pull/8915/commits/4ed388cc6d95a77866a199259008946380229520
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-oqzdio20n-sim-studio.vercel.app
October 12, 2026 06:51https://github.com/simstudioai/sim/pull/8915#event-33024914582
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Oct 12, 2026https://github.com/simstudioai/sim/pull/8915#issuecomment-6119265310
@greptilehttps://github.com/greptile
Please reload this pagehttps://github.com/simstudioai/sim/pull/8915
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Oct 12, 2026https://github.com/simstudioai/sim/pull/8915#issuecomment-6119265544
@cubic-dev-aihttps://github.com/cubic-dev-ai
Please reload this pagehttps://github.com/simstudioai/sim/pull/8915
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Oct 12, 2026https://github.com/simstudioai/sim/pull/8915#issuecomment-6119266633
@cubic-dev-aihttps://github.com/cubic-dev-ai
@waleedlatif1https://github.com/waleedlatif1
Please reload this pagehttps://github.com/simstudioai/sim/pull/8915
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Oct 12, 2026 https://github.com/simstudioai/sim/pull/8915#pullrequestreview-5487343133
View reviewed changes https://github.com/simstudioai/sim/pull/8915/files/4ed388cc6d95a77866a199259008946380229520
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
https://github.com/simstudioai/sim/pull/8915#pullrequestreview-5487343133
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Increase your flex budgethttps://www.cubic.dev/settings?tab=usage
Turn on auto-fixhttps://www.cubic.dev/action/auto-fix/pr/simstudioai/sim/8915?returnTo=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8915
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/simstudioai/sim/8915/ai_pr_review_1791787926771_42a2ab16-2eb9-423d-88e0-5a5c3abca77d?returnTo=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8915
Please reload this pagehttps://github.com/simstudioai/sim/pull/8915
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
f471569https://github.com/simstudioai/sim/commit/f47156930cd2cec0159e7d3de71773a33dc058cf
Oct 12, 2026https://github.com/simstudioai/sim/pull/8915#event-33050543815
Please reload this pagehttps://github.com/simstudioai/sim/pull/8915
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
October 12, 2026 13:24https://github.com/simstudioai/sim/pull/8915#event-33050547343
https://github.com/TheodoreSpeaks
TheodoreSpeakshttps://github.com/TheodoreSpeaks
Oct 12, 2026 https://github.com/simstudioai/sim/pull/8915#ref-pullrequest-5817816651
v0.9.19: perf improvements, library guides, files and sandbox fixes #8926 https://github.com/simstudioai/sim/pull/8926
Deployedhttps://docs-oqzdio20n-sim-studio.vercel.app
vercel[bot]https://github.com/apps/vercel
View deployment https://docs-oqzdio20n-sim-studio.vercel.app
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8915
https://github.com/apps/greptile-apps
greptile-apps[bot] https://github.com/apps/greptile-apps
https://github.com/simstudioai/sim/pull/8915/files/7c52ed5fe38984c32f07805b51d5363a88a059f2
https://github.com/apps/cubic-dev-ai
cubic-dev-ai[bot] https://github.com/apps/cubic-dev-ai
https://github.com/simstudioai/sim/pull/8915/files/4ed388cc6d95a77866a199259008946380229520
Please reload this pagehttps://github.com/simstudioai/sim/pull/8915
Please reload this pagehttps://github.com/simstudioai/sim/pull/8915
https://github.com/waleedlatif1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.