![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a Parent package which call different child packages.I have schaduled the Parent package to be executed evey 3 minutes and I'm using a Table in which I insert the name of the child package which is working and when it is done I delete the row,by this mechanism I control not 2 child packages get executed at the same time(Because they do transactional things on their own table, and I won;t tend to be stuck in deadlocks). Problem is that I am expecting that two different child packages could be executed at the same time but for some reason when Parent package call one child package and it takes more than 3 minutes,none of the other packages run.There is no any other instance of Parent package running. When I schadule something ,it is supposed to be run at an specific interval right? Thanks |
#3
| |||
| |||
|
|
The same job cannot be run more than once at the same time. What a pitty,I thought it could be.Now the only option I have is that I can |
|
The same job cannot be run more than once at the same time. A way to control child package exeution would be to link them through workflow wouldn't it? -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - You thought DTS was good. here we show you the new stuff. www.konesans.com - Consultancy from the people who know "J-T" <J-T (AT) nospam (DOT) com> wrote in message news:ulaKIj4cFHA.412 (AT) tk2msftngp13 (DOT) phx.gbl... I have a Parent package which call different child packages.I have schaduled the Parent package to be executed evey 3 minutes and I'm using a Table in which I insert the name of the child package which is working and when it is done I delete the row,by this mechanism I control not 2 child packages get executed at the same time(Because they do transactional things on their own table, and I won;t tend to be stuck in deadlocks). Problem is that I am expecting that two different child packages could be executed at the same time but for some reason when Parent package call one child package and it takes more than 3 minutes,none of the other packages run.There is no any other instance of Parent package running. When I schadule something ,it is supposed to be run at an specific interval right? Thanks |
#4
| |||
| |||
|
|
Hi Allan, My parent package is a separte package than the child packages.I load the package based on the CSV file which is recieved in Parent package,then in an Activex script I load the appropriate package. The same job cannot be run more than once at the same time. What a pitty,I thought it could be.Now the only option I have is that I can create two or three jobs of my Parent Package,can I? My only concern is that child packages logging the validation errors in one Table (That table is shared between all the child packages).Will I be stuck in dead lucks or something? I insert the log records by calling a stored procedure (no transaction involved) in child packages(there is a Execute SQL Task in each child package which referes to that stored procedure). Thanks for your help Allan (as always:-)) Cheers, "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message news:OXTVqP$cFHA.3488 (AT) tk2msftngp13 (DOT) phx.gbl... The same job cannot be run more than once at the same time. A way to control child package exeution would be to link them through workflow wouldn't it? -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - You thought DTS was good. here we show you the new stuff. www.konesans.com - Consultancy from the people who know "J-T" <J-T (AT) nospam (DOT) com> wrote in message news:ulaKIj4cFHA.412 (AT) tk2msftngp13 (DOT) phx.gbl... I have a Parent package which call different child packages.I have schaduled the Parent package to be executed evey 3 minutes and I'm using a Table in which I insert the name of the child package which is working and when it is done I delete the row,by this mechanism I control not 2 child packages get executed at the same time(Because they do transactional things on their own table, and I won;t tend to be stuck in deadlocks). Problem is that I am expecting that two different child packages could be executed at the same time but for some reason when Parent package call one child package and it takes more than 3 minutes,none of the other packages run.There is no any other instance of Parent package running. When I schadule something ,it is supposed to be run at an specific interval right? Thanks |
#5
| |||
| |||
|
|
I am not sure how you do the check here I have information about each file in database ,and based on that |
|
The same package cn be called at the same time multiple times. OK so what I think you are trying to do is this Fire a DTS package every 3 minutes (Parent) In the parent package you check a csv file. Based on the CSV file you call a package(Child) I am not sure how you do the check here. Would it be possible for you to fire the package based on an event? The file being dropped? -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - You thought DTS was good. here we show you the new stuff. www.konesans.com - Consultancy from the people who know "J-T" <J-T (AT) nospam (DOT) com> wrote in message news:e5OWyMHdFHA.3616 (AT) TK2MSFTNGP09 (DOT) phx.gbl... Hi Allan, My parent package is a separte package than the child packages.I load the package based on the CSV file which is recieved in Parent package,then in an Activex script I load the appropriate package. The same job cannot be run more than once at the same time. What a pitty,I thought it could be.Now the only option I have is that I can create two or three jobs of my Parent Package,can I? My only concern is that child packages logging the validation errors in one Table (That table is shared between all the child packages).Will I be stuck in dead lucks or something? I insert the log records by calling a stored procedure (no transaction involved) in child packages(there is a Execute SQL Task in each child package which referes to that stored procedure). Thanks for your help Allan (as always:-)) Cheers, "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message news:OXTVqP$cFHA.3488 (AT) tk2msftngp13 (DOT) phx.gbl... The same job cannot be run more than once at the same time. A way to control child package exeution would be to link them through workflow wouldn't it? -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - You thought DTS was good. here we show you the new stuff. www.konesans.com - Consultancy from the people who know "J-T" <J-T (AT) nospam (DOT) com> wrote in message news:ulaKIj4cFHA.412 (AT) tk2msftngp13 (DOT) phx.gbl... I have a Parent package which call different child packages.I have schaduled the Parent package to be executed evey 3 minutes and I'm using a Table in which I insert the name of the child package which is working and when it is done I delete the row,by this mechanism I control not 2 child packages get executed at the same time(Because they do transactional things on their own table, and I won;t tend to be stuck in deadlocks). Problem is that I am expecting that two different child packages could be executed at the same time but for some reason when Parent package call one child package and it takes more than 3 minutes,none of the other packages run.There is no any other instance of Parent package running. When I schadule something ,it is supposed to be run at an specific interval right? Thanks |
![]() |
| Thread Tools | |
| Display Modes | |
| |