Viewing 15 posts - 241 through 255 (of 2,651 total)
and I have to query the design of that process - why do you have 2 different VM's trying to delete older rows from dbo.Logs_Epass without any other criteria than...
March 25, 2024 at 1:00 pm
with few exceptions, and when number of cpu is now, maxdop should not be set to higher than half the number of cores - so one query does not hog...
March 25, 2024 at 12:03 pm
not if you need to keep part of the data on the source table - a SWITCH means all table contents gets "moved" to a new table, or 1 partition...
March 23, 2024 at 5:57 pm
Frederico,
Do you have a sample script with oracle bulkcopy that I can use in SSIS?
sample DTSX package attached.
you will also need to install Oracle Client for Microsoft tools -...
March 23, 2024 at 4:24 pm
I also download at least the latest version of the "ACE" driver/providers so that I don't need to go anywhere near SSIS just to import a spreadsheet.
https://www.microsoft.com/en-us/download/details.aspx?id=54920&irgwc=1
even with SSIS...
March 22, 2024 at 8:46 am
you can start by reading the manual - https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-date?view=powershell-7.4
and as alternative, you pass your desired date in date format to your sql, and within the sql itself you convert to...
March 22, 2024 at 12:27 am
Frederico,
Do you have a sample script with oracle bulkcopy that I can use in SSIS?
I'll see if I can find one - I know I have some outside SSIS,...
March 21, 2024 at 3:25 pm
there are commercial tools for it , and this one from MS https://www.microsoft.com/en-us/download/details.aspx?id=103016 - never used it though
March 21, 2024 at 10:26 am
regardless - check every server that is part of that AG and ensure that only the 64 bit version of the driver is installed.
use script from https://www.powershellgallery.com/packages/LegacyData/3.2.0/Content/Public%5CGet-InstalledDatabaseDriverList.ps1
can be called as
Get-InstalledDatabaseDriverList...
March 20, 2024 at 1:52 pm
this looks like a failover issue where the servers installed version isn't the same - one has a 32 bit version and the other a 64bit version.
I would check this.
March 19, 2024 at 5:49 pm
Hi All,
How important is it archiving old data ? In recent days, We saw some timeouts and blockings happening for app API calls to the database. Later, found that...
March 19, 2024 at 4:19 pm
Appreciate the replies!
The script I used most recently is this:
declare @period varchar(10) = '2024MAR'
declare @innerCommand varchar(500) = 'select * from FACT_GL_ACTUALS where TRX_PERIOD = ''''' +...
March 19, 2024 at 3:17 pm
Thanks all...
I tried using a dynamically generated openquery statement and, while it's not as fast as I was hoping, it's definitely a lot faster than before. Going to try...
March 18, 2024 at 6:33 pm
based on what you said I STRONGLY recommend that you change the process to use either a ETL tool (SSIS or plain C#- SSIS will likely be the slowest -...
March 15, 2024 at 8:36 pm
you saying that "select * from remoteoracle where a = b" is slow?
or is it when you are joining to local tables (big NO NO).
but regardless - access to remote...
March 15, 2024 at 1:24 pm
Viewing 15 posts - 241 through 255 (of 2,651 total)