You want to be sure that queries in a database always execute at the maximum possible speed. To achieve this goal you have created various indexes on tables which other statement will keep the database in good condition?
Answer / Brahma Swaroop Sharma
To maintain a database in good condition and ensure optimal performance, regular maintenance tasks are crucial. One such task is reorganizing indexes using the DBCC INDEXDEFRAG command or ALTER INDEX REORGANIZE statement. This operation defragments the leaf level pages of the index, making them more compact and reducing fragmentation, thereby improving query performance.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the different types of joins and what does each do?
Why Master database is required?
Explain the storage models of OLAP?
What are different replication agents and what's their purpose? : sql server replication
Write the SQL query to drop, truncate and delete table.
1 Answers HPCL, Hughes Systique Corporation, Ittiam Systems,
How to add additional conditions in SQL?
How to maintain a fill factor in existing indexes?
When would you prefer to have a minimum number of indexes?
What is the difference between set and select?
here id col have primary key and identity id name 1 a 2 b 3 c 4 d delete 2nd row then o/p will be id name 1 a 3 c 4 d next inssert 2nd row and i want o/p will be id name 1 a 2 e 3 c 4 d
What is scd (slowly changing dimension)? : sql server analysis services, ssas
Can binary strings be used in arithmetical operations?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)