среда, 13 апреля 2016 г.

вторник, 12 апреля 2016 г.

Java exersises

Arrays
  •  Specify array that has length n. Input n from command line.Fill array using random values.Find minimum value.
  •  Specify array that has length 10 and fill randomly.Sort array
  • Find number of occurrences of some number in given array of numbers. 
  • Find duplicate number in the following array{1,4,5,1,6,7,8,9,11}


вторник, 5 апреля 2016 г.

Which of SELECT, UPDATE, DELETE, performance is mostly affected by indexes?

I have found answer on this blog:

The number of indexes on a table is the most dominant factor for insert
performance. The more indexes a table has, the slower the execution becomes. The insert statement is the only operation that cannot directly benefit from indexing because it has no where clause.