I've been running into some server problems lately, and was advised to check a number of things. One of them being looking for BAD QUERIES. How does one go about looking for these? Thanks.
Bad queries ??? That seems a very strange thing to look for as queries aren't actually stored in the database at all......
bad queries could mean sql statements that are not well designed and can cripple your database/server. for example, if you have a database table of 20,000,000 records and you perform a query: "select * from table", you will surely create serious crippling problems. in this case, you should always select only the fields that you are interested in (instead of a select *) and you should always put selection criteria (e.g. where field_1 = 20). the above is just one example... you need to relook all your sql commands to review if they will load your server too much.