Viewing 15 posts - 2,476 through 2,490 (of 59,086 total)
Greetings and welcome aboard.
Just to "grease you up" for asking questions, I recommend you read and understand the article at the first link in my signature line below. If you...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 16, 2022 at 7:16 pm
Thanks.
For the first time in a long time I actually have a database that needs indexing. I imported about 9 million voter records from the Pennsylvania Full Voter Export.
To...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 16, 2022 at 4:52 pm
So, what happens if someone needs a restore from the previous day 30 seconds after you drop the old backup?
It sounds to me like you need to keep both the...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 16, 2022 at 4:49 pm
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
Viewing 15 posts - 2,476 through 2,490 (of 59,086 total)