![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
XMLA gurus... we're staggering our monthly partitions across several physical disks. January goes to the D drive, February goes to the E drive, etc. When I specify a StorageLocation in the Create partition XMLA command, it doesn't give me the nice directory structure like if I were to go with the default. It puts the files at: D:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\323204EC-7F45-4874-B3FC-94428C9AF0EC.0.0.0.0 But if I had stuck with the default StorageLocation (omitted that tag) it would put the files in a nicer directory structure: C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\MyDB.0.db\MyCube.0.cub\My MeasureGroup.0.det\MyPartition_2000_01.0.prt Any suggestions for getting a similarly nice directory structure on the non-default drive? Any way using AMO to look at a partitions parent objects and figure out the correct path? Also, if I specify a StorageLocation path which uses a directory which does not yet exist, I get an error: Errors in the metadata manager. The 'D:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\MyCustomDir' storage location of the MyPartition_2000_01 partition does not exist, is too long, or contains characters that are not valid or are reserved. Any way to tell SSAS to go ahead and automatically create the directory instead of complaining? The package that builds the partitions runs on a separate SSIS server so I'd prefer not to have to remotely create directories. Thanks a million for any suggestions or tips you can pass along to the community. |
#3
| |||
| |||
|
|
Not sure why the structure of folders plays any role in your case. What is it you trying to do with it? As for Analysis Server not creating new folder for you. This is done for security reasons. Allowing AS user to create new folders on server file system allows malicious user easily bring down your server. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. "FurmanGG" <FurmanGG (AT) discussions (DOT) microsoft.com> wrote in message news:F2821BB1-7BB2-430D-B662-EAD36A55588C (AT) microsoft (DOT) com... XMLA gurus... we're staggering our monthly partitions across several physical disks. January goes to the D drive, February goes to the E drive, etc. When I specify a StorageLocation in the Create partition XMLA command, it doesn't give me the nice directory structure like if I were to go with the default. It puts the files at: D:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\323204EC-7F45-4874-B3FC-94428C9AF0EC.0.0.0.0 But if I had stuck with the default StorageLocation (omitted that tag) it would put the files in a nicer directory structure: C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\MyDB.0.db\MyCube.0.cub\My MeasureGroup.0.det\MyPartition_2000_01.0.prt Any suggestions for getting a similarly nice directory structure on the non-default drive? Any way using AMO to look at a partitions parent objects and figure out the correct path? Also, if I specify a StorageLocation path which uses a directory which does not yet exist, I get an error: Errors in the metadata manager. The 'D:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\MyCustomDir' storage location of the MyPartition_2000_01 partition does not exist, is too long, or contains characters that are not valid or are reserved. Any way to tell SSAS to go ahead and automatically create the directory instead of complaining? The package that builds the partitions runs on a separate SSIS server so I'd prefer not to have to remotely create directories. Thanks a million for any suggestions or tips you can pass along to the community. |
![]() |
| Thread Tools | |
| Display Modes | |
| |