Viewing 15 posts - 2,491 through 2,505 (of 59,098 total)
Because if you care about performance, you want to avoid IO. Calculating "next wednesday" is about 150 times faster than looking it up (using ta table) on just a...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 15, 2022 at 9:04 pm
And don't forget to make "compression" the default... especially when using a NAS.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 15, 2022 at 6:02 pm
Ok... this is the 3rd post on the same subject. One of your others provided some output, one of the others provided some input, and this one provides the code...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 15, 2022 at 4:57 pm
You'll find that very few people are going to go read the article you provided a link to. You also haven't posted the full code you're using . You've also...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 15, 2022 at 4:55 pm
I see no difference between the original data form and what you've requested. other than some column names in the desired output. We don't actually know what the column names...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 15, 2022 at 4:49 pm
Saving either the full backups or the log file backups to the same server as the database is one of the worst ideas for backups. There's no chance at restores...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 15, 2022 at 4:43 pm
thanks Both i have now sorted with calendar table.
My advice there is "Watch the Reads".
It would also be nice if you posted the code you ended up using for...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 15, 2022 at 4:32 pm
The question is asked clearly: "What is the limit for rows in a Table Valued Constructor?". The documentation states that there is a limit. So there is nothing...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 15, 2022 at 4:13 pm
Just keep in mid that, "just because you can, doesn't mean you should"... Super long value lists can really eat up compile memory and compile time.
Oh, I...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 15, 2022 at 3:59 pm
What would you recommend for learning more about indexing in Postgrsql?
Perhaps the documentation? 😉 https://www.postgresql.org/docs/current/indexes.html
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2022 at 9:46 pm
Not a clue on your last question but I'd be loath to let anything create a permanent table in TempDB. What do you suppose might happen on your next server...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2022 at 9:42 pm
- listing_id: int
- date: text
- available: text
- price: int
I was right about price but, lordy... date and available are actually the TEXT datatype? Even if they're VARCHAR() is a...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2022 at 6:49 pm
Thanks for the feedback, BOR15K.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2022 at 6:39 pm
Just keep in mid that, "just because you can, doesn't mean you should"... Super long value lists can really eat up compile memory and compile time.
Oh, I get that. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2022 at 6:32 pm
This ol' man learned something new today thanks to the replies above. Thanks, folks. Special thanks to Jason Long for posting demonstrative code to drive the point home.
So the correct...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2022 at 3:59 pm
Viewing 15 posts - 2,491 through 2,505 (of 59,098 total)