![]() |
Optimizing a Query to Blog
Hi all -
On the homepage of my website (non-VB) I created links to the latest 2 blog entries. The query which finds the latest post does not seem to have a problem, but the query that grabs the second to last post seems to be sluggish. This one seems OK... Code:
SELECT * This one seems to slow things down... Code:
SELECT * Any suggestions to speed this up? Thanks! |
Why not a query to select both?
[sql]select * from vb_blog where state = 'visible' order by blogid desc limit 2;[/sql] |
Thanks! Let me give that a shot.
|
All times are GMT. The time now is 02:28 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|