Viewing 15 posts - 1,006 through 1,020 (of 6,676 total)
What I'd say about the backup approach is that it is better, but if you are changing this set of schema/data often, then this can be a pain point...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 14, 2021 at 8:24 pm
Shifting gears a bit, this is one of the many reasons why I'll make a call-to-arms when people say things like "Comments are not required... just read the code". ...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 14, 2021 at 8:16 pm
Also check the settings for the agent - the default doesn't keep a lot of data and just one job scheduled to run every few seconds can cause all other...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 14, 2021 at 7:35 pm
If your deployment requires data to exist as well as just the schema - then a base database as a backup file probably is easier to deploy. Restore the database...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 14, 2021 at 7:33 pm
What is the reason you are concerned about those logical reads? What issue are you trying to resolve - or is this just educational?
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 14, 2021 at 6:57 pm
I doubt it has anything to do with user database transaction logs - and 400 VLF files on a 188GB transaction log isn't too many. Unless my math is wrong...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 14, 2021 at 6:53 pm
As I stated before - there is something preventing the redo queue on the secondary from performing as expected. It could be blocked by other processes running or there is...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 14, 2021 at 4:58 pm
If all you need to know is when the data changed - then adding a modified date column and possible a created date column (if you want to know when...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 14, 2021 at 4:42 pm
Where are you seeing logical reads? How are you inserting data into the table?
If you are using a query - then that query must read the data, therefore you are...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 14, 2021 at 4:33 pm
As it's written, it returns either a NULL or and empty string. I think someone forgot to complete the 2nd operand of the substring, which should probably equate to...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 14, 2021 at 4:21 pm
Well - this code is going to do something a bit different than what Steve outlined, depending on the actual data in the PortionKey column. If there are leading blanks...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 12, 2021 at 4:25 pm
When do you see the redo queue size growing - and does it ever catch up? When you have large transactions - such as index rebuilds - the amount of...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 12, 2021 at 4:01 pm
Jeff, one of the best things I ever heard about comments is this:
Comments don't exist to describe what the code is doing. They exist to describe what...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 11, 2021 at 9:52 pm
Is there a reason you have 2 queries - both look to be updating the same table and updating all rows in that table. Could be done using a single...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 11, 2021 at 7:18 pm
Okay - here is something for you to review:
Declare @xref Table (base_equip_address int, office_app_address int, x_pbase int, region int, port int, poll int);
Insert Into @xref (base_equip_address,...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 11, 2021 at 6:18 pm
Viewing 15 posts - 1,006 through 1,020 (of 6,676 total)