Что такое файловая система базы данных?

Используйте другой encode метод в URLEncoder:

URLEncoder.encode(String, String)

первый параметр является текстом для кодирования; вторым является название кодировки символов для использования (например, UTF-8). Например:

System.out.println(
  URLEncoder.encode(
    "urlParameterString",
    java.nio.charset.StandardCharsets.UTF_8.toString()
  )
);

5
задан 5 revs, 2 users 88% 14 April 2010 в 09:21
поделиться

4 ответа

Found some good links

2
ответ дан 13 December 2019 в 19:30
поделиться

Типичные файловые системы (* nix, ms-dos и т. Д.) Организуют файлы иерархически. Например,

c: \ представляет вершину иерархии. c: \ foo - следующий уровень в иерархии c: \ foo \ bar - это подузел \ foo etc..

Each file exists in one and only one location in this hierarchy.

By contrast, a database file system organizes files by metadata attributes. For example, topic, type, author, etc.. Rather than existing in one particular place in a hierarchy, the file exists in multiple "places" depending on its attributes.

The last question you ask is unanswerable.

7
ответ дан 13 December 2019 в 19:30
поделиться

It's a file system that stores files as blobs in a database, rather than in a hierarchy of directories. Imagine a web-site with no "directory-like" hierarchy in the URL - just loads of tags and categories and a big "search" field - something like that, only on your hard-drive.

Pros & cons? Ask yourself, how many database filesystems have I ever seen? Do you need to ask more?

1
ответ дан 13 December 2019 в 19:30
поделиться

It's a file system where files have significant amounts of metadata. For example, the iTunes library might count as a database file system; not only do you have files on disk and know where they are, but you have tags (genres) and other metadata like author (artist).

1
ответ дан 13 December 2019 в 19:30
поделиться
Другие вопросы по тегам:

Похожие вопросы: