Beruflich Dokumente
Kultur Dokumente
I hope i made u
understand the logic
2
Y
Is This Answer es
Correct ? 4 No
Re: what is the differeces between hash and modulus partition methods
Answer Hi this is Vijay
#4
Modulus
Hash
1. For numerics
1. For Numerics and
characters
2. Datatype specific
2. Not Datatype spefic
2
Is This Y
Answer es
Correct ? 0 No
Example:
LOc
---
Hyd
Hyderabad
hyde
After Cleansing
Loc
---
Hyderabad
Hyderabad
Hyderabad
1
Is This Y
Answer es
Correct ? 0 No
hyd
Hydrabad
after
hydrabad
hydrabad
data
inconsistency
10.78
10.23465
after
10.27
10.23
1
Is This Y
Answer es
Correct ? 0 No
11
Ye
Is This Answer s
Correct ? 0 No
Re: how to transfer file from one system to another system in unix?
which cmd to be use?
Answer Thrught SCP Command also we
# 2 can
Re: if we take 2 tables(like emp and dept), we use join stage and
how to improve the performance?
Answer when ever join 2 tables 0 Kiran
#1 based on key columns if the
key
column is numeric ,set
modulus,if the key column is
non
numeric set hash partition
technique.and compare to
look up
join give better
performance coz join has
sort operation
by default.
Is This Answer 7
Correct ? Ye 1 No
s
Re: if we take 2 tables(like emp and dept), we use join stage and
how to improve the performance?
Answer above answer has one mistake
#2 i.e join doesn't has sort
operation bydefault we
explicitly
specify
Re: How to transfer file from one system to another system in UNIX?
which command to be use?
Answer BY USING "FTP COMMAND" WE CAN
#1 CHANGE D FILES ONE SYSTEM TO
ANOTHER SYSTEM.
3
Ye
Is This Answer s
Correct ? 0 No
_________
Transformer derivation
Re: hi this is kiran i have one table i want divide the table with two different
table like even rows and odd rows how can i do this one tell me plzz
Answer oracle stage--->surrogate key generator---
# 1 >transformer
the t/f having 'mod' function
3
Ye
Is This Answer s
Correct ? 0 No
Re: col1 123 abc 234 def jkl 768 opq 567 789 but i want two targetss
target1 contains only numeric values and target2 contains only alphabet
values like trg1 123 234 768 567 789 trg2 abc def jkl opq
Answer this is not working plz explain
# 2 clearly
Re: what is the use of surogate key in datastage
3
Ye
Is This Answer
s
Correct ? 0 No
Re: hi, how would i run job1 then job 3 , then job2 in a sequence
of job1 ,job2,job3. Thanks sunitha
Answ Hi
er
U can run the job1 then job3 by two methods by
# 4 using trigger
conditional or by nested condition activity.
What is ODS?
Ans: ODS stands for Online Data Storage.
What is the need of surrogate key;why primary key not used as surrogate key?
Ans: Surrogate Key is an artificial identifier for an entity. In surrogate key values are generated by the
system sequentially(Like Identity property in SQL Server and Sequence in Oracle). They do not describe
anything. Primary Key is a natural identifier for an entity. In Primary keys all the values are entered
manually by the user which are uniquely identified. There will be no repetition of data
What is the utility you use to schedule the jobs on a UNIX server other than using Ascential
Director?
Ans: Use crontab utility along with d***ecute() function along with proper parameters passed.
What are OConv () and Iconv () functions and where are they used?
Ans: IConv() - Converts a string to an internal storage formatOConv() - Converts an expression to an
output format.
What is Normalization, First Normal Form, Second Normal Form , Third Normal Form?
Ans: Normalization can be defined as segregating of table into two different tables, so as to avoid
duplication of values.
What are other Performance tunings you have done in your last project to increase the
performance of slowly running jobs?
Ans: 1. Staged the data coming from ODBC/OCI/DB2UDB stages or any database on the server using
Hash/Sequential files for optimum performance also for data recovery in case job aborts.
2. Tuned the OCI stage for 'Array Size' and 'Rows per Transaction' numerical values for faster inserts,
updates and selects.
3. Tuned the 'Project Tunables' in Administrator for better performance.
4. Used sorted data for Aggregator.
5. Sorted the data as much as possible in DB and reduced the use of DS-Sort for better performance of
jobs
6. Removed the data not used from the source as early as possible in the job.
7. Worked with DB-admin to create appropriate Indexes on tables for better performance of DS queries
8. Converted some of the complex joins/business in DS to Stored Procedures on DS for faster execution
of the jobs.
9. If an input file has an excessive number of rows and can be split-up then use standard logic to run jobs
in parallel.
10. Before writing a routine or a transform, make sure that there is not the functionality required in one of
the standard routines supplied in the sdk or ds utilities categories.
Constraints are generally CPU intensive and take a significant amount of time to process. This may be
the case if the constraint calls routines or
external macros but if it is inline code then the overhead will be minimal.
Try to have the constraints in the 'Selection' criteria of the jobs itself. This will eliminate the unnecessary
records even getting in before joins
are made.
12. Tuning should occur on a job-by-job basis.
13. Use the power of DBMS.
14. Try not to use a sort stage when you can use an ORDER BY clause in the database.
15. Using a constraint to filter a record set is much slower than performing a SELECT … WHERE….
16. Make every attempt to use the bulk loader for your particular database. Bulk loaders are generally
faster than using ODBC or OLE.
Related