• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: sqlite question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sqlite question


  • Subject: Re: sqlite question
  • From: Jim Weisbin <email@hidden>
  • Date: Sun, 19 Apr 2015 13:20:17 -0400

Axel Luttgens <email@hidden> wrote:


For example, what is the value of path_to_db (I guess it is a string beginning with « /Volumes/… »)?

Yes, a string “/Volumes/<name of the share where that db file resides>"

What are the permissions on the file path_to_db and on the enclosing folder, as seen with a « ls -al path_to_db »?

permissions on the share, when mounted on my computer remotely, are:

drwx------@  1 jim   staff

permissions on the file (again, when mounted remotely are:

-rw-r--r--  1 jim  staff

I’m the sysadmin so I can set the share however I need, as long as it is not open to “everyone"

What is the sharing protocol (AFP, SMB…)?

AFP

Could you provide rough timings for the SELECT performed on the remote database file and on a local copy of it?

local:
real 0m0.044s
user 0m0.013s
sys 0m0.015s

remote:
real 0m29.478s
user 0m0.051s
sys 0m0.123s

Is the database file the only remotely accessed item?

yes

What values are stored in column PLAYER_VIEW.FILE_NAME (file names, or file paths)?

just file names as strings


Do you only need to read data from the database (no INSERTs, UPDATEs…)?

correct. I just need a list of file names, so I can prevent users from submitting the same file again to a different folder. 

Jim Weisbin | C.T.O. | human | 138 Fifth Avenue | 3rd Floor | New York, NY | 10011 |  (212) 352-0211 |  (917) 375-2272 | Los Angeles Office | 2046 Broadway | Santa Monica, CA | 90404 |  (310) 264-0211 telephone | www.humanworldwide.com

Click here to view our online reel


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: sqlite question
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Re: Scriplting the Photos application
  • Next by Date: Re: Scripting Terminal ?
  • Previous by thread: Re: sqlite question
  • Next by thread: Re: sqlite question
  • Index(es):
    • Date
    • Thread