What is the Big-O for SQL select?

前端 未结 3 1485
感情败类
感情败类 2020-12-24 07:13

What is the Big-O for SQL select, for a table with n rows and for which I want to return m result?

And What is the Big-O for an Updat

3条回答
  •  我在风中等你
    2020-12-24 07:51

    All depends on how (well) you write your SQL and how well your database is designed for the operation you are performing. Try to use the explain plan function to see how things will be executed by the db. The. You can calculate the big-O

提交回复
热议问题