SAS中文论坛

 找回密码
 立即注册

扫一扫,访问微社区

查看: 10032|回复: 4
打印 上一主题 下一主题

SAS advance exam question 3: Space required to run PROC SORT

[复制链接]

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
楼主
 楼主| 发表于 2010-6-9 03:57:33 | 只看该作者

SAS advance exam question 3: Space required to run PROC SORT

A quick rule of thumb for the space required to run PROC SORT is:
A. two times the size of the SAS data set being sorted.
B. three times the size of the SAS data set being sorted.
C. four times the size of the SAS data set being sorted.
D. five times the size of the SAS data set being sorted

I am not sure which one is correct. Would you please kindly explain the reason? Whick chapters of the SAS book, The SAS Certification Prep Guide: Advanced Programming for SAS 9, should I read to get this knowledge? Thanks in advance.

^_^
回复 支持 反对

使用道具 举报

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
沙发
 楼主| 发表于 2010-6-9 04:30:03 | 只看该作者

Re: SAS advance exam question 3: Space required to run PROC

Multi-threaded processing for PROC SORT will effect which of these system resources?
A.
CPU time will decrease,
wall clock time will decrease

B.
CPU time will increase,
wall clock time will decrease

C.
CPU time will decrease,
wall clock time will increase

D.
CPU time will increase,
wall clock time will increase
回复 支持 反对

使用道具 举报

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
板凳
 楼主| 发表于 2010-6-9 13:44:05 | 只看该作者

Re: SAS advance exam question 3: Space required to run PROC

[quote:37efa4y8]The multiplier 4 applies only to utility files used in releases prior to SAS 9, when PROC SORT needs to use disk space in order to sort the data. For in-memory sorting and sorting with SAS 9 and later, the multiplier is 2 or less.[/quote:37efa4y8]

[quote:37efa4y8]Threaded processing takes advantage of multiple CPUs by executing multiple threads in parallel (parallel processing). Threaded procedures are completed in less real time than if each task were handled sequentially, although the CPU time is generally increased.  
When a threaded sort is used, the observations in the input data set are divided into equal temporary subsets, based on how many processors are allocated to the SORT procedure. Each subset is then sorted on a different processor. The sorted subsets are then interleaved to recreate the sorted version of the input data set.[/quote:37efa4y8]
回复 支持 反对

使用道具 举报

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
地板
 楼主| 发表于 2010-6-9 16:37:53 | 只看该作者

Re: SAS advance exam question 3: Space required to run PROC

It is a good idea to read the Prep Guide seriously.
回复 支持 反对

使用道具 举报

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
5#
 楼主| 发表于 2010-6-10 21:19:39 | 只看该作者

Re: SAS advance exam question 3: Space required to run PROC

Thanks millions!

^_^
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|手机版|Archiver|SAS中文论坛  

GMT+8, 2026-2-4 06:41 , Processed in 0.066437 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表