跳到内容
当前位置:首页>央企考试真题>Agent面试十连问(上):大厂必考的架构、记忆、工具安全,一次讲透

Agent面试十连问(上):大厂必考的架构、记忆、工具安全,一次讲透

  • 2026-10-05 01:26:16
Agent面试十连问(上):大厂必考的架构、记忆、工具安全,一次讲透
金9银10求职季·Agent工程落地面试真题系列

现在大厂面试Agent,面试官根本不听你吹模型有多聪明,他们只关心系统有多稳定。

这篇把字节跳动Agent面试的工程落地方案十连问的前5问打包讲透:从系统架构设计,到规划执行闭环,到记忆分级,到向量数据库选型,再到工具调用安全。下篇讲RAG优化和性能高可用。


第一问:生产级Agent系统架构怎么设计?

Agent六层架构:入口层→编排层→模型层→工具层→记忆层→缓存层

千万别一上来就凭印象画框图。面试官想听的是你对系统能力的逻辑切分和解耦能力。核心是把Agent拆成6个层级:

1.入口层(网关):像机场安检,认证、限流、路由到对应会话。

2.编排层(Planner):把模糊意图拆解成具体可执行的子任务。

3.模型层:负责动脑子做决策,是Agent的"大脑"。

4.工具层:跟外部环境交互,查数据库、调API。

5.记忆层:实时读写上下文,让Agent"记得住"。

6.缓存层:高频热数据缓存,减少重复计算。

完整流程:入口网关安检→Planner拆解任务→Executor调度模型和工具→记忆层读写→缓存层加速→安全模块审核→聚合器拼成流畅的人话返回。

agent_system/├── gateway/# 入口层:认证、限流、路由├── orchestrator/# 编排层:planner规划+executor执行+reflector反思├── model/# 模型层:大模型调用+大小模型路由├── tools/# 工具层:工具注册+schema校验+实现├── memory/# 记忆层:短期/摘要/长期/业务库├── cache/# 缓存层:Redis热数据缓存└── security/# 安全模块:输入输出过滤

第二问:规划执行反思闭环怎么实现?

规划→执行→反思→重规划,状态机驱动的闭环

这道题表面问概念,工程落地里考的是状态机控制。想象成打车用导航:

第一步 Planner规划:不仅生成执行步骤,还给每一步定好验收标准。就像导航先选路线,预估每段路多久。

第二步 Executor执行:按步骤调度工具和模型,像司机踩油门按导航开车。

第三步 Reflector反思:拿到工具结果做校验。如果不对,带着报错原因跑回去让Planner重新规划。

必须加三道保险:最大重试轮次(防死循环)、单次执行超时(防卡死)、最终人工兜底(重试耗尽后降级)。不加这三道锁,模型死磕错误工具会把Token瞬间打爆。

class AgentLoop:    def __init__(self, max_retries=5, timeout=120):        self.max_retries = max_retries# 保险1        self.timeout = timeout# 保险2    def run(self, query):        state = ”PLANNING”        while state not in (”DONE”, ”FAILED”):            if state == ”PLANNING”:                plan = self.planner.plan(query)# 含验收标准                state = ”EXECUTING”            elif state == ”EXECUTING”:                result = self.executor.execute(plan, timeout=self.timeout)                state = ”REFLECTING”            elif state == ”REFLECTING”:                if self.reflector.check(result, plan.acceptance):                    state = ”DONE”                elif self.retry_count < self.max_retries:                    query = self.reflector.feedback(result, query)                    state = ”PLANNING”# 带报错重规划                else:                    return self.fallback_response()# 保险3:兜底        return result.answer

第三问:多轮对话记忆分级和缓存策略?

四层记忆体系:短期上下文→会话摘要→长期画像→业务知识库

记忆不是越长越好,而是越有条理越好。管理记忆就像整理衣柜,分4层:

第一层 短期上下文:随手拿的外套,存Redis做会话级热缓存,最近几轮原始消息,拿起来最快。

第二层 会话摘要:最常穿的衣服,对话变长后动态压缩,只保留聊天主线。

第三层 用户长期画像:换季才翻的衣服,放线上数据库,需要时语义召回(偏好、历史订单、常用地址)。

第四层 业务知识库:压箱底的经典款,扣款记录、订单状态等强一致性数据必须进业务DB。

缓存key必须把用户ID+会话ID+工具ID+参数哈希拼在一起,每个key带TTL和版本号。黄金定律:缓存乱了比没有缓存更可怕,宁可不加缓存也不能让不一致数据污染上下文。


第四问:向量数据库怎么选?淘宝级场景怎么落地?

向量数据库三选一:轻量原型 vs 全托管SaaS vs 云原生自建

选型不能只选最贵的,要选最合适的——场景决定技术栈。三款主流对比:

数据库
比喻
优点
缺点
适用场景
Chroma
电瓶车
轻量、本地跑起来就行
不支持分布式,数据量大了慢
本地原型
Pinecone
租来的专车
全托管SaaS,免运维
数据不在手里,大规模成本高
小团队求快
Milvus
改装重卡
云原生存算分离,亿级毫秒检索,私有化成本可控
需运维能力
大规模生产

淘宝级场景(亿级数据+权限复杂+实时交易链路)必须选Milvus或自研。而且纯向量相似度不够,必须融合类目、价格、品牌等业务字段做过滤,检索才精准。


第五问:工具调用的可信保障怎么做?

五层防护+四步熔断,给Agent的工具调用穿上防弹衣

让大模型调工具就像让刚入职的实习生干活,必须给它穿上五层防弹衣:

  1. Schema校验:参数格式对不对
  2. 参数补齐:缺省值自动填补
  3. 权限校验:不越权调敏感API
  4. 幂等控制:防重复下单/扣款
  5. 结果校验:返回数据合不合逻辑

模型反复调错同一工具时,四步熔断:①连续两次出错拉入黑名单 ②强制切断让Planner重规划 ③还不行就规则化兜底输出预设话术 ④核心交易链路直接转人工。宁可降级转人工,也不让模型死磕浪费Token。


上篇答题框架速查

问题
核心考点
关键词
Q1 架构设计
系统解耦
六层架构、网关、Planner、安全审核
Q2 规划闭环
状态机控制
Plan→Execute→Reflect、三道保险
Q3 记忆分级
上下文管理
四层记忆、Redis热缓存、缓存一致性
Q4 向量库选型
技术选型
Chroma/Pinecone/Milvus、场景驱动、业务字段融合
Q5 工具安全
生产安全
五层防护、四步熔断、转人工兜底

下篇讲工具description写法、RAG切分与检索优化、延迟优化与弹性伸缩,敬请关注。


#Agent面试 #大模型 #系统架构 #向量数据库 #工具调用 #金九银十 #Agent

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-10-05 05:39:54 HTTP/1.1 GET : http://c.15386.cn/a/458614.html
  2. 运行时间 : 0.075606s [ 吞吐率:13.23req/s ] 内存消耗:5,024.88kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=d831d2f881684b4086d50f906f64b272
  1. /www/wwwroot/c.15386.cn/public/index.php ( 0.79 KB )
  2. /www/wwwroot/c.15386.cn/vendor/autoload.php ( 0.17 KB )
  3. /www/wwwroot/c.15386.cn/vendor/composer/autoload_real.php ( 2.49 KB )
  4. /www/wwwroot/c.15386.cn/vendor/composer/platform_check.php ( 0.90 KB )
  5. /www/wwwroot/c.15386.cn/vendor/composer/ClassLoader.php ( 14.03 KB )
  6. /www/wwwroot/c.15386.cn/vendor/composer/autoload_static.php ( 4.90 KB )
  7. /www/wwwroot/c.15386.cn/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /www/wwwroot/c.15386.cn/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /www/wwwroot/c.15386.cn/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /www/wwwroot/c.15386.cn/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  14. /www/wwwroot/c.15386.cn/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /www/wwwroot/c.15386.cn/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /www/wwwroot/c.15386.cn/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.49 KB )
  17. /www/wwwroot/c.15386.cn/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  18. /www/wwwroot/c.15386.cn/vendor/symfony/var-dumper/VarDumper.php ( 4.30 KB )
  19. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  20. /www/wwwroot/c.15386.cn/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  21. /www/wwwroot/c.15386.cn/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  22. /www/wwwroot/c.15386.cn/app/provider.php ( 0.19 KB )
  23. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  24. /www/wwwroot/c.15386.cn/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  25. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  26. /www/wwwroot/c.15386.cn/app/common.php ( 0.03 KB )
  27. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  28. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  29. /www/wwwroot/c.15386.cn/config/app.php ( 0.95 KB )
  30. /www/wwwroot/c.15386.cn/config/cache.php ( 0.78 KB )
  31. /www/wwwroot/c.15386.cn/config/console.php ( 0.23 KB )
  32. /www/wwwroot/c.15386.cn/config/cookie.php ( 0.56 KB )
  33. /www/wwwroot/c.15386.cn/config/database.php ( 2.48 KB )
  34. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  35. /www/wwwroot/c.15386.cn/config/filesystem.php ( 0.61 KB )
  36. /www/wwwroot/c.15386.cn/config/lang.php ( 0.91 KB )
  37. /www/wwwroot/c.15386.cn/config/log.php ( 1.35 KB )
  38. /www/wwwroot/c.15386.cn/config/middleware.php ( 0.19 KB )
  39. /www/wwwroot/c.15386.cn/config/route.php ( 1.89 KB )
  40. /www/wwwroot/c.15386.cn/config/session.php ( 0.57 KB )
  41. /www/wwwroot/c.15386.cn/config/trace.php ( 0.34 KB )
  42. /www/wwwroot/c.15386.cn/config/view.php ( 0.82 KB )
  43. /www/wwwroot/c.15386.cn/app/event.php ( 0.25 KB )
  44. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  45. /www/wwwroot/c.15386.cn/app/service.php ( 0.13 KB )
  46. /www/wwwroot/c.15386.cn/app/AppService.php ( 0.26 KB )
  47. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  48. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  49. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  50. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  51. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  52. /www/wwwroot/c.15386.cn/vendor/services.php ( 0.14 KB )
  53. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  54. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  55. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  56. /www/wwwroot/c.15386.cn/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  57. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  58. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  59. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  60. /www/wwwroot/c.15386.cn/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  61. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  62. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  63. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  64. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  65. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  66. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  67. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  68. /www/wwwroot/c.15386.cn/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  69. /www/wwwroot/c.15386.cn/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  70. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  71. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  72. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  73. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  74. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  75. /www/wwwroot/c.15386.cn/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  76. /www/wwwroot/c.15386.cn/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  77. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  78. /www/wwwroot/c.15386.cn/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  79. /www/wwwroot/c.15386.cn/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  80. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  81. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  82. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  83. /www/wwwroot/c.15386.cn/app/Request.php ( 0.09 KB )
  84. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/Request.php ( 55.78 KB )
  85. /www/wwwroot/c.15386.cn/app/middleware.php ( 0.25 KB )
  86. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  87. /www/wwwroot/c.15386.cn/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  88. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  89. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  90. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  91. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  92. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  93. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  94. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/route/RuleName.php ( 5.75 KB )
  95. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  96. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.43 KB )
  97. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/route/Rule.php ( 26.95 KB )
  98. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  99. /www/wwwroot/c.15386.cn/route/app.php ( 1.72 KB )
  100. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  101. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  102. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.44 KB )
  103. /www/wwwroot/c.15386.cn/app/controller/Index.php ( 4.81 KB )
  104. /www/wwwroot/c.15386.cn/app/BaseController.php ( 2.05 KB )
  105. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  106. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  107. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  108. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  109. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  110. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  111. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  112. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  113. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  114. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  115. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  116. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  117. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  118. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  119. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  120. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  121. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  122. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  123. /www/wwwroot/c.15386.cn/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  124. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/log/driver/File.php ( 5.96 KB )
  125. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  126. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  127. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  128. /www/wwwroot/c.15386.cn/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  129. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  130. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  131. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  132. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  133. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  134. /www/wwwroot/c.15386.cn/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  135. /www/wwwroot/c.15386.cn/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  136. /www/wwwroot/c.15386.cn/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  137. /www/wwwroot/c.15386.cn/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  138. /www/wwwroot/c.15386.cn/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  139. /www/wwwroot/c.15386.cn/runtime/temp/fd49a371ef7e8cd36bdf18e69567f9a7.php ( 8.07 KB )
  140. /www/wwwroot/c.15386.cn/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.000796s ] mysql:host=172.18.0.4;port=3306;dbname=c_15386;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.001111s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000463s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000376s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.000497s ]
  6. SELECT * FROM `set` [ RunTime:0.000289s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.000724s ]
  8. SELECT * FROM `article` WHERE `id` = 458614 LIMIT 1 [ RunTime:0.000457s ]
  9. UPDATE `article` SET `lasttime` = 1791149994 WHERE `id` = 458614 [ RunTime:0.001759s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 65 LIMIT 1 [ RunTime:0.000359s ]
  11. SELECT * FROM `article` WHERE `id` < 458614 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000500s ]
  12. SELECT * FROM `article` WHERE `id` > 458614 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000375s ]
  13. SELECT * FROM `article` WHERE `id` < 458614 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.000957s ]
  14. SELECT * FROM `article` WHERE `id` < 458614 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.001215s ]
  15. SELECT * FROM `article` WHERE `id` < 458614 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.000972s ]
0.084929s